View source: R/generateCrossSections.R
generateCrossSections | R Documentation |
generateCrossSections(
streamChannel,
getSatImage = TRUE,
googleZoom = 14,
cut1Dir = "W",
cut2Dir = "E",
xSectionLength = units::as_units(100, "m"),
xSectionDensity = units::as_units(100, "m")
)
streamChannel |
The target stream reach. This should be a single contiguous streamline. No forking or gaps. |
getSatImage |
Logical (TRUE). This determines whether to download
satellite imagery. It requires a Google Authentication Key. See
|
googleZoom |
Zoom level of satellite imagery. 15-17 typically work. |
cut1Dir |
Important! Set this to the cardinal direction ("W","N","E","S") of the upstream end of the target streamline. |
cut2Dir |
Depreciated. No longer used. |
xSectionLength |
Length of cross sections away from the channel. Consider
using |
xSectionDensity |
Gap space between cross sections.Consider
using |
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 retreived google or Stamen map, and the points where the cross sections cross the streamline.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.