# Compute Shortest Distance(s) between two points

I am using Mapinfo 11. I want user to be able to find shortest route between two points so that user can travel from point A to point B using these path. Any Idea how to achieve this?

Edit: I need to be able to do this with the Bing Hybrid Map.

-
pls give some detail, Do you use MapInfo® Routing J Server thing or only mapinfo? – Aragon May 11 '12 at 7:54
@Aragon we use only mapinfo. do we need additional resources? – kinkajou May 11 '12 at 8:07
I have tool for route calculation in mapinfo which shows the route b/w two location, that is mapbasic program if u are interested than gives me ur requirement in detail like which kind of input u provide for route calculation. – user7616 May 18 '12 at 8:34

calculating the shortest distance , there is a logic behind it.

When we ask the bing or google service to give a shortest distance betwen point A to point B , it gives us the route which is drivable , if there a one way from B to A which is short , it wont give that route.

So how you have to proceed it

1. Calculate the route and distance from Point A to B
2. Calculate the route and distance from Point B to A.

take the Route which has shortest distance.

-

you can use Distance Calculator which located in Tool Manager, but if you are interested professional tool, i advice you MapInfo® Routing J Server.

For Distance Calculater :

``````Tools > Tool Manager > Distance Calculator
``````

Description of tool:

This program calculates the distance form all the objects in one table to all objects in a second table or itself. It then returns the closest or farthest distance(s).

and you can also try RouteWare RouteFinder for MapInfo tool here...

i hope it helps you...

-
Distance Calculator does not work with bing hybrid map I need to calculate distance in this map and highlight the path – kinkajou May 11 '12 at 9:06
Bing Map is just a "stupid" background raster. You can't use it for any calculations (route or anything else). Which area of the world is it you are working in? – Uffe Kousgaard May 12 '12 at 7:30
@UffeKousgaard I am working with south asia - Nepal – kinkajou May 18 '12 at 10:37
You need a different source of data, such as OpenStreetMap for your routing. If you translate it into TAB format, then you can use RouteFinder as suggested for the routing. – Uffe Kousgaard May 19 '12 at 7:56

apparently there is a tool that allows you to do that in mapinfo