WCSCoverageSummary
WCSCoverageSummary
Format
R6Class
object.
Value
Object of R6Class
modelling a WCS coverage summary
Super class
ows4R::OGCAbstractObject
-> WCSCoverageSummary
Public fields
CoverageId
coverage id
CoverageSubtype
coverage subtype
CoverageSubtypeParent
coverage subtype parent
WGS84BoundingBox
WGS84 bounding box
BoundingBox
bounding box
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()
Method new()
Initializes a WCSCoverageSummary object
Usage
WCSCoverageSummary$new(
xmlObj,
capabilities,
serviceVersion,
owsVersion,
logger = NULL
)
Arguments
xmlObj
object of class XMLInternalNode-class from XML
capabilities
object of class WCSCapabilities
serviceVersion
WCS service version
owsVersion
version
logger
logger type
NULL
, "INFO" or "DEBUG"
Method getCoverage()
Get coverage data
Usage
WCSCoverageSummary$getCoverage(
bbox = NULL,
crs = NULL,
time = NULL,
elevation = NULL,
format = NULL,
rangesubset = NULL,
gridbaseCRS = NULL,
gridtype = NULL,
gridCS = NULL,
gridorigin = NULL,
gridoffsets = NULL,
method = "GET",
filename = NULL,
...
)
Arguments
bbox
bbox. Object of class
matrix
. Default isNULL
. eg.OWSUtils$toBBOX(-180,180,-90,90)
crs
crs. Object of class
character
giving the CRS identifier (EPSG prefixed code, or URI/URN). Default isNULL
.time
time. Object of class
character
representing time instant/period. Default isNULL
elevation
elevation. Object of class
character
ornumeric
. Default isNULL
format
format. Object of class
character
Default will be GeoTIFF, coded differently depending on the WCS version.rangesubset
rangesubset. Default is
NULL
gridbaseCRS
grid base CRS. Default is
NULL
gridtype
grid type. Default is
NULL
gridCS
grid CS. Default is
NULL
gridorigin
grid origin. Default is
NULL
gridoffsets
grid offsets. Default is
NULL
method
method to get coverage, either 'GET' or 'POST' (experimental - under development). Object of class
character
.filename
filename. Object of class
character
. Optional filename to download the coverage...
any other argument to WCSGetCoverage
Method getCoverageStack()
Get a spatio-temporal coverage data cubes as coverage stack
Usage
WCSCoverageSummary$getCoverageStack(
time = NULL,
elevation = NULL,
bbox = NULL,
filename_handler = NULL,
...
)
Arguments
time
time
elevation
elevation
bbox
bbox
filename_handler
Optional filename handling function with arguments 'identifier', 'time', 'elevation', 'bbox', 'format' See WCSCoverageFilenameHandler as genric filename handler that can be used.
...
any other parameter to pass to
getCoverage
Returns
an object of class stack from raster