Exclude a polygon from routing


am I right that there is no feature where you can create a polygon or bounding box and the routing api will calculate a route where the route is calculated around the polygon or have I overlooked that feature?



Hi @NicolasT,

you can do this by using the options parameter and setting the avoid_polygons,
see e.g. Replicate and edit MultiPolygon
or https://github.com/GIScience/openrouteservice-docs#examples
The polygon needs to be in geojson format.

best regards,