Segments are defined as corridor subregions separated by river-crossing transversal lines that form continuous strokes in the network.
Arguments
- corridor
The river corridor as a simple feature geometry
- network
The spatial network to be used for the segmentation
- river_centerline
The river centerline as a simple feature geometry
- angle_threshold
Only consider angles above this threshold (in degrees) to form continuous strokes in the network. See
rcoins::stroke()
for more details.