Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RE: Zip Code Proximity Algorithm
Message
From
18/11/1997 14:15:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
RE: Zip Code Proximity Algorithm
Miscellaneous
Thread ID:
00060999
Message ID:
00060999
Views:
76
Found the algorithm I was looking for. If you can get the Zip+Lat+Long data into a table, you should be able to use this code.

lnLat = zip.lat
lnLng = zip.lng
lnMiles = (69.1*SQRT((lnLat-lnZiplat)^2+0.59*(lnLng-lnZipLng)^2))
Reply
Map
View

Click here to load this message in the networking platform