Writes the stream line, sampled points (with embedded cross-section plot balloons), transect lines, process-space polygons, and the detrended "height above water" raster overlay into a single KMZ file that can be opened in Google Earth.
exportSpatials(
transectObject,
sectionName = "temp",
addXSectionPlots = TRUE,
rasterPaletteLims = c(-2, 2)
)Object created by generateCrossSections and
enriched by the other pipeline functions (or by allAtOnce).
Base name for the output files (<sectionName>.kmz,
<sectionName>-Images/, <sectionName>_DetrendedRaster.tif).
Logical (TRUE). Generate the per-transect cross-section PNGs and embed them in the point balloons. This is the slow part of the export (~1 second per transect).
Numeric length-2. The detrended raster overlay is clamped to this range (meters above/below the water surface) before coloring.
Invisibly, the path to the KMZ file.