[OSM-dev] Finding closet node for PyrouteLib?

Tareq Ismail hellotheretareq at gmail.com
Wed Feb 10 21:30:27 GMT 2010

Hello all!

I'm new to OSM and am glad to be a part of the community! I posted the
following question on the newbies thread and was told to post it here

I have an application that has many addresses that I have geocoded. I am
trying to use Pyroutelib (see here:
http://wiki.openstreetmap.org/wiki/PyrouteLib) to find routing distances
from one address to another. It seems that the library does not accept
lat/lon (from the addresses I geocoded) as an input and only does node to
node routing. I thought I should then try to find the closet node to my
lat/lon position for my address, then send that node in to Pyroutelib for

Any suggestions as to how to do this? Is there something simple that I
haven't thought of?
Thanks all!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100210/3fa16c1c/attachment.html>

More information about the dev mailing list