load_dem: Retrieve DEM data from a list of STAC assets
Description
Load DEM data from a list of tiles, crop and merge using a given bounding
box to create a raster DEM for the specified region. Results are cached, so
that new queries with the same input parameters will be loaded from disk.
Usage
load_dem(bb, tile_urls, force_download = FALSE)
Value
A DEM of class terra::SpatRaster, retrieved and retiled to the
given bounding box
Arguments
bb
A bounding box, provided either as a matrix (rows for "x", "y",
columns for "min", "max") or as a vector ("xmin", "ymin", "xmax", "ymax")
of class bbox.