Skip to content

Frequently Asked Questions

Richard Fairhurst edited this page Dec 17, 2020 · 3 revisions

OSRM is routing to the wrong places, or the edge of the map - why?

OSRM coordinate order is longitude,latitude - not latitude,longitude. Check your coordinates are in the correct order.

Why are my routes/times different from the project-osrm.org demo server?

The demo server uses different profiles (weightings) to the default osrm-backend ones. You can find out more about the demo server setup at https://routing.openstreetmap.de/about.html.

I've changed "driving" to "walking" in the URL. Why don't the routes change?

This part of the URL doesn't do anything, it's just a placeholder. You can change it to "frogs" and the results will still be the same. If you want walking/cycling directions, you need to prepare data using the walking/cycling profiles and then run a separate instance of osrm-routed (or a Node-based server).

Why doesn't OSRM route over certain roads?

OSRM will by default avoid roads marked as proposed or under construction. Sometimes these tags are accidentally left on ways by OSM mappers. Check the tags on the way.

Clone this wiki locally