select_nonintersecting_lines | R Documentation |
Recursively drop intersecting lines, starting from the line that form most intersections with other geometries. When multilple lines form the same number of intersections with other geometries, the longest line is discarded first. Note that lines are allowed to intersect on the corridor boundary.
select_nonintersecting_lines(lines, corridor)
lines |
Candidate edge segment as a simple feature geometry |
corridor |
The river corridor as a simple feature geometry |
A set of lines that do not intersect within the corridor geometry, as a simple feature geometry
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.