OWSClient | R Documentation |
OWSClient
OWSClient
R6Class
object.
Object of R6Class
with methods for interfacing a Common OGC web-service.
ows4R::OGCAbstractObject
-> OWSClient
url
Base url of the OWS service
version
version of the OWS service
capabilities
object giving the OWS service capabilities
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 )
url
url
service
service name
serviceVersion
CSW service version
user
user
pwd
password
token
token
headers
headers
config
config
cas_url
Central Authentication Service (CAS) URL
logger
logger
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)
deep
Whether to make a deep clone.
Abstract class used internally by ows4R
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.