Search code examples
osrm

Does OSRM acutally provide pubic http API for bikes?


I want to use OSRM http api. In particular, I want to use the "route" service, with the "bike" profile.

However, when requesting https://router.project-osrm.org/route/v1/bike/48.4292,-3.8013;48.2539,-2.9004, I get a "Not found" response.

I tried the same request, with "driving" profile. I does work. https://router.project-osrm.org/route/v1/driving/48.4292,-3.8013;48.2539,-2.9004

I can't find what is wrong in my request. I'm wondering if OSRM actually provides a http service for the "bike" profile.


Solution

  • Looks like the the front-facing OSRM instance only has "car" implemented:

    https://github.com/ropensci/stplanr/issues/246#issuecomment-378281881