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.
Arguments
- river_network
A
sfnetworks::sfnetworkobject representing the river centerline- spatial_network
A
sfnetworks::sfnetworkobject representing the spatial network used for the delineation- regions
A simple feature geometry representing the two river sides
Value
An sf::sfc_POINT geometry including a pair of points
