map_xs: Cross section location map

View source: R/map_xs.R

map_xsR Documentation

Cross section location map

Description

Produces a cross section location map for the specified cross section.

Usage

map_xs(
  cross_section,
  xs_number,
  dem,
  channel = NULL,
  floodplain = NULL,
  extent_factor = 1
)

Arguments

cross_section

sf; A cross section lines feature class.

xs_number

integer; The cross section identifier of the requested cross section.

dem

terra SpatRaster; A dem raster.

channel

sf; A channel polygon feature class (optional).

floodplain

sf; A floodplain polygon feature class (optional).

extent_factor

numeric; A numeric value used to expand the map extent around each cross section.

Value

a tmap object


FluvialGeomorph/fluvgeo documentation built on Feb. 19, 2025, 4:24 p.m.