R/NED_FUNCTIONS.R
get_ned.Rd
get_ned
returns a SpatRaster
of elevation data cropped to a given
template study area.
An Simple Feature
or SpatRaster
object to serve as a template for cropping.
A character string naming the study area.
A character string representing the desired resolution of the NED. '1' indicates the 1 arc-second NED (the default), while '13' indicates the 1/3 arc-second dataset.
A character string indicating where the extracted and cropped DEM should be put. The directory will be created if missing.
a vector of GDAL options passed to terra::writeRaster.
If an extraction for this template and label already exists, should a new one be created?
A SpatRaster
DEM cropped to the extent of the template.