map_xs | R Documentation |
Produces a cross section location map for the specified cross section.
map_xs(cross_section, xs_number, dem, banklines = NULL, extent_factor = 1)
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. |
banklines |
sf; A banklines feature class (optional). |
extent_factor |
numeric; A numeric value used to expand the map extent around each cross section. |
a tmap object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.