select_nonintersecting_lines {rcrisp} | R Documentation |
Select non-intersecting line segments
Description
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.
Usage
select_nonintersecting_lines(lines, corridor)
Arguments
lines |
Candidate edge segment as a simple feature geometry |
corridor |
The river corridor as a simple feature geometry |
Value
A set of lines that do not intersect within the corridor geometry, as a simple feature geometry
[Package rcrisp version 0.1.4 Index]