Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Distance Between Two Cities
Message
From
31/08/2006 16:26:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
01149128
Message ID:
01150220
Views:
39
>Hi, Jim, and thanks for the reply.
>
>>How are they shipping, by commercial carrier or some other means? If commercial
>>carrier, you should be able to get zone definitions and rates from them that will
>>tie into zip codes.
>
>Commercial trucking companies, with various rates depending on the
>type of truck used. Currently, the guys in the shipping deparment
>are going on-line and looking up the driving distance on google maps
>(or some other site..Shrug), and then they're inserting that value
>into the local VFP database associated with the app. So, the app
>looks to see if the distance already exists, and if it does, then
>it displays the value on screen. If not, then the end user has to
>go to the web and get the value.

You may try to calculate the ratio between the geometric (or rather, geodesic) distance with the actual road distance for those routes you already have, and see how does that ratio distribute geographically. I assume it'd be lower for flatlands and worse for mountains, but without comparing the actual data can't know how much.

You may come up with a better guesstimate for the next time. Actually the system would learn as it goes.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform