I am using the OSRM 'match' service to snap GPS coordinates to the road network. I want to use the 'foot' profile, however, the OSRM server insists on providing me with car routing.

I send this request to the demo server:


The returned polyline geometry is shown to the following image:

Instead of just connecting the left to the right point, it makes a whole route, as a car would do.

Also, whatever I type in the request url (car, foot, or whatever, it returns the same exact route). Is this a problem with OSRM server or I miss something?

1 Answer 1


The Project OSRM demo server only provides car directions.

If you want walking directions, you can either use a third-party hosted service (such as that provided by Mapbox, who develop OSRM), or run your own server with the OSRM software and OpenStreetMap data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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