Skip to contents

Recursively merge the candidate segments provided ("blocks"), until they all intersect the river centerline and both sides of the corridor.

Usage

refine_segments(blocks, river_centerline, corridor)

Arguments

blocks

Candidate segments as a simple feature geometry

river_centerline

The river centerline as a simple feature geometry

corridor

The river corridor as a simple feature geometry

Value

Refined corridor segments as a simple feature geometry