Trying to return osmid (way_id) with the route

When I try to return the osmids for a route I get:

{“code”: 4, “message”: “Extra info requested but not available: osmid”}

According to the docs this is only enabled for wheelchair routes. Wondering if it’s possible to turn this on for driving-car, or what the reasoning is for only having it for wheelchair?

Thanks for reaching out! :heart:

Indeed, the the ORS public API is configured to provide OSM IDs only for the wheelchair profile, as summarized in the table. However, if you are running you own ORS instance, you can configure it according to your needs, see ors.engine.profiles.<PROFILE-NAME>.build | openrouteservice backend documentation.

Cheers,
Andrzej

1 Like