Learn R Programming

ows4R (version 0.2)

OWSClient: OWSClient

Description

OWSClient

Arguments

Value

Object of R6Class with methods for interfacing a Common OGC web-service.

Format

R6Class object.

Fields

url

the Base url of OWS service

version

the version of OWS service

Methods

new(url, service, serviceVersion, user, pwd, logger)

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

getUrl()

Get the service URL

getVersion()

Get the service version

getCapabilities()

Get the service capabilities

getUser()

Get user

getPwd()

Get password

getToken()

Get token

getHeaders()

Get headers