Welcome to MapForums!

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

## How to calculate distance and drive time between 2 points ?

This is a discussion on How to calculate distance and drive time between 2 points ? within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi , I want to calculate distance and drive time between two points , does anybody know if there are ...

1. Junior Member White Belt
Join Date
Oct 2007
Posts
11

## How to calculate distance and drive time between 2 points ?

Hi , I want to calculate distance and drive time between two points , does anybody know if there are a way to do that without using Calculate method ?

Thanks.

2. ## Re: How to calculate distance and drive time between 2 points ?

No

You have to calculate the route.

Richard

3. Member Yellow Belt
Join Date
Oct 2007
Posts
42

## 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

4. Junior Member Yellow Belt
Join Date
Nov 2007
Posts
20

## Re: How to calculate distance and drive time between 2 points ?

I don't know exactly how to calculate the distance of 2 points but I know some sotware and scripts off the internet I found. Here is one setup by a English breakdown service. Only thing is it calculates distances and times in England. SorryRoute Planner (GB) : Maps and directions - The AA

Hope this helps you in a way!

Jting

P.S: Try a satnav!!!
Last edited by jting69; 12-07-2007 at 01:22 PM. Reason: To help more

5. ## Re: How to calculate distance and drive time between 2 points ?

John: Woe-betide someone who tries that formula in Scotland
(or some of the western US States)

A formula like that might work for a city with a regular or semi-regular road system, but would quickly break down if there's a natural barrier (eg. a river).

Richard

There are currently 1 users browsing this thread. (0 members and 1 guests)

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•