Talk:PyrouteLib
From OpenStreetMap Wiki
I'd like to put more detailed instructions somewhere for beginners (like me). Should they go on this page?
Here is step-by-step what I've done:
wget http://planet.king-nerd.com/USA/20080229/Washington-20080229.osm.bz2 bunzip Washington-20080229.osm.bz2 svn checkout http://svn.openstreetmap.org/applications/routing/pyroute/ cd pyroute python pyroute.py ../data/Washington-20080229.osm 21505268 26608779
This ate all my memory and then I killed it.
--Abie 16:54, 8 July 2008 (UTC)
- TBH, I'd suggest trying something like:
- python routeAsGpx.py [lat1] [lon1] [lat2] [lon2] [car|cycle|foot]
- that will download data as required, and should be faster and use less memory. If you then need to download data for a large area, write a script based on the URLs and filenames in tiledata.py Ojw 17:26, 8 July 2008 (UTC)