openrouteservice icon indicating copy to clipboard operation
openrouteservice copied to clipboard

Fix snapping nearby boundary of avoid polygons

Open sfendrich opened this issue 11 months ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Problem description

Nearby the boundary of an avoid polygon the start or end point of a route request may snap to a wrong edge. This happens, when the polygon intersects the edge, to which the start point should snap, because this removes the whole edge. The points then snap to different nearby edges, which lead to wrong results.

Proposed solution

Introduce virtual points when snapping with avoid areas.

Additional context

No response

Forum Topic Link

No response

sfendrich avatar Mar 06 '24 11:03 sfendrich