Samples elevations along the other stream channels near the analysis area so they can be drawn on the cross-section figure for context.

addStreamChannels(
  transectObject,
  sampleDensity = units::as_units(6, "m"),
  rasterDir = "GeoData/Raster/ChildsDEM_m.tif",
  streamDir = "GeoData/STREAM CHANNELS.shp",
  ...
)

Arguments

transectObject

Object created by the generateCrossSections function

sampleDensity

Spacing of the elevation samples along the channels.

rasterDir

The file location of the DEM file (unused when the DEM is already stored on the transectObject by processSpace).

streamDir

File path of the stream-network shapefile.

...

Ignored (accepted so pipeline wrappers can pass shared arguments through).

Value

transectObject with $plotDataSideChannels added.