Skip to contents

Given a set of linestrings, extract DEM values at points along the linestring

Usage

extract_dem_values(cs, crosswalk_id = NULL, dem = NULL)

Arguments

cs

cross section sf object

crosswalk_id

character, column name of unique flowline / transect ID

dem

SpatRaster DEM or character pointing to remote DEM resource

Value

sf dataframe with Z values extracted from DEM