From OpenStreetMap Wiki
Jump to: navigation, search

A command-line/library version of pyroute, which uses a Tile data server and pyrender-style cache directory to load tiles of map data on-demand as the possible routes venture into new areas


Source code:

Installing goes very simple on Linux run the command

 svn co

An alternative repository which supports Python 3 and the new v0.6 API (using osmapi package) can be found at Install using:

 git clone


See the test suite at the end of for sample usage in python

To create a GPX route, run:

$ python 
Usage: lat1 lon1 lat2 lon2 transport

Transport can be found in (car, cat, foot, horse, cycle)