OWSClient
OWSClient
Object of R6Class with methods for interfacing a Common OGC web-service.
R6Class object.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ows4R::OGCAbstractObject -> OWSClient
urlBase url of the OWS service
versionversion of the OWS service
capabilitiesobject giving the OWS service capabilities
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()
new()This method is used to instantiate a OWSClient 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
OWSClient$new(
  url,
  service,
  serviceVersion,
  user = NULL,
  pwd = NULL,
  token = NULL,
  headers = c(),
  config = httr::config(),
  cas_url = NULL,
  logger = NULL
)urlurl
serviceservice name
serviceVersionCSW service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
getUrl()Get URL
OWSClient$getUrl()the url of the service, object of class character
getVersion()Get version
OWSClient$getVersion()the version of the service, object of class character
getCapabilities()Get capabilities
OWSClient$getCapabilities()the capabilities, object of class OWSCapabilities
getUser()Get user
OWSClient$getUser()the user, object of class character
getPwd()Get password
OWSClient$getPwd()the password, object of class character
getToken()Get token
OWSClient$getToken()the token, object of class character
getHeaders()Get headers
OWSClient$getHeaders()the headers, object of class character
getConfig()Get httr config
OWSClient$getConfig()the httr config, if any
getCASUrl()Get CAS URL
OWSClient$getCASUrl()a CAS URL
clone()The objects of this class are cloneable with this method.
OWSClient$clone(deep = FALSE)deepWhether to make a deep clone.