I need a few thousands of street distances between cities in germany. I know that there are a few web APIs where I get the distance thru a REST request, but I wonder if I can do that locally on my Linux PC. I saw the OSRM project and libosrm seems to do what I want. Are there any other tools doing that? What do I have to download and what do I have to install? (I prefer to program in python)

closed as too broad by aldo_tapia, BERA, whyzar, Erica, HDunn Nov 29 '17 at 19:06

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


Set up a local instance of one of the OSM-based routers, e.g. GraphHopper or OSRM. Then just use their APIs. There should be python-bindings for the most popular routers available.

Not the answer you're looking for? Browse other questions tagged or ask your own question.