That is a very broad question ! I suppose you want the shortest
distance on the road network ;)

If you want just the distance, there are several webs tools:
http://maps.cloudmade.com/
http://openrouteservice.org/
http://www.yournavigation.org/

Plus others I don't have in mind right now.

If you want to compute it on your own, then first you need to extract
the data from the .osm files into something suited for routing. I did
a small tool that you might use
http://github.com/Tristramg/osm4routing

Then you need to look at shortest path algorithms. If performance is
not a real issue (a few seconds at most), then you can go for a plain
dijkstra. Otherwise you'll have to look at some more efficient
approaches.

On Sat, Feb 20, 2010 at 12:16 PM, Mohamed Selim
<[email protected]> wrote:
> I need to know how to calculate the distance between the nodes in meters or
> kilometers.
> How can i do that in openstreetmap?
> Thanks
> Regards,
> Mohamed Selim
> Engineering Student
> _______________________________________________
> Routing mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/routing
>
>

_______________________________________________
Routing mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/routing

Reply via email to