[OSM-newbies] Distance between two nodes

Fabrizio Carrai fabrizio.carrai at gmail.com
Mon May 4 12:30:49 BST 2009


Have a look at http://jan.ucc.nau.edu/~cvm/latlongdist.htmlThere is also the
code of the simple calculation you need.
Of course, this is valid for a way linking two nodes. If the distance you
want to measure is made of several elementar ways, you have to sum of all
the lengths.

Hope this is what you asked for.

Fabrizio

2009/5/4 Peter Childs <pchilds at bcs.org>

> I'm probably being completely stupid, But....
>
> How do I find the distance between two nodes or indeed the length of a
> way. Ideally in miles or km.
>
> Sounds simple but I can't find a simple answer, and the ones I can
> find don't seam to come up with the right answer.....
>
> Thanks in advance
>
> Peter.
>
> _______________________________________________
> newbies mailing list
> newbies at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/newbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/newbies/attachments/20090504/c35415e5/attachment.html>


More information about the newbies mailing list