Skip to contents

Get Points across transects with elevation values

Usage

cross_section_pts(
  cs,
  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

Hydrographic LINESTRING Network

points_per_cs

the desired number of points per CS. If NULL, then approximently 1 per grid cell resultion of DEM is selected.

min_pts_per_cs

Minimun number of points per cross section required.

dem

the DEM to extract data from

Value

sf object