Calculate the points per cross section based off length
get_points_per_cs.Rd
Calculate the points per cross section based off length
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.