Samples the DEM along the stream line (1 point per foot) and builds the longitudinal elevation and percent-slope profile plots that appear in the PDF report and in the KMZ mainLine balloon.
longitudinalElevation(
transectObject,
rasterDir = "GeoData/Raster/ChildsDEM_m.tif",
returnPlots = TRUE,
returnData = TRUE,
plotFileName = "longitudinalPlot.png",
...
)Object created by the generateCrossSections
function.
File path of the DEM raster (unused when the DEM is
already stored on the transectObject by processSpace).
Logical; add $longProGraph1 (elevation) and
$longProGraph2 (percent slope) ggplots to the object.
Logical; add $longitudinalPlotData.
Unused (kept for backward compatibility).
Ignored (accepted so pipeline wrappers can pass shared arguments through).
transectObject with the longitudinal profile plots/data added.