Skip to contents

Draw the initial geometry of a river corridor.

Usage

initial_corridor(
  river,
  method = "valley",
  buffer = NULL,
  dem = NULL,
  bbox = NULL
)

Arguments

river

A simple feature geometry representing the river

method

The method employed to draw the initial river corridor:

  • "buffer": add a fixed buffer region to the river geometry (see river_buffer())

  • "valley" (default): use the river valley boundary, as estimated from the provided digital elevation model (DEM, see river_valley())

buffer

Buffer region to add to the river geometry (only used if initial_method is "buffer")

dem

Digital elevation model (DEM) of the region (only used if initial_method is "valley")

bbox

Bounding box defining the extent of the area of interest

Value

A simple feature geometry