| WCSCoverageSummary {ows4R} | R Documentation |
WCSCoverageSummary
Description
WCSCoverageSummary
WCSCoverageSummary
Format
R6Class object.
Value
Object of R6Class modelling a WCS coverage summary
Super class
ows4R::OGCAbstractObject -> WCSCoverageSummary
Public fields
CoverageIdcoverage id
CoverageSubtypecoverage subtype
CoverageSubtypeParentcoverage subtype parent
WGS84BoundingBoxWGS84 bounding box
BoundingBoxbounding box
Methods
Public 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
xmlObjobject of class XMLInternalNode-class from XML
capabilitiesobject of class WCSCapabilities
serviceVersionWCS service version
owsVersionversion
loggerlogger type
NULL, "INFO" or "DEBUG"
Method getId()
Get coverage ID
Usage
WCSCoverageSummary$getId()
Returns
an object of class character
Method getSubtype()
Get sub type
Usage
WCSCoverageSummary$getSubtype()
Returns
an object of class character
Method getSubtypeParent()
Get sub type parent
Usage
WCSCoverageSummary$getSubtypeParent()
Returns
an object of class character
Method getWGS84BoundingBox()
Get bounding box
Usage
WCSCoverageSummary$getWGS84BoundingBox()
Returns
an object of class OWSWGS84BoundingBox
Method getBoundingBox()
Get WGS84 bounding box
Usage
WCSCoverageSummary$getBoundingBox()
Returns
an object of class OWSBoundingBox
Method getDescription()
Get description
Usage
WCSCoverageSummary$getDescription()
Returns
an object of class WCSCoverageDescription
Method getDimensions()
Get dimensions
Usage
WCSCoverageSummary$getDimensions()
Returns
the list of dimensions
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
bboxbbox. 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 isNULLelevationelevation. Object of class
characterornumeric. 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
Returns
an object of class SpatRaster from terra
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
timetime
elevationelevation
bboxbbox
filename_handlerOptional 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
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSCoverageSummary$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>