Jump to content

how to script radius around a zip code or GPS?


This topic is 7622 days old. Please don't post here. Open a new topic instead.

Recommended Posts

hello- i would like to find a formula to determine all the zip codes in a radius. i have a database of zip codes and their GPS (lat/long) .

i have these fields

'zipcode',

latitude,

longitude',

zipcodesinRadius,

RadiusMiles

just trying to find out how this is done

Thanks

Dave

Link to comment
Share on other sites

The formula for the distance between points was given in another thread. To find all the zip codes within a certain distance from some central location, you will have to calculate all of the distances between the central location, and each of the zip code locations. Any zip code that has a distance less than or equal to the maximum allowable radius will be in the group.

Link to comment
Share on other sites

This topic is 7622 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.