This is the first function to run when using the ProcessSpace package. It
generates a TransectObject object that is the passed to additional functions
to add additional details like cross section elevations and to generate
spatial exports.
The target stream reach. This should be a single contiguous streamline. No forking or gaps.
Logical (TRUE). This determines whether to download
satellite imagery (Esri World Imagery tiles via the maptiles
package; no API key required). If the download fails (e.g. offline), the
pipeline continues without a basemap.
Tile zoom level of satellite imagery. 15-17 typically work. (Named for backward compatibility with the old Google Maps basemap.)
Important! Set this to the cardinal direction ("W","N","E","S") of the upstream end of the target streamline.
Depreciated. No longer used.
Length of cross sections away from the channel. Consider
using units::as_units(100,"m") format.
Gap space between cross sections.Consider
using units::as_units(20,"m") format.
Tile provider passed to maptiles::get_tiles.
transectObject. This object will be passed onto additional function in `ProcessSpace`. Initially it is returned with just, streamline, boundary of transects, transect lines, a bounding box, the retrieved satellite basemap (a terra SpatRaster, or NULL if unavailable), and the points where the cross sections cross the streamline.