Calculate the points per cross section based off length
get_points_per_cs.Rd
Calculate the points per cross section based off length
Usage
get_points_per_cs(
cs_length,
points_per_cs = NULL,
min_pts_per_cs = 10,
dem =
"/vsicurl/https://prd-tnm.s3.amazonaws.com/StagedProducts/Elevation/13/TIFF/USGS_Seamless_DEM_13.vrt"
)
Arguments
- cs_length
numeric vector, lengths of each cross section (meters)
- points_per_cs
numeric, number of points per cross section. Default is NULL
- min_pts_per_cs
An optional minimum points value per cross section. If not provided,
- dem
A SpatRaster object representing the Digital Elevation Model (DEM) or a character string referencing a remote resource. the function calculates it based on the length of cross-sections and the resolution of the DEM.