Skip to contents

Function to calculate a centerline from bankline polygon

Usage

xt_generate_centerline(bankline)

Arguments

bankline

Channel bankline polygon as a geometric object: sf, sfc, or SpatVector polygons object.

Value

A centerline.