Is it possible to get GraphHopper response in OSRM response format?

I wanted to know is there any option provided to change the default format of GraphHopper response?
Like changing it into the format of OSRM response. The benefit of this is the integration comes with this among other services.

No, nothing like this is implemented. Such format conversions can easily be added by using a proxy, some extra client-code, or modifying the GH source though.

1 Like

You can have a look into the /navigate endpoint. Although this is supposed to work with the Mapbox endpoint I think it is not too far away from OSRM format (Although it was not 100% identical, I think. I do not remember the details anymore.)

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.