Get a layer from a web coverage service within a bounding box
Source:R/get_coverage_wcs.R
get_coverage_wcs.RdThe function sends a query to a WCS service, downloads it to a temporary file
from which it is read with terra::rast() - if needed reprojected -
and returned as a SpatRaster object
Arguments
- wcs
One of
"dtm","dsm","omz","omw","dhmv"- bbox
An object of class bbox of length 4.
- layername
Character string; name of the layer
- resolution
Output resolution in meters
- wcs_crs
Native CRS in which the raster layers are stored on the
WCS- output_crs
Output CRS. May involve reprojection.
- bbox_crs
CRS in which bbox coordinates are passed
- version
WCSversion to be used.- ...
Additional key-value pairs passed on to the
WCSquery
Details
The following WCS services can currently be used:
"omz": orthophotomosaic summer images Flanders"omw": orthophotomosaic winter images Flanders"dtm": digital terrain model Flanders"dsm": digital surface model Flanders"dhmv": digital elevation model Flanders (contains dtm and dsm data) For more information, see metadata Vlaanderen: https://metadata.vlaanderen.be/srv/eng/catalog.search#/search?any=WCS
See also
Other topics on using web services:
add_wms_be_cartoweb(),
add_wmts_nl_brt(),
get_feature_wfs()