Converts a cross section object into a cross section points object by creating a series of points along each cross section at the specified station distance.

cross_section_points(cross_section, dem, rem, station_distance)

Arguments

cross_section

sf object; A cross_section object.

dem

terra SpatRast object; A DEM.

rem

terra SpatRast object; An REM (aka detrended DEM).

station_distance

numeric; Desired distance between the flowline_points (units: meters)

Value

an sf object containing a cross_section_points object