openrouteservice
openrouteservice copied to clipboard
Fix snapping nearby boundary of avoid polygons
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