Matrix avoid tolls

What parameter i should pass to avoid tolls?
I can’t find anything in documentation here:
https://openrouteservice.org/dev/#/api-docs/v2/matrix/{profile}/post

Hey,

currently, the matrix endpoint does not support the same dynamic arguments as the directions endpoint.
There is an open issue discussing integration of existing code into the public API.

Best regards

1 Like

Can you point me on docs where i can avoid tolls in simple " /v2/directions" request?

Hey,

find it here when clicking on the :pencil2: next to options and then on the arrow next to avoid_features.
There you should find tollways.
It’s a bit hidden and should look like "options":{"avoid_features":["tollways"]} in the final request :slight_smile:

Best regards

3 Likes

thanks dude =)

1 Like