View Single Post

  #3 (permalink)  
Old 12-07-2007
John.Sewell John.Sewell is offline
Junior Member
Yellow Belt
 
Join Date: Oct 2007
Posts: 23
Re: How to calculate distance and drive time between 2 points ?

If you want a true distance you will have to calculate the route. However if you want an approximation you could use the straightline distance

for instance, JDist = gobjMap.Distance(StartLocation, EndLocation)

and then maybe generate an approximation of drive distance using a "wiggle factor". A factor of 1.2 is pretty reliable in West Europe and 1.35 in Central Europe (I don't know why!).

... but this will not allow you to create a journey time
Reply With Quote