WCSClient
WCSClient
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an OGC
Web Coverage Service.
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSClient -> WCSClient
Methods
Inherited methods
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()ows4R::OWSClient$getCASUrl()ows4R::OWSClient$getConfig()ows4R::OWSClient$getHeaders()ows4R::OWSClient$getPwd()ows4R::OWSClient$getToken()ows4R::OWSClient$getUrl()ows4R::OWSClient$getUser()ows4R::OWSClient$getVersion()
Method new()
This method is used to instantiate a WCSClient with the url of the
OGC service. Authentication is supported using basic auth (using user/pwd arguments),
bearer token (using token argument), or custom (using headers argument). By default, the logger
argument will be set to NULL (no logger). This argument accepts two possible
values: INFO: to print only ows4R logs, DEBUG: to print more verbose logs
Method getCoverage()
Get coverage
Usage
WCSClient$getCoverage(
identifier,
bbox = NULL,
crs = NULL,
time = NULL,
format = NULL,
rangesubset = NULL,
gridbaseCRS = NULL,
gridtype = NULL,
gridCS = NULL,
gridorigin = NULL,
gridoffsets = NULL,
method = "GET",
filename = NULL,
...
)Arguments
identifierCoverage identifier. Object of class
characterbboxbbox. Object of class
matrix. Default isNULL. eg.OWSUtils$toBBOX(-180,180,-90,90)crscrs. Object of class
charactergiving the CRS identifier (EPSG prefixed code, or URI/URN). Default isNULL.timetime. Object of class
characterrepresenting time instant/period. Default isNULLformatformat. Object of class
characterDefault will be GeoTIFF, coded differently depending on the WCS version.rangesubsetrangesubset. Default is
NULLgridbaseCRSgrid base CRS. Default is
NULLgridtypegrid type. Default is
NULLgridCSgrid CS. Default is
NULLgridorigingrid origin. Default is
NULLgridoffsetsgrid offsets. Default is
NULLmethodmethod to get coverage, either 'GET' or 'POST' (experimental - under development). Object of class
character.filenamefilename. Object of class
character. Optional filename to download the coverage...any other argument to WCSGetCoverage
elevationelevation. Object of class
characterornumeric. Default isNULL