Skip to contents

Find braids and add to a dataframe/sf dataframe Adds a 'braid_id' and 'is_multibraid' columns to an sf dataframe containing a crosswalk_id and sf linestring geometires

Usage

add_braid_ids(network, crosswalk_id = NULL, verbose = FALSE)

Arguments

network

The network object representing the river network.

crosswalk_id

unique ID column name

verbose

Logical indicating whether to display verbose messages during the braid detection process.

Value

dataframe or sf dataframe with added braid_id