R/sf_get_z.R
sf_get_z.Rd
Adds a new attribute "Z" to the input points sf object based on the input dem.
sf_get_z(points, dem)
sf object;
terra SpatRast object;
point sf object with new field containing dem z