Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calculating Distance Between 2 Zip Codes
Message
From
29/09/2000 01:25:09
 
 
To
28/09/2000 23:39:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00422168
Message ID:
00422438
Views:
24
>If I'm not wrong, SOME ZIP codes can be quite large (since a ZIP code (the 5 digit kind anyway) is actually equal to a postal station). Wouldn't that make the possible error factor pretty high?
>
>If a Montana ZIP code is 50 miles by 50 miles and you're calculating the distance to an Alaska ZIP code which is also 50 miles by 50 miles -- how do you decide which distance to use? It COULD be from the farthest Northwest corner of Alaska to the farthest southwest corner of the Montana ZIP.
>
>That could be a range of 200 miles, right?
>
>
>>Does anyone have a code snippet for calculating the distance between 2 US zip codes in miles?
>>
>>David

Yeah, but the Post Office building is still only a small thing. That's what they use (I *believe* so, anyways) for the Lat/Long coordinates.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform