Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating Distance Between 2 Zip Codes
Message
De
29/09/2000 01:25:09
 
 
À
28/09/2000 23:39:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00422168
Message ID:
00422438
Vues:
19
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform