WMSCapabilities
WMSCapabilities
Object of R6Class with methods for interfacing an OGC
Web Map Service Get Capabilities document.
R6Class object.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ows4R::OGCAbstractObject -> ows4R::OWSCapabilities -> WMSCapabilities
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::OWSCapabilities$getClient()ows4R::OWSCapabilities$getOWSVersion()ows4R::OWSCapabilities$getOperationsMetadata()ows4R::OWSCapabilities$getRequest()ows4R::OWSCapabilities$getService()ows4R::OWSCapabilities$getServiceIdentification()ows4R::OWSCapabilities$getServiceProvider()ows4R::OWSCapabilities$getServiceVersion()ows4R::OWSCapabilities$getUrl()ows4R::OWSCapabilities$setClient()
new()Initializes a WMSCapabilities object
WMSCapabilities$new(url, version, logger = NULL, ...)urlurl
versionversion
loggerlogger type NULL, "INFO" or "DEBUG"
...any other parameter to pass to OWSGetCapabilities service request
getRequests()List the requests available. If pretty is TRUE,
   the output will be an object of class data.frame
WMSCapabilities$getRequests(pretty = FALSE)prettypretty
a list of OWSRequest available, or a data.frame
getRequestNames()List the names of requests available.
WMSCapabilities$getRequestNames()object of class character
getLayers()List the layers available. If pretty is TRUE,
   the output will be an object of class data.frame
WMSCapabilities$getLayers(pretty = FALSE)prettypretty
a list of WMSLayer available, or a data.frame
findLayerByName()Finds a layer by name
WMSCapabilities$findLayerByName(expr, exact = TRUE)exprexpr
exactexact matching? Default is TRUE
clone()The objects of this class are cloneable with this method.
WMSCapabilities$clone(deep = FALSE)deepWhether to make a deep clone.