Avoid_polygons for Matrix API

I would like set some avoid_polygons for matrix, but there no option like direction API. Is there any way to do make the avoid polygons work when caculation distance matirx.

Hi, there is no such option at this time.
In case you’re a developer, check this: Support Avoid Areas for Matrix Requests by Nakaner · Pull Request #801 · GIScience/openrouteservice · GitHub It is untested though and not implemented, you would need to configure this yourself.

1 Like

Thanks a lot.