R/corridor.R
river_valley.Rd
The valley is drawn on a digital elevation model (DEM) of the area, see get_valley() for details on the implementation.
get_valley()
river_valley(river, dem, bbox = NULL)
A simple feature geometry representing the river
The DEM of the area as a terra SpatRaster object
Bounding box defining the extent of the area of interest
A simple feature geometry