Add elevation column for an sf POINT collection.
Arguments
- df
an SFC of POINT geometries
- dem_src
path to Digital Elevation Model file. This must be a raster file, usually a .tif
- units
TODO: currently assumes all units are meters.
Examples
if (FALSE) {
dem_src = "USGS_13_n38w120_20210701.tif"
myDB = system.file("db/telemetry.gpkg", package = "beastr")
}