Learn R Programming

rcrisp (version 0.3.1)

corridor_end_points: Find the corridor end points.

Description

Determine the extremes (end points) of the river corridor using the network built from the river center line features (see build_river_network() and the spatial network used for the delineation. The end points are selected as the two furthest river crossings of the spatial network that connect the sub-networks for each river sides.

Usage

corridor_end_points(river_network, spatial_network, regions)

Value

An sf::sfc_POINT geometry including a pair of points

Arguments

river_network

A sfnetworks::sfnetwork object representing the river centerline

spatial_network

A sfnetworks::sfnetwork object representing the spatial network used for the delineation

regions

A simple feature geometry representing the two river sides