Produces a cross section location map for the specified cross section.
map_xs(
cross_section,
xs_number,
dem,
channel = NULL,
floodplain = NULL,
extent_factor = 1
)
sf; A cross section lines feature class.
integer; The cross section identifier of the requested cross section.
terra SpatRaster; A dem raster.
sf; A channel polygon feature class (optional).
sf; A floodplain polygon feature class (optional).
numeric; A numeric value used to expand the map extent around each cross section.
a tmap object