0

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)

2

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.