Avoid points when routing


I am trying to get routes avoiding several points (just points, not areas), but I am new with Java and OpenRoute and don´t know how to do it.

I see there is an option (avoid_polygons), but I don´t know hot to give it values.

Thank you!

Hi @marpeja,

The easiest way would be to generate little triangular polygons around your “points”.
I guess you are referring to nodes on the graph/street network?

How: Replicate and edit MultiPolygon

Best regards