General information
Title:
RE: Zip Code Proximity Algorithm
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only