[Routing] Help With Pyroutelib2

nabajeet barman h2o.is.water at gmail.com
Fri Jan 31 13:00:21 UTC 2014


Hello Everyone,

I am kind of stuck with pyroutelib2/pyroute. I have a list of nodes of
highways== motorway and I was trying to use the pyroutelib to find route
between two nodes but without success.
I tried using pyroute.py , route.py but without success.
I did the following : python pyroute.py map.osm node_id1 node_id2

1)
python pyroute.py map.osm node_id1 node_id2
i am getting error key_Error

2)
python route.py map.osm node_id1 node_id2
i am getting error : Loaded 0 nodes


map.osm is downloaded from openstreetmap and node_id1 , node_id2 are random
nodes i got after reading map.osm (only for highways= motorways)

kindly let me know the correct way to use pyroutelib
i am very new to this and hence any help will be appreciated

cheers!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/routing/attachments/20140131/216e3cc9/attachment.html>


More information about the Routing mailing list