Access digital elevation model (DEM) for a given region
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"), in lat/lon coordinates (WGS84 coordinate referece system)
- dem_source
Source of the DEM:
If "STAC" (default), DEM tiles are searched on a SpatioTemporal Asset Catalog (STAC) end point, then accessed and mosaicked to the area of interest
- stac_endpoint
URL of the STAC API endpoint (only used if
dem_source
is"STAC"
). To be provided together withstac_collection
, or leave blank to use defaults (seedefault_stac_dem
)- stac_collection
Identifier of the STAC collection to be queried (only used if
dem_source
is"STAC"
). To be provided together withstac_endpoint
, or leave blank to use defaults (seedefault_stac_dem
)- crs
Coordinate reference system (CRS) which to transform the DEM to