| Version: | 0.5 |
| Date: | 2025-06-13 |
| Title: | Interface to OGC Web-Services (OWS) |
| Maintainer: | Emmanuel Blondel <emmanuel.blondel1@gmail.com> |
| Depends: | R (≥ 3.3.0) |
| Imports: | methods, R6, httr, openssl, keyring, XML (≥ 3.96-1.1), geometa (≥ 0.9), sf, terra, parallel, crayon |
| Suggests: | testthat, knitr, markdown |
| Description: | Provides an Interface to Web-Services defined as standards by the Open Geospatial Consortium (OGC), including Web Feature Service (WFS) for vector data, Web Coverage Service (WCS), Catalogue Service (CSW) for ISO/OGC metadata, Web Processing Service (WPS) for data processes, and associated standards such as the common web-service specification (OWS) and OGC Filter Encoding. Partial support is provided for the Web Map Service (WMS). The purpose is to add support for additional OGC service standards such as Web Coverage Processing Service (WCPS), the Sensor Observation Service (SOS), or even new standard services emerging such OGC API or SensorThings. |
| License: | MIT + file LICENSE |
| URL: | https://github.com/eblondel/ows4R, https://eblondel.github.io/ows4R/, https://www.ogc.org/standards/ |
| BugReports: | https://github.com/eblondel/ows4R/issues |
| LazyLoad: | yes |
| RoxygenNote: | 7.3.1 |
| VignetteBuilder: | knitr |
| NeedsCompilation: | no |
| Packaged: | 2025-06-13 21:18:06 UTC; emman |
| Author: | Emmanuel Blondel |
| Repository: | CRAN |
| Date/Publication: | 2025-06-15 00:30:06 UTC |
Interface to OGC Web-Services
Description
Provides an Interface to Web-Services defined as standards by the Open Geospatial Consortium (OGC), including Web Feature Service (WFS) for vector data, Web Coverage Service (WCS), Catalogue Service (CSW) for ISO/OGC metadata, and associated standards such as the common web-service specification (OWS) and OGC Filter Encoding. Partial support is provided for the Web Map Service (WMS) and Web Processing Service (WPS). The purpose is to add support for additional OGC service standards such as Web Coverage Processing Service (WCPS) or OGC API.
Author(s)
Emmanuel Blondel emmanuel.blondel1@gmail.com
See Also
Useful links:
Report bugs at https://github.com/eblondel/ows4R/issues
And
Description
And
And
Format
R6Class object.
Value
Object of R6Class for modelling an And operator
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryLogicOpType -> And
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()ows4R::OGCExpression$getExprVersion()ows4R::BinaryLogicOpType$setExprVersion()
Method new()
Initializes an And expression
Usage
And$new(...)
Arguments
...list of objects of class OGCExpression
Method clone()
The objects of this class are cloneable with this method.
Usage
And$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr1 <- PropertyIsEqualTo$new(PropertyName = "property1", Literal = "value1")
expr2 <- PropertyIsEqualTo$new(PropertyName = "property2", Literal = "value2")
and <- And$new(expr1,expr2)
and_xml <- and$encode() #see how it looks like in XML
BBOX
Description
BBOX
BBOX
Format
R6Class object.
Value
Object of R6Class for modelling an BBOX
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> BBOX
Public fields
PropertyNameproperty name field for XML encoding
Envelopeenvelope as object of class GMLEnvelope from geometa
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()ows4R::OGCExpression$getExprVersion()ows4R::OGCExpression$setExprVersion()
Method new()
Initializes a BBOX expression
Usage
BBOX$new(bbox, srsName = NULL)
Arguments
bboxan object of class
matrixsrsNamesrs name
Method clone()
The objects of this class are cloneable with this method.
Usage
BBOX$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
bbox <- OWSUtils$toBBOX(-180,-90,180,90)
expr <- BBOX$new(bbox)
expr_xml <- expr$encode() #see how it looks like in XML
BinaryComparisonOpType
Description
BinaryComparisonOpType
BinaryComparisonOpType
Format
R6Class object.
Value
Object of R6Class for modelling an BinaryComparisonOpType
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> BinaryComparisonOpType
Public fields
PropertyNameproperty name field for XML encoding
Literalliteral field for XML encoding
attrsattributes for XML encoding
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()ows4R::OGCExpression$getExprVersion()ows4R::OGCExpression$setExprVersion()
Method new()
Initializes an object extending BinaryComparisonOpType
Usage
BinaryComparisonOpType$new( element, namespacePrefix, PropertyName, Literal, matchCase = NA )
Arguments
elementelement name
namespacePrefixXML namespace prefix
PropertyNameproperty name
Literalliteral
matchCasematch case
Method clone()
The objects of this class are cloneable with this method.
Usage
BinaryComparisonOpType$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
abstract super class of all the property operation classes
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
BinaryLogicOpType
Description
BinaryLogicOpType
BinaryLogicOpType
Format
R6Class object.
Value
Object of R6Class for modelling an BinaryLogicOpType
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> BinaryLogicOpType
Public fields
operationsa list OGC expressions
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()ows4R::OGCExpression$getExprVersion()
Method new()
Initializes a BinaryLogicOpType expression
Usage
BinaryLogicOpType$new(..., element, namespacePrefix, exprVersion = "1.1.0")
Arguments
...list of objects of class OGCExpression
elementelement
namespacePrefixnamespacePrefix
exprVersionOGC expression version. Default is "1.1.0"
Method setExprVersion()
Sets expression version. The methods will control that expression versions are set for each of the operations specified in the expression.
Usage
BinaryLogicOpType$setExprVersion(exprVersion)
Arguments
exprVersionOGC expression version
Method clone()
The objects of this class are cloneable with this method.
Usage
BinaryLogicOpType$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
abstract super class of all the binary logical operation classes
CASClient
Description
CASClient
CASClient
Format
R6Class object.
Value
Object of R6Class with methods for interfacing a Central Authentication Service (CAS).
Methods
Public methods
Method new()
Initializes an object of class CASClient
Usage
CASClient$new(url)
Arguments
urlbase URL of the Central Authentication Service (CAS)
Method getUrl()
Get CAS base URL
Usage
CASClient$getUrl()
Returns
the base URL
Method login()
Logs in the CAS
Usage
CASClient$login(user, pwd)
Arguments
useruser
pwdpassword
Returns
TRUE if logged in, FALSE otherwise
Method logout()
Logs out from the CAS
Usage
CASClient$logout()
Returns
TRUE if logged out, FALSE otherwise
Method clone()
The objects of this class are cloneable with this method.
Usage
CASClient$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
CSWCapabilities
Description
CSWCapabilities
CSWCapabilities
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an OGC
Catalogue Service for the Web (CSW) Get Capabilities document.
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSCapabilities -> CSWCapabilities
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()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()
Method new()
Initializes a CSWCapabilities object
Usage
CSWCapabilities$new(url, version, client = NULL, logger = NULL, ...)
Arguments
urlurl
versionversion
clientobject of class CSWClient
loggerlogger type
NULL, "INFO" or "DEBUG"...any other parameter to pass to OWSGetCapabilities service request
Method clone()
The objects of this class are cloneable with this method.
Usage
CSWCapabilities$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used to read a CSWCapabilities document. The use of CSWClient is
recommended instead to benefit from the full set of capabilities associated to a CSW server.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
CSWClient
Description
CSWClient
CSWClient
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an OGC
Catalogue Service for the Web.
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSClient -> CSWClient
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()ows4R::OWSClient$getCASUrl()ows4R::OWSClient$getConfig()ows4R::OWSClient$getHeaders()ows4R::OWSClient$getPwd()ows4R::OWSClient$getToken()ows4R::OWSClient$getUrl()ows4R::OWSClient$getUser()ows4R::OWSClient$getVersion()
Method new()
This method is used to instantiate a CSWClient 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
Usage
CSWClient$new( url, serviceVersion = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
Arguments
urlurl
serviceVersionCSW service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
Method getCapabilities()
Get CSW capabilities
Usage
CSWClient$getCapabilities()
Returns
an object of class CSWCapabilities
Method reloadCapabilities()
Reloads CSW capabilities
Usage
CSWClient$reloadCapabilities()
Method describeRecord()
Describe records. Retrieves the XML schema for CSW records. By default, returns the XML schema
for the CSW records (http://www.opengis.net/cat/csw/2.0.2). For other schemas, specify the
outputSchema required, e.g. http://www.isotc211.org/2005/gmd for ISO 19115/19139 schema
Usage
CSWClient$describeRecord(namespace, ...)
Arguments
namespacenamespace
...any other parameter to pass to the CSWDescribeRecord service request
Returns
the service record description
Method getRecordById()
Get a record by Id. By default, the record will be returned following the CSW schema
(http://www.opengis.net/cat/csw/2.0.2). For other schemas, specify the outputSchema
required, e.g. http://www.isotc211.org/2005/gmd for ISO 19115/19139 records.
The parameter elementSetName should among values "full", "brief", "summary". The default
"full" corresponds to the full metadata sheet returned. "brief" and "summary" will contain only
a subset of the metadata content.
Usage
CSWClient$getRecordById(id, elementSetName = "full", ...)
Arguments
idrecord id
elementSetNameelement set name. Default is "full"
...any other parameter to pass to CSWGetRecordById service request
Returns
the fetched record, NULL otherwise
Method getRecords()
Get records based on a query, object of class CSWQuery. The maximum number of records can be
set either for the full query (maxRecords) or per request (maxRecordsPerRequest, default set to 10 records)
considering this operation is paginated. By default, the record will be returned following the CSW schema
(http://www.opengis.net/cat/csw/2.0.2). For other schemas, specify the outputSchema
required, e.g. http://www.isotc211.org/2005/gmd for ISO 19115/19139 records.
Usage
CSWClient$getRecords( query = CSWQuery$new(), maxRecords = NULL, maxRecordsPerRequest = 10L, ... )
Arguments
queryan object of class CSWQuery. By default, an empty query is set.
maxRecordsmax number of total records. Default is
NULLmeaning all records are returned.maxRecordsPerRequestmax number of records to return per request. Default set to 10.
...any other parameter to be passed to CSWGetRecords service request
Returns
the list of records. By default each record will be returned as Dublin Core list object. In case
ISO 19115/19139 is set as outputSchema, each record will be object of class ISOMetadata from
geometa.
Method transaction()
Generic transaction method. Used for inserting, updating or deleting metadata using the transactional CSW service.
The type gives the type of transaction (Insert, Update, or Delete). The record
Usage
CSWClient$transaction( type, record = NULL, recordProperty = NULL, constraint = NULL, ... )
Arguments
typeof transaction either "Insert", "Update" or "Delete"
recordthe record subject of the transaction
recordPropertyrecord property, object of class CSWRecordProperty
constraintconstraint, object of class CSWConstraint
...any other parameter to pass to CSWTransaction service request
Returns
TRUE if transaction succeeded, FALSE otherwise
Method insertRecord()
Inserts a new record
Usage
CSWClient$insertRecord(record, ...)
Arguments
recordrecord subject of the Insertion
...any other parameter to pass to the transaction
Returns
TRUE if insertion succeeded, FALSE otherwise
Method updateRecord()
Updates an existing record
Usage
CSWClient$updateRecord( record = NULL, recordProperty = NULL, constraint = NULL, ... )
Arguments
recordrecord subject of the Insertion
recordPropertyrecord property, object of class CSWRecordProperty
constraintconstraint, object of class CSWConstraint
...any other parameter to pass to the transaction
Returns
TRUE if update succeeded, FALSE otherwise
Method deleteRecord()
Deletes an existing (set of) record(s). A constraint (object of class CSWConstraint)
can be specified to limit the deletion to some records.
Usage
CSWClient$deleteRecord(record = NULL, constraint = NULL, ...)
Arguments
recordrecord subject of the Insertion
constraintconstraint, object of class CSWConstraint
...any other parameter to pass to the transaction
Returns
TRUE if deletion succeeded, FALSE otherwise
Method deleteRecordById()
Deletes an existing record by identifier (constraint used to identify the record based on its identifier).
Usage
CSWClient$deleteRecordById(id)
Arguments
idrecord id
Returns
TRUE if deletion succeeded, FALSE otherwise
Method harvestRecord()
Harvests a single record from a sourceUrl, given a resourceType (by default "http://www.isotc211.org/2005/gmd").
Usage
CSWClient$harvestRecord( sourceUrl, resourceType = "http://www.isotc211.org/2005/gmd" )
Arguments
sourceUrlsource URL
resourceTyperesource type. Default is "http://www.isotc211.org/2005/gmd"
Returns
TRUE if harvesting succeeded, FALSE otherwise
Method harvestNode()
Harvests a CSW node (having its endpoint defined by an url). A query (object of class CSWQuery) can be
specificed if needed to restrain the harvesting to a subset. The resourceType defines the type of resources to be harvested
(by default "http://www.isotc211.org/2005/gmd")
Usage
CSWClient$harvestNode( url, query = CSWQuery$new(), resourceType = "http://www.isotc211.org/2005/gmd", sourceBaseUrl )
Arguments
urlCSW node URL
querya CSW query, object of class CSWQuery
resourceTyperesource type. Default is "http://www.isotc211.org/2005/gmd"
sourceBaseUrlsource base URL
Returns
an object of class list giving the number of records found and those actually harvested
Method clone()
The objects of this class are cloneable with this method.
Usage
CSWClient$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
## Not run:
#example based on CSW endpoint responding at http://localhost:8000/csw
csw <- CSWClient$new("http://localhost:8000/csw", serviceVersion = "2.0.2")
#get capabilities
caps <- csw$getCapabilities()
#get records
records <- csw$getRecords()
#get record by id
record <- csw$getRecordById("my-metadata-id")
#Advanced examples at https://github.com/eblondel/ows4R/wiki#csw
## End(Not run)
CSWConstraint
Description
CSWConstraint
CSWConstraint
Format
R6Class object.
Value
Object of R6Class for modelling an CSW Constraint
Super class
ows4R::OGCAbstractObject -> CSWConstraint
Public fields
wrapinternal property for object XML encoding
CqlTexttext to use as CQL filter
filter
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 CSWConstraint object to be used to constrain CSW operations.
Usage
CSWConstraint$new(cqlText = NULL, filter = NULL, serviceVersion = "2.0.2")
Arguments
cqlTextcqlText, object of class
characterfilterfilter, object extending OGCFilter
serviceVersionCSW service version. Default is "2.0.2"
Method setServiceVersion()
Set service version. This methods ensures that underlying filter property is properly set with the right OGC filter version.
Usage
CSWConstraint$setServiceVersion(serviceVersion)
Arguments
serviceVersionservice version
Method clone()
The objects of this class are cloneable with this method.
Usage
CSWConstraint$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
filter <- OGCFilter$new( PropertyIsEqualTo$new("apiso:Identifier", "12345") )
cons <- CSWConstraint$new(filter = filter)
cons_xml <- cons$encode() #how it looks like in XML
CSWDescribeRecord
Description
CSWDescribeRecord
CSWDescribeRecord
Format
R6Class object.
Value
Object of R6Class for modelling a CSW DescribeRecord request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> CSWDescribeRecord
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a CSWDescribeRecord service request
Usage
CSWDescribeRecord$new( capabilities, op, url, version, namespace = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
Arguments
capabilitiesan object of class CSWCapabilities
opobject of class OWSOperation as retrieved from capabilities
urlurl
versionversion
namespacenamespace
useruser
pwdpassword
tokentoken
headersheaders
configconfig
loggerlogger
...any parameter to pass to the service request
Method clone()
The objects of this class are cloneable with this method.
Usage
CSWDescribeRecord$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a CSW DescribeRecord request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
CSWGetRecordById
Description
CSWGetRecordById
CSWGetRecordById
Format
R6Class object.
Value
Object of R6Class for modelling a CSW GetRecordById request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> CSWGetRecordById
Public fields
Idrecord Id property for request XML encoding
ElementSetNameelement set name property for XML encoding
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a CSWGetRecordById service request
Usage
CSWGetRecordById$new( capabilities, op, url, serviceVersion = "2.0.2", user = NULL, pwd = NULL, token = NULL, headers = headers, config = httr::config(), id, elementSetName = "full", logger = NULL, ... )
Arguments
capabilitiesan object of class CSWCapabilities
opobject of class OWSOperation as retrieved from capabilities
urlurl
serviceVersionserviceVersion. Default is "2.0.2
useruser
pwdpassword
tokentoken
headersheaders
configconfig
idrecord id
elementSetNameelement set name. Default is "full"
loggerlogger
...any parameter to pass to the service request
Method clone()
The objects of this class are cloneable with this method.
Usage
CSWGetRecordById$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a CSW GetRecordById request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
CSWGetRecords
Description
CSWGetRecords
CSWGetRecords
Format
R6Class object.
Value
Object of R6Class for modelling a CSW GetRecords request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> CSWGetRecords
Public fields
Queryquery property for request XML encoding
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a CSWGetRecordById service request
Usage
CSWGetRecords$new( capabilities, op, url, serviceVersion = "2.0.2", user = NULL, pwd = NULL, token = NULL, headers = list(), config = httr::config(), query = NULL, logger = NULL, ... )
Arguments
capabilitiesan object of class CSWCapabilities
opobject of class OWSOperation as retrieved from capabilities
urlurl
serviceVersionserviceVersion. Default is "2.0.2
useruser
pwdpassword
tokentoken
headersheaders
configconfig
queryobject of class CSWQuery
loggerlogger
...any parameter to pass to the service request, such as
resultType,startPosition,maxRecords,outputFormat, oroutputSchema
Method clone()
The objects of this class are cloneable with this method.
Usage
CSWGetRecords$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a CSW GetRecords request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
CSWHarvest
Description
CSWHarvest
CSWHarvest
Format
R6Class object.
Value
Object of R6Class for modelling a CSW Harvest request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> CSWHarvest
Public fields
Sourcesource property for request XML encoding
ResourceTyperesource type property for request XML encoding
ResourceFormatresource format property for request XML encoding
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a CSWHarvest service request
Usage
CSWHarvest$new( capabilities, op, url, serviceVersion = "2.0.2", user = NULL, pwd = NULL, token = NULL, headers = list(), config = httr::config(), source = NULL, resourceType = "http://www.isotc211.org/schemas/2005/gmd/", resourceFormat = "application/xml", logger = NULL, ... )
Arguments
capabilitiesan object of class CSWCapabilities
opobject of class OWSOperation as retrieved from capabilities
urlurl
serviceVersionserviceVersion. Default is "2.0.2
useruser
pwdpassword
tokentoken
headersheaders
configconfig
sourcesource
resourceTyperesource type. Default is "http://www.isotc211.org/schemas/2005/gmd/"
resourceFormatresource format. Default is "application/xml"
loggerlogger
...any parameter to pass to the service request
Method clone()
The objects of this class are cloneable with this method.
Usage
CSWHarvest$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a CSW Harvest request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
CSWQuery
Description
CSWQuery
CSWQuery
Format
R6Class object.
Value
Object of R6Class for modelling an CSW Query
Super class
ows4R::OGCAbstractObject -> CSWQuery
Public fields
ElementSetNameelement set name property for request XML encoding
constraintproperty for request XML encoding
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()
This method is used to instantiate an CSWQUery object. The elementSetName can be
either "full" (default), "brief" or "summary". A constraint CSWConstraint can be
defined for the query. The typeNames indicates to query (default "csw:Record").
The serviceVersion gives the CSW service version (default "2.0.2")
Usage
CSWQuery$new( elementSetName = "full", constraint = NULL, typeNames = "csw:Record", serviceVersion = "2.0.2" )
Arguments
elementSetNameelement set name. Default is "full"
constraintobject of class CSWConstraint
typeNamestype names
serviceVersionCSW service version
Method setServiceVersion()
Set service version. The methods ensures propery naming of typeNames depending on the service version
Usage
CSWQuery$setServiceVersion(serviceVersion)
Arguments
serviceVersionservice version
Method clone()
The objects of this class are cloneable with this method.
Usage
CSWQuery$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
#CSWQuery - elementSetName
query_full <- CSWQuery$new()
query_brief <- CSWQuery$new(elementSetName = "brief")
query_summary <- CSWQuery$new(elementSetName = "summary")
#CSWQuery - cqlText with title
cons <- CSWConstraint$new(cqlText = "dc:title like '%ips%'")
query <- CSWQuery$new(constraint = cons)
#CSW 2.0.2 - Query - Filter / AnyText
filter <- OGCFilter$new( PropertyIsLike$new("csw:AnyText", "%Physio%"))
cons <- CSWConstraint$new(filter = filter)
query <- CSWQuery$new(constraint = cons)
#CSW 2.0.2 - Query - Filter / AnyText Equal
filter <- OGCFilter$new( PropertyIsEqualTo$new("csw:AnyText", "species"))
cons <- CSWConstraint$new(filter = filter)
query <- CSWQuery$new(constraint = cons)
#CSW 2.0.2 - Query - Filter / AnyText And Not
filter <- OGCFilter$new(And$new(
PropertyIsLike$new("csw:AnyText", "%lorem%"),
PropertyIsLike$new("csw:AnyText", "%ipsum%"),
Not$new(
PropertyIsLike$new("csw:AnyText", "%dolor%")
)
))
cons <- CSWConstraint$new(filter = filter)
query <- CSWQuery$new(constraint = cons)
#CSW 2.0.2 - Query - Filter / AnyText And nested Or
filter <- OGCFilter$new(And$new(
PropertyIsEqualTo$new("dc:title", "Aliquam fermentum purus quis arcu"),
PropertyIsEqualTo$new("dc:format", "application/pdf"),
Or$new(
PropertyIsEqualTo$new("dc:type", "http://purl.org/dc/dcmitype/Dataset"),
PropertyIsEqualTo$new("dc:type", "http://purl.org/dc/dcmitype/Service"),
PropertyIsEqualTo$new("dc:type", "http://purl.org/dc/dcmitype/Image"),
PropertyIsEqualTo$new("dc:type", "http://purl.org/dc/dcmitype/Text")
)
))
cons <- CSWConstraint$new(filter = filter)
query <- CSWQuery$new(elementSetName = "brief", constraint = cons)
#CSW 2.0.2 - Query - Filter / BBOX
bbox <- matrix(c(-180,180,-90,90), nrow = 2, ncol = 2, byrow = TRUE,
dimnames = list(c("x", "y"), c("min","max")))
filter <- OGCFilter$new( BBOX$new(bbox = bbox) )
cons <- CSWConstraint$new(filter = filter)
query <- CSWQuery$new(elementSetName = "brief", constraint = cons)
CSWRecordProperty
Description
CSWRecordProperty
CSWRecordProperty
Format
R6Class object.
Value
Object of R6Class for modelling an CSW RecordProperty
Super class
ows4R::OGCAbstractObject -> CSWRecordProperty
Public fields
wrapinternal property for XML encoding
Namename property for request XML encoding
Valueproperty for request XML encoding
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 an object of class CSWRecordProperty
Usage
CSWRecordProperty$new(name, value, cswVersion = "2.0.2")
Arguments
namename
valuevalue
cswVersionCSW service version. Default is "2.0.2"
Method clone()
The objects of this class are cloneable with this method.
Usage
CSWRecordProperty$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
rp <- CSWRecordProperty$new(name = "NAME", value = "VALUE")
rp_xml <- rp$encode() #see how it looks in XML
CSWTransaction
Description
CSWTransaction
CSWTransaction
Format
R6Class object.
Value
Object of R6Class for modelling a CSW Transaction request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> CSWTransaction
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a CSWTransaction service request
Usage
CSWTransaction$new( capabilities, op, url, serviceVersion, type, user = NULL, pwd = NULL, token = NULL, headers = list(), record = NULL, recordProperty = NULL, constraint = NULL, logger = NULL, ... )
Arguments
capabilitiesan object of class CSWCapabilities
opobject of class OWSOperation as retrieved from capabilities
urlurl
serviceVersionserviceVersion. Default is "2.0.2
typetype of transaction, either "Insert", "Update", or "Delete"
useruser
pwdpassword
tokentoken
headersheaders
recordrecord
recordPropertyrecord property
constraintconstraint
loggerlogger
...any parameter to pass to the service request
Method clone()
The objects of this class are cloneable with this method.
Usage
CSWTransaction$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a CSW Transaction request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Not
Description
Not
Not
Format
R6Class object.
Value
Object of R6Class for modelling an Not
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::UnaryLogicOpType -> Not
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()ows4R::OGCExpression$getExprVersion()ows4R::UnaryLogicOpType$setExprVersion()
Method new()
Initializes an Not expression
Usage
Not$new(...)
Arguments
...list of objects of class OGCExpression
Method clone()
The objects of this class are cloneable with this method.
Usage
Not$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr <- PropertyIsEqualTo$new(PropertyName = "property", Literal = "value")
not <- Not$new(expr)
not_xml <- not$encode() #see how it looks like in XML
OGCAbstractObject
Description
OGCAbstractObject
OGCAbstractObject
Format
R6Class object.
Value
Object of R6Class for modelling an OGCAbstractObject
Public fields
verbose.infologicalproperty to indicate whether INFO logs have to be displayedverbose.debuglogicalproperty to indicate whether DEBUG logs have to be displayedloggerTypelogger type, either
NULL, "INFO", or "DEBUG"wrapinternal property for XML encoding
elementelement used for XML encoding
namespacenamespace used for XML encoding
defaultsdefault values to be used for XML encoding
attrsattributes to be used for XML encoding
Methods
Public methods
Method logger()
A basic logger function
Usage
OGCAbstractObject$logger(type, text)
Arguments
typetype of logs message.
textlog message text to be displayed
Method INFO()
a basic INFO logger function
Usage
OGCAbstractObject$INFO(text)
Arguments
textlog message text to be displayed
Method WARN()
a basic WARN logger function
Usage
OGCAbstractObject$WARN(text)
Arguments
textlog message text to be displayed
Method ERROR()
a basic ERROR logger function
Usage
OGCAbstractObject$ERROR(text)
Arguments
textlog message text to be displayed
Method new()
Initializes an object extending OGCAbstractObject
Usage
OGCAbstractObject$new( xml = NULL, element = NULL, namespacePrefix = NULL, attrs = list(), defaults = list(), wrap = FALSE, logger = NULL )
Arguments
xmlobject of class XMLInternalNode-class from XML
elementelement name
namespacePrefixnamespace prefix for XML encoding
attrslist of attributes
defaultslist of default values
wrapwhether XML element has to be wrapped during XML encoding
loggerlogger
Method getClassName()
Get class name
Usage
OGCAbstractObject$getClassName()
Returns
an object of class character
Method getClass()
Get class
Usage
OGCAbstractObject$getClass()
Returns
an object of class R6Class
Method isFieldInheritedFrom()
Utility to return the parent class in which field is defined
Usage
OGCAbstractObject$isFieldInheritedFrom(field)
Arguments
fieldfield name
Returns
object of class R6Class
Method getNamespaceDefinition()
Gets the namespace definition
Usage
OGCAbstractObject$getNamespaceDefinition(recursive = FALSE)
Arguments
recursiveGet all namespace recursively
Returns
the namespace definitions as named list
Method encode()
Encodes as XML. The addNS .
Extra parameters related to geometa objects: geometa_validate (TRUE by default) and geometa_inspire
(FALSE by default) can be used to perform ISO and INSPIRE validation respectively. In that case on object of class
geometa::INSPIREMetadataValidator, with a proper user API key, should be specified as geometa_inspireValidator
argument.
Usage
OGCAbstractObject$encode( addNS = TRUE, geometa_validate = TRUE, geometa_inspire = FALSE, geometa_inspireValidator = NULL )
Arguments
addNSaddNS controls the addition of XML namespaces
geometa_validateRelates to geometa object ISO validation. Default is
TRUEgeometa_inspireRelates to geometa object INSPIRE validation. Default is
FALSEgeometa_inspireValidatorRelates to geometa object INSPIRE validation. Default is
NULL
Returns
an object of class XMLInternalNode-class from XML
Method print()
Provides a custom print output (as tree) of the current class
Usage
OGCAbstractObject$print(..., depth = 1)
Arguments
...args
depthclass nesting depth
Method clone()
The objects of this class are cloneable with this method.
Usage
OGCAbstractObject$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
abstract class used by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OGCExpression
Description
OGCExpression
OGCExpression
Format
R6Class object.
Value
Object of R6Class for modelling an OGC Expression
Super class
ows4R::OGCAbstractObject -> OGCExpression
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 an object of class OGCExpression
Usage
OGCExpression$new( element, namespacePrefix, attrs = NULL, defaults = NULL, exprVersion = "1.1.0" )
Arguments
elementelement name
namespacePrefixXML namespace prefix
attrsattributes
defaultsdefault values
exprVersionOGC version for the expression
Method setExprVersion()
Sets expression version. The methods will control proper XML namespace prefix setting
Usage
OGCExpression$setExprVersion(exprVersion)
Arguments
exprVersionOGC expression version
Method getExprVersion()
Gets expression version
Usage
OGCExpression$getExprVersion()
Returns
object of class character
Method clone()
The objects of this class are cloneable with this method.
Usage
OGCExpression$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
abstract class
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OGCFilter
Description
OGCFilter
OGCFilter
Format
R6Class object.
Value
Object of R6Class for modelling an OGC Filter
Super class
ows4R::OGCAbstractObject -> OGCFilter
Public fields
exprOGC expression
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 an object of class OGCFilter.
Usage
OGCFilter$new(expr, filterVersion = "1.1.0")
Arguments
exprobject of class OGCExpression
filterVersionOGC filter version. Default is "1.1.0"
Method setFilterVersion()
Sets the OGC filter version
Usage
OGCFilter$setFilterVersion(filterVersion)
Arguments
filterVersionOGC filter version
Method clone()
The objects of this class are cloneable with this method.
Usage
OGCFilter$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr <- PropertyIsEqualTo$new(PropertyName = "property", Literal = "value")
not <- Not$new(expr)
not_xml <- not$encode() #see how it looks like in XML
OWSBoundingBox
Description
OWSBoundingBox
OWSBoundingBox
Format
R6Class object.
Value
Object of R6Class for modelling an OGC Bounding Box
Super class
ows4R::OGCAbstractObject -> OWSBoundingBox
Public fields
attrsattributes to be associated to XML
LowerCornerlower corner coordinates
UpperCornerupper corner coordinates
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 an object of class OWSBoundingBox
Usage
OWSBoundingBox$new( xml = NULL, element = NULL, namespacePrefix = NULL, owsVersion, serviceVersion, logger = NULL )
Arguments
xmlan object of class XMLInternalNode-class to initialize from XML
elementelement name
namespacePrefixnamespace prefix
owsVersionOWS version
serviceVersionservice version
loggerlogger
Method decode()
Decodes an object of class OWSBoundingBox from XML
Usage
OWSBoundingBox$decode(xml)
Arguments
xmlobject of class XMLInternalNode-class from XML
Method getBBOX()
Get BBOX as object of class bbox from sf package
Usage
OWSBoundingBox$getBBOX()
Returns
a numeric vector of length four, with xmin, ymin, xmax and ymax values
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSBoundingBox$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSGetCapabilities
Description
OWSGetCapabilities
OWSGetCapabilities
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an abstract
OWS Get Capabilities document.
Super class
ows4R::OGCAbstractObject -> OWSCapabilities
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 OWSCapabilities object
Usage
OWSCapabilities$new( element = NULL, namespacePrefix = NULL, url, service, owsVersion, serviceVersion, logger = NULL, ... )
Arguments
elementelement
namespacePrefixnamespace prefix
urlurl
serviceservice
owsVersionOWS version
serviceVersionservice version
loggerlogger type
NULL, "INFO" or "DEBUG"...any other parameter to pass to OWSGetCapabilities service request
Method setClient()
Sets the OGC client
Usage
OWSCapabilities$setClient(client)
Arguments
clientan object extending OWSClient
Method getClient()
Get client
Usage
OWSCapabilities$getClient()
Arguments
anobject extending OWSClient
Method getUrl()
Get URL
Usage
OWSCapabilities$getUrl()
Returns
an object of class character
Method getService()
Get service
Usage
OWSCapabilities$getService()
Returns
an object of class character
Method getServiceVersion()
Get service version
Usage
OWSCapabilities$getServiceVersion()
Returns
an object of class character
Method getOWSVersion()
Get OWS version
Usage
OWSCapabilities$getOWSVersion()
Returns
an object of class character
Method getRequest()
Get request
Usage
OWSCapabilities$getRequest()
Returns
an object of class OWSGetCapabilities
Method getServiceIdentification()
Get service identification
Usage
OWSCapabilities$getServiceIdentification()
Returns
an object of class OWSServiceIdentification
Method getServiceProvider()
Get service provider
Usage
OWSCapabilities$getServiceProvider()
Returns
an object of class OWSServiceProvider
Method getOperationsMetadata()
Get service operations metadata
Usage
OWSCapabilities$getOperationsMetadata()
Returns
an object of class OWSOperationsMetadata
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSCapabilities$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
abstract class used by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSClient
Description
OWSClient
OWSClient
Format
R6Class object.
Value
Object of R6Class with methods for interfacing a Common OGC web-service.
Super class
ows4R::OGCAbstractObject -> OWSClient
Public fields
urlBase url of the OWS service
versionversion of the OWS service
capabilitiesobject giving the OWS service capabilities
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()
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
Usage
OWSClient$new( url, service, serviceVersion, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
Arguments
urlurl
serviceservice name
serviceVersionCSW service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
Method getUrl()
Get URL
Usage
OWSClient$getUrl()
Returns
the url of the service, object of class character
Method getVersion()
Get version
Usage
OWSClient$getVersion()
Returns
the version of the service, object of class character
Method getCapabilities()
Get capabilities
Usage
OWSClient$getCapabilities()
Returns
the capabilities, object of class OWSCapabilities
Method getUser()
Get user
Usage
OWSClient$getUser()
Returns
the user, object of class character
Method getPwd()
Get password
Usage
OWSClient$getPwd()
Returns
the password, object of class character
Method getToken()
Get token
Usage
OWSClient$getToken()
Returns
the token, object of class character
Method getHeaders()
Get headers
Usage
OWSClient$getHeaders()
Returns
the headers, object of class character
Method getConfig()
Get httr config
Usage
OWSClient$getConfig()
Returns
the httr config, if any
Method getCASUrl()
Get CAS URL
Usage
OWSClient$getCASUrl()
Returns
a CAS URL
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSClient$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Abstract class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSCodeType
Description
OWSCodeType
OWSCodeType
Format
R6Class object.
Value
Object of R6Class for modelling an OWS CodeType
Super class
ows4R::OGCAbstractObject -> OWSCodeType
Public fields
valuecode type
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 an object of class OWSCodeType
Usage
OWSCodeType$new(xml = NULL, owsVersion = "1.1", value)
Arguments
xmlobject of class XMLInternalNode-class from XML
owsVersionOWS version. Default is "1.1"
valuethe code type
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSCodeType$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSException
Description
OWSException
OWSException
Format
R6Class object.
Value
Object of R6Class modelling a OWS Service exception
Super class
ows4R::OGCAbstractObject -> OWSException
Public fields
ExceptionTextexception text
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 an object of class OWSException
Usage
OWSException$new(xmlObj, logger = NULL)
Arguments
xmlObjobject of class XMLInternalNode-class from XML
loggerlogger
Method getLocator()
Get exception locator
Usage
OWSException$getLocator()
Returns
the exception locator, object of class character
Method getCode()
Get exception code
Usage
OWSException$getCode()
Returns
the exception code, object of class character
Method getText()
Get exception text explanation
Usage
OWSException$getText()
Returns
the exception text, object of class character
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSException$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Abstract class used by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSGetCapabilities
Description
OWSGetCapabilities
OWSGetCapabilities
Format
R6Class object.
Value
Object of R6Class for modelling a GetCapabilities request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> OWSGetCapabilities
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes an OWSGetCapabilities service request
Usage
OWSGetCapabilities$new( element = NULL, namespacePrefix = NULL, url, service, version, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), ... )
Arguments
elementelement
namespacePrefixnamespace prefix
urlurl
serviceservice name
versionservice version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
...any other parameter to pass to the request
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSGetCapabilities$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a OWS GetCapabilities request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSHttpRequest
Description
OWSHttpRequest
OWSHttpRequest
Format
R6Class object.
Value
Object of R6Class for modelling a generic OWS http request
Super class
ows4R::OGCAbstractObject -> OWSHttpRequest
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 an OWS HTTP request
Usage
OWSHttpRequest$new( element, namespacePrefix, capabilities, op, type, url, request, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), namedParams = NULL, attrs = NULL, contentType = "text/xml", mimeType = "text/xml", skipXmlComments = TRUE, logger = NULL, ... )
Arguments
elementelement
namespacePrefixnamespace prefix
capabilitiesobject of class or extending OWSCapabilities
opobject of class OWSOperation
typetype of request, eg. GET, POST
urlurl
requestrequest name
useruser
pwdpassword
tokentoken
headersheaders
configconfig
namedParamsa named
listattrsattributes
contentTypecontent type. Default value is "text/xml"
mimeTypemime type. Default value is "text/xml"
skipXmlCommentsSkip XML comments from response
loggerlogger
...any other parameter
Method execute()
Executes the request
Usage
OWSHttpRequest$execute()
Method getCapabilities()
Get capabilities
Usage
OWSHttpRequest$getCapabilities()
Returns
an object of class or extending OWSCapabilities
Method getRequest()
Get request
Usage
OWSHttpRequest$getRequest()
Returns
the request
Method getRequestHeaders()
Get request headers
Usage
OWSHttpRequest$getRequestHeaders()
Returns
the request headers
Method getStatus()
get status code
Usage
OWSHttpRequest$getStatus()
Returns
the request status code
Method getResponse()
get request response
Usage
OWSHttpRequest$getResponse()
Returns
the request response
Method getException()
get request exception
Usage
OWSHttpRequest$getException()
Returns
the request exception
Method hasException()
Indicates if it has an exception
Usage
OWSHttpRequest$hasException()
Returns
TRUE if it has an exception, FALSE otherwise
Method getResult()
Get the result TRUE if the request is successful, FALSE otherwise
Usage
OWSHttpRequest$getResult()
Returns
the result, object of class logical
Method setResult()
Set the result
Usage
OWSHttpRequest$setResult(result)
Arguments
resultobject of class
logical
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSHttpRequest$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Abstract class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSNamespace
Description
OWSNamespace
OWSNamespace
Format
R6Class object.
Value
Object of R6Class for modelling an OWS Namespace
Public fields
idnamespace id
urinamespace uri
Methods
Public methods
Method new()
Initializes an OWSNamespace
Usage
OWSNamespace$new(id, uri)
Arguments
idid
uriuri
Method getDefinition()
Get namespace definition
Usage
OWSNamespace$getDefinition()
Returns
a named list with id and uri
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSNamespace$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
class used internally by ows4R for specifying XML namespaces
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSOperation
Description
OWSOperation
OWSOperation
Format
R6Class object.
Value
Object of R6Class for modelling an OGC Operation
Methods
Public methods
Method new()
Initializes an object of class OWSOperation.
Usage
OWSOperation$new(xmlObj, owsVersion, serviceVersion)
Arguments
xmlObjobject of class XMLInternalNode-class from XML
owsVersionOWS version
serviceVersionservice version
Method getName()
Get operation name
Usage
OWSOperation$getName()
Returns
an object of class character
Method getParameters()
Get parameters
Usage
OWSOperation$getParameters()
Returns
the parameters
Method getParameter()
Get parameter
Usage
OWSOperation$getParameter(name)
Arguments
namename
Returns
the parameter
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSOperation$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Internal class used internally by ows4R when reading capabilities documents
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSOperationsMetadata
Description
OWSOperationsMetadata
OWSOperationsMetadata
Format
R6Class object.
Value
Object of R6Class for modelling an OGC Operations Metadata
Methods
Public methods
Method new()
Initializes an OWSOperationsMetadata object
Usage
OWSOperationsMetadata$new(xmlObj, owsVersion, serviceVersion)
Arguments
xmlObjobject of class XMLInternalNode-class from XML
owsVersionOWS version
serviceVersionservice version
Method getOperations()
Get operations
Usage
OWSOperationsMetadata$getOperations()
Returns
a list of OWSOperation
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSOperationsMetadata$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Abstract class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSRequest
Description
OWSRequest
OWSRequest
Format
R6Class object.
Value
Object of R6Class modelling a OWS Service Capability Request
Super class
ows4R::OGCAbstractObject -> OWSRequest
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 an object of class OWSRequest
Usage
OWSRequest$new(xmlObj, capabilities, version, logger = NULL)
Arguments
xmlObjobject of class XMLInternalNode-class from XML
capabilitiesan object of class or extending OWSCapabilities
versionversion
loggerlogger
Method getName()
Get request name
Usage
OWSRequest$getName()
Returns
the name, object of class character
Method getFormats()
Get request formats
Usage
OWSRequest$getFormats()
Returns
the formats, object (vector) of class character
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSRequest$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Abstract class used by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSServiceIdentification
Description
OWSServiceIdentification
OWSServiceIdentification
Format
R6Class object.
Value
Object of R6Class for modelling an OGC Service Identification
Methods
Public methods
Method new()
Initializes an object of class OWSServiceIdentification
Usage
OWSServiceIdentification$new(xmlObj, owsVersion, serviceVersion)
Arguments
xmlObjobject of class XMLInternalNode-class from XML
owsVersionOWS version
serviceVersionservice version
Method getName()
Get service identification - name
Usage
OWSServiceIdentification$getName()
Returns
the name, object of class character
Method getTitle()
Get service identification - title
Usage
OWSServiceIdentification$getTitle()
Returns
the title, object of class character
Method getAbstract()
Get service identification - abstract
Usage
OWSServiceIdentification$getAbstract()
Returns
the abstract, object of class character
Method getKeywords()
Get service identification - keywords
Usage
OWSServiceIdentification$getKeywords()
Returns
the keywords, object of class character
Method getOnlineResource()
Get service identification - online resource
Usage
OWSServiceIdentification$getOnlineResource()
Returns
the online resource, object of class character
Method getServiceType()
Get service identification - service type
Usage
OWSServiceIdentification$getServiceType()
Returns
the service type, object of class character
Method getServiceTypeVersion()
Get service identification - service type version
Usage
OWSServiceIdentification$getServiceTypeVersion()
Returns
the service type version, object of class character
Method getFees()
Get service identification - fees
Usage
OWSServiceIdentification$getFees()
Returns
the fees, object of class character
Method getAccessConstraints()
Get service identification - access constraints
Usage
OWSServiceIdentification$getAccessConstraints()
Returns
the access constraints, object of class character
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSServiceIdentification$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Abstract class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSServiceProvider
Description
OWSServiceProvider
OWSServiceProvider
Format
R6Class object.
Value
Object of R6Class for modelling an OGC Service Provider
Methods
Public methods
Method new()
Initializes an object of class OWSServiceProvider
Usage
OWSServiceProvider$new(xmlObj, owsVersion, serviceVersion)
Arguments
xmlObjobject of class XMLInternalNode-class from XML
owsVersionOWS version
serviceVersionservice version
Method getProviderName()
Get provider name
Usage
OWSServiceProvider$getProviderName()
Arguments
theprovider name, object of class
character
Method getProviderSite()
Get provider site
Usage
OWSServiceProvider$getProviderSite()
Arguments
theprovider site, object of class
character
Method getServiceContact()
Get provider contact
Usage
OWSServiceProvider$getServiceContact()
Arguments
theprovider contact, object of class ISOResponsibleParty from geometa
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSServiceProvider$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Abstract class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
OWSUtils
Description
OWSUtils
Usage
OWSUtils
Format
R6Class object.
Value
set of OWS Utilities
Static methods
getNamespaces()-
Get the namespaces associated to a given XML object
findNamespace(namespaces, id, uri)-
Finds a namespace by id or by URI
toBBOX(xmin, xmax, ymin, ymax)-
Creates a bbox matrix from min/max x/y coordinates
findP4s(srsName, morphToESRI)-
Finds the PROJ4 string definition for a given srsName
toCRS(srsName)-
Converts a srsName into a CRS object
toEPSG(crs)-
Get the EPSG code from a CRS object
getAspectRatio(bbox)-
Get the aspect ratio for a given bbox
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
#toBBOX
bbox <- OWSUtils$toBBOX(-180,-90,180,90)
#toCRS
crs <- OWSUtils$toCRS("EPSG:4326")
OWSWGS84BoundingBox
Description
OWSWGS84BoundingBox
OWSWGS84BoundingBox
Format
R6Class object.
Value
Object of R6Class for modelling an OGC WS84 BoundingBox
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSBoundingBox -> OWSWGS84BoundingBox
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()ows4R::OWSBoundingBox$decode()ows4R::OWSBoundingBox$getBBOX()
Method new()
Initializes an object of class OWSBoundingBox
Usage
OWSWGS84BoundingBox$new(xml = NULL, owsVersion, serviceVersion, logger = NULL)
Arguments
xmlan object of class XMLInternalNode-class to initialize from XML
owsVersionOWS version
serviceVersionservice version
loggerlogger
Method clone()
The objects of this class are cloneable with this method.
Usage
OWSWGS84BoundingBox$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by geometa
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Or
Description
Or
Or
Format
R6Class object.
Value
Object of R6Class for modelling an Or operator
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryLogicOpType -> Or
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()ows4R::OGCExpression$getExprVersion()ows4R::BinaryLogicOpType$setExprVersion()
Method new()
Initializes an Or expression
Usage
Or$new(...)
Arguments
...list of objects of class OGCExpression
Method clone()
The objects of this class are cloneable with this method.
Usage
Or$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr1 <- PropertyIsEqualTo$new(PropertyName = "property1", Literal = "value1")
expr2 <- PropertyIsEqualTo$new(PropertyName = "property2", Literal = "value2")
or <- Or$new(expr1,expr2)
or_xml <- or$encode() #see how it looks like in XML
PropertyIsBetween
Description
PropertyIsBetween
PropertyIsBetween
Format
R6Class object.
Value
Object of R6Class for modelling an PropertyIsBetween
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> PropertyIsBetween
Public fields
PropertyNameproperty name field for XML encoding
lowerlower value
upperupper value
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()ows4R::OGCExpression$getExprVersion()ows4R::OGCExpression$setExprVersion()
Method new()
Initializes an object extending PropertyIsLike
Usage
PropertyIsBetween$new(PropertyName, lower, upper)
Arguments
PropertyNameproperty name
lowerlower value
upperupper value
Method clone()
The objects of this class are cloneable with this method.
Usage
PropertyIsBetween$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr <- PropertyIsBetween$new(PropertyName = "property", lower = 1, upper = 10)
expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsEqualTo
Description
PropertyIsEqualTo
PropertyIsEqualTo
Format
R6Class object.
Value
Object of R6Class for modelling an PropertyIsEqualTo
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsEqualTo
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()ows4R::OGCExpression$getExprVersion()ows4R::OGCExpression$setExprVersion()
Method new()
Initializes an object extending PropertyIsEqualTo
Usage
PropertyIsEqualTo$new(PropertyName, Literal, matchCase = NA)
Arguments
PropertyNameproperty name
Literalliteral
matchCasematch case
Method clone()
The objects of this class are cloneable with this method.
Usage
PropertyIsEqualTo$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr <- PropertyIsEqualTo$new(PropertyName = "property", Literal = "value")
expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsGreaterThan
Description
PropertyIsGreaterThan
PropertyIsGreaterThan
Format
R6Class object.
Value
Object of R6Class for modelling an PropertyIsGreaterThan
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsGreaterThan
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()ows4R::OGCExpression$getExprVersion()ows4R::OGCExpression$setExprVersion()
Method new()
Initializes an object extending PropertyIsGreaterThan
Usage
PropertyIsGreaterThan$new(PropertyName, Literal, matchCase = NA)
Arguments
PropertyNameproperty name
Literalliteral
matchCasematch case
Method clone()
The objects of this class are cloneable with this method.
Usage
PropertyIsGreaterThan$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr <- PropertyIsGreaterThan$new(PropertyName = "property", Literal = "value")
expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsGreaterThanOrEqualTo
Description
PropertyIsGreaterThanOrEqualTo
PropertyIsGreaterThanOrEqualTo
Format
R6Class object.
Value
Object of R6Class for modelling an PropertyIsGreaterThanOrEqualTo
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsGreaterThanOrEqualTo
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()ows4R::OGCExpression$getExprVersion()ows4R::OGCExpression$setExprVersion()
Method new()
Initializes an object extending PropertyIsGreaterThanOrEqualTo
Usage
PropertyIsGreaterThanOrEqualTo$new(PropertyName, Literal, matchCase = NA)
Arguments
PropertyNameproperty name
Literalliteral
matchCasematch case
Method clone()
The objects of this class are cloneable with this method.
Usage
PropertyIsGreaterThanOrEqualTo$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr <- PropertyIsGreaterThanOrEqualTo$new(PropertyName = "property", Literal = "value")
expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsLessThan
Description
PropertyIsLessThan
PropertyIsLessThan
Format
R6Class object.
Value
Object of R6Class for modelling an PropertyIsLessThan
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsLessThan
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()ows4R::OGCExpression$getExprVersion()ows4R::OGCExpression$setExprVersion()
Method new()
Initializes an object extending PropertyIsLessThan
Usage
PropertyIsLessThan$new(PropertyName, Literal, matchCase = NA)
Arguments
PropertyNameproperty name
Literalliteral
matchCasematch case
Method clone()
The objects of this class are cloneable with this method.
Usage
PropertyIsLessThan$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr <- PropertyIsLessThan$new(PropertyName = "property", Literal = "value")
expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsLesserThanOrEqualTo
Description
PropertyIsLesserThanOrEqualTo
PropertyIsLesserThanOrEqualTo
Format
R6Class object.
Value
Object of R6Class for modelling an PropertyIsLesserThanOrEqualTo
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsLessThanOrEqualTo
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()ows4R::OGCExpression$getExprVersion()ows4R::OGCExpression$setExprVersion()
Method new()
Initializes an object extending PropertyIsLessThanOrEqualTo
Usage
PropertyIsLessThanOrEqualTo$new(PropertyName, Literal, matchCase = NA)
Arguments
PropertyNameproperty name
Literalliteral
matchCasematch case
Method clone()
The objects of this class are cloneable with this method.
Usage
PropertyIsLessThanOrEqualTo$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr <- PropertyIsLessThanOrEqualTo$new(PropertyName = "property", Literal = "value")
expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsLike
Description
PropertyIsLike
PropertyIsLike
Format
R6Class object.
Value
Object of R6Class for modelling an PropertyIsLike
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> PropertyIsLike
Public fields
PropertyNameproperty name field for XML encoding
Literalliteral field for XML encoding
attrsattributes for XML encoding
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()ows4R::OGCExpression$getExprVersion()ows4R::OGCExpression$setExprVersion()
Method new()
Initializes an object extending PropertyIsLike
Usage
PropertyIsLike$new( PropertyName, Literal, escapeChar = "\\", singleChar = "_", wildCard = "%", matchCase = NA )
Arguments
PropertyNameproperty name
Literalliteral
escapeCharescape character. Default is "\"
singleCharsingle character. Default is "_"
wildCardwildcard
matchCasematch case
Method clone()
The objects of this class are cloneable with this method.
Usage
PropertyIsLike$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr <- PropertyIsLike$new(PropertyName = "property", Literal = "value")
expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsNotEqualTo
Description
PropertyIsNotEqualTo
PropertyIsNotEqualTo
Format
R6Class object.
Value
Object of R6Class for modelling an PropertyIsNotEqualTo
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsNotEqualTo
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()ows4R::OGCExpression$getExprVersion()ows4R::OGCExpression$setExprVersion()
Method new()
Initializes an object extending PropertyIsNotEqualTo
Usage
PropertyIsNotEqualTo$new(PropertyName, Literal, matchCase = NA)
Arguments
PropertyNameproperty name
Literalliteral
matchCasematch case
Method clone()
The objects of this class are cloneable with this method.
Usage
PropertyIsNotEqualTo$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr <- PropertyIsNotEqualTo$new(PropertyName = "property", Literal = "value")
expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsNull
Description
PropertyIsNull
PropertyIsNull
Format
R6Class object.
Value
Object of R6Class for modelling an PropertyIsNull
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> PropertyIsNull
Public fields
PropertyNameproperty name field for XML encoding
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()ows4R::OGCExpression$getExprVersion()ows4R::OGCExpression$setExprVersion()
Method new()
Initializes an object extending PropertyIsLike
Usage
PropertyIsNull$new(PropertyName)
Arguments
PropertyNameproperty name
Method clone()
The objects of this class are cloneable with this method.
Usage
PropertyIsNull$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
expr <- PropertyIsNull$new(PropertyName = "property")
expr_xml <- expr$encode() #see how it looks like in XML
UnaryLogicOpType
Description
UnaryLogicOpType
UnaryLogicOpType
Format
R6Class object.
Value
Object of R6Class for modelling an UnaryLogicOpType
Super classes
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> UnaryLogicOpType
Public fields
operationsa list OGC expressions
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()ows4R::OGCExpression$getExprVersion()
Method new()
Initializes a UnaryLogicOpType expression
Usage
UnaryLogicOpType$new(..., element, namespacePrefix, exprVersion = "1.1.0")
Arguments
...list of objects of class OGCExpression
elementelement
namespacePrefixnamespacePrefix
exprVersionOGC expression version. Default is "1.1.0"
Method setExprVersion()
Sets expression version. The methods will control that expression versions are set for each of the operations specified in the expression.
Usage
UnaryLogicOpType$setExprVersion(exprVersion)
Arguments
exprVersionOGC expression version
Method clone()
The objects of this class are cloneable with this method.
Usage
UnaryLogicOpType$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
abstract super class of all the unary logical operation classes
WCSCapabilities
Description
WCSCapabilities
WCSCapabilities
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an OGC
Web Coverage Service Get Capabilities document.
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSCapabilities -> WCSCapabilities
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()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()
Method new()
Initializes a WCSCapabilities object
Usage
WCSCapabilities$new(url, version, client = NULL, logger = NULL, ...)
Arguments
urlurl
versionversion
clientan object of class WCSClient
loggerlogger type
NULL, "INFO" or "DEBUG"...any other parameter to pass to OWSGetCapabilities service request
Method getCoverageSummaries()
Get coverage summaries
Usage
WCSCapabilities$getCoverageSummaries()
Returns
a list of WCSCoverageSummary objects
Method findCoverageSummaryById()
Finds a coverage by name
Usage
WCSCapabilities$findCoverageSummaryById(expr, exact = FALSE)
Arguments
exprexpr
exactexact matching? Default is
TRUE
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSCapabilities$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
## Not run:
WCSCapabilities$new("http://localhost:8080/geoserver/wcs", serviceVersion = "2.0.1")
## End(Not run)
WCSClient
Description
WCSClient
WCSClient
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an OGC
Web Coverage Service.
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSClient -> WCSClient
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()ows4R::OWSClient$getCASUrl()ows4R::OWSClient$getConfig()ows4R::OWSClient$getHeaders()ows4R::OWSClient$getPwd()ows4R::OWSClient$getToken()ows4R::OWSClient$getUrl()ows4R::OWSClient$getUser()ows4R::OWSClient$getVersion()
Method new()
This method is used to instantiate a WCSClient 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
Usage
WCSClient$new( url, serviceVersion = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
Arguments
urlurl
serviceVersionWFS service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
Method getCapabilities()
Get WCS capabilities
Usage
WCSClient$getCapabilities()
Returns
an object of class WCSCapabilities
Method reloadCapabilities()
Reloads WCS capabilities
Usage
WCSClient$reloadCapabilities()
Method describeCoverage()
Describes coverage
Usage
WCSClient$describeCoverage(identifier)
Arguments
identifieridentifier
Returns
an object of class WCSCoverageDescription
Method getCoverage()
Get coverage
Usage
WCSClient$getCoverage( identifier, bbox = NULL, crs = NULL, time = NULL, format = NULL, rangesubset = NULL, gridbaseCRS = NULL, gridtype = NULL, gridCS = NULL, gridorigin = NULL, gridoffsets = NULL, method = "GET", filename = NULL, ... )
Arguments
identifierCoverage identifier. Object of class
characterbboxbbox. 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 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
elevationelevation. Object of class
characterornumeric. Default isNULL
Returns
an object of class SpatRaster from terra
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSClient$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
## Not run:
wcs <- WCSClient$new("http://localhost:8080/geoserver/wcs", serviceVersion = "2.0.1")
## End(Not run)
WCSCoverage
Description
WCSCoverage
WCSCoverage
Format
R6Class object.
Value
Object of R6Class modelling a WCS coverage
Super class
ows4R::OGCAbstractObject -> WCSCoverage
Public fields
descriptiondescription
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 an object of class WCSCoverage
Usage
WCSCoverage$new(xmlObj, serviceVersion, owsVersion, logger = NULL)
Arguments
xmlObjobject of class XMLInternalNode-class
serviceVersionWCS service version
owsVersionOWS version
loggerlogger
Method getIdentifier()
Get identifier
Usage
WCSCoverage$getIdentifier()
Returns
an object of class character
Method getTitle()
Get title
Usage
WCSCoverage$getTitle()
Returns
an object of class character
Method getAbstract()
Get abstract
Usage
WCSCoverage$getAbstract()
Returns
an object of class character
Method getReference()
Get reference
Usage
WCSCoverage$getReference()
Returns
an object of class character
Method getData()
Get data
Usage
WCSCoverage$getData(filename = NULL)
Arguments
filenamefilename. Optional file name where to download the coverage
Returns
an object of class SpatRaster from terra
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSCoverage$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WCSCoverageDescription
Description
WCSCoverageDescription
WCSCoverageDescription
Format
R6Class object.
Value
Object of R6Class modelling a WCS coverage summary
Super classes
geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::GMLAbstractObject -> geometa::GMLAbstractFeature -> geometa::GMLAbstractCoverage -> geometa::GMLCOVAbstractCoverage -> WCSCoverageDescription
Public fields
CoverageIdcoverage ID
SupportedCRSsupported CRS
SupportedFormatsupported Format
Domaindomain
Rangerange
ServiceParametersservice parmaeters
Methods
Public methods
Inherited methods
geometa::geometaLogger$ERROR()geometa::geometaLogger$INFO()geometa::geometaLogger$WARN()geometa::ISOAbstractObject$addFieldAttrs()geometa::ISOAbstractObject$addListElement()geometa::ISOAbstractObject$checkMetadataStandardCompliance()geometa::ISOAbstractObject$contains()geometa::ISOAbstractObject$createLocalisedProperty()geometa::ISOAbstractObject$decode()geometa::ISOAbstractObject$delListElement()geometa::ISOAbstractObject$encode()geometa::ISOAbstractObject$getClass()geometa::ISOAbstractObject$getClassName()geometa::ISOAbstractObject$getNamespaceDefinition()geometa::ISOAbstractObject$isDocument()geometa::ISOAbstractObject$isFieldInheritedFrom()geometa::ISOAbstractObject$print()geometa::ISOAbstractObject$save()geometa::ISOAbstractObject$setAttr()geometa::ISOAbstractObject$setCodeList()geometa::ISOAbstractObject$setCodeListValue()geometa::ISOAbstractObject$setCodeSpace()geometa::ISOAbstractObject$setHref()geometa::ISOAbstractObject$setId()geometa::ISOAbstractObject$setIsNull()geometa::ISOAbstractObject$setValue()geometa::ISOAbstractObject$stopIfMetadataStandardIsNot()geometa::ISOAbstractObject$validate()geometa::ISOAbstractObject$wrapBaseElement()geometa::GMLAbstractFeature$setBoundedBy()geometa::GMLAbstractCoverage$setDomainSet()geometa::GMLAbstractCoverage$setRangeSet()
Method new()
Initializes an object of class WCSCoverageDescription
Usage
WCSCoverageDescription$new(xmlObj, serviceVersion, owsVersion, logger = NULL)
Arguments
xmlObjan object of class XMLInternalNode-class to initialize from XML
serviceVersionservice version
owsVersionOWS version
loggerlogger
Method getId()
getId
Usage
WCSCoverageDescription$getId()
Returns
the coverage id, object of class character
Method getSupportedCRS()
getSupported CRS. Applies to WCS 1 coverage descriptions
Usage
WCSCoverageDescription$getSupportedCRS()
Method getSupportedFormats()
get supported formats. Applies to WCS 1 coverage descriptions
Usage
WCSCoverageDescription$getSupportedFormats()
Method getDomain()
get domain. Applies to WCS 1 coverage descriptions
Usage
WCSCoverageDescription$getDomain()
Method getRange()
get range. Applies to WCS 1.0 coverage descriptions
Usage
WCSCoverageDescription$getRange()
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSCoverageDescription$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WCSCoverageDomain
Description
WCSCoverageDomain
WCSCoverageDomain
Format
R6Class object.
Value
Object of R6Class modelling a WCS coverage domain
Super class
ows4R::OGCAbstractObject -> WCSCoverageDomain
Public fields
spatialDomainspatial domain
temporalDomaintemporal domain
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 an object of class WCSCoverageDomain
Usage
WCSCoverageDomain$new(xmlObj, serviceVersion, owsVersion, logger = NULL)
Arguments
xmlObjan object of class XMLInternalNode-class to initialize from XML
serviceVersionservice version
owsVersionOWS version
loggerlogger
Method getSpatialDomain()
Get spatial domain
Usage
WCSCoverageDomain$getSpatialDomain()
Returns
object of class WCSCoverageSpatialDomain
Method getTemporalDomain()
Get spatial domain
Usage
WCSCoverageDomain$getTemporalDomain()
Returns
object of class WCSCoverageTemporalDomain
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSCoverageDomain$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WCSCoverageFilenameHandler
Description
WCSCoverageFilenameHandler provides a coverage filename handler for coverage download
Usage
WCSCoverageFilenameHandler(identifier, time, elevation, bbox, format)
Arguments
identifier |
coverage identifier |
time |
time |
elevation |
elevation |
bbox |
bbox |
format |
format |
Value
the filename to use for coverage download
Author(s)
Emmanuel Blondel, emmanuel.blondel1@gmail.com
WCSCoverageSpatialDomain
Description
WCSCoverageSpatialDomain
WCSCoverageSpatialDomain
Format
R6Class object.
Value
Object of R6Class modelling a WCS coverage spatial domain
Super class
ows4R::OGCAbstractObject -> WCSCoverageSpatialDomain
Public fields
envelopesenvelopes. For WCS 1.0
BoundingBoxbounding box. For WCS 1.1
gridsFor WCS 1.0
GridCRSgrid CRS. For WCS 1.1
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 an object of class WCSCoverageDomain
Usage
WCSCoverageSpatialDomain$new(xmlObj, serviceVersion, owsVersion, logger = NULL)
Arguments
xmlObjan object of class XMLInternalNode-class to initialize from XML
serviceVersionservice version
owsVersionOWS version
loggerlogger
Method getEnvelopes()
Get envelopes. Method that applies to WCS 1.0 only
Usage
WCSCoverageSpatialDomain$getEnvelopes()
Returns
a list of objects of class GMLEnvelope or GMLEnvelopeWithTimePeriod
Method getBoundingBox()
Get bounding boxes. Method that applies to WCS 1.1 only
Usage
WCSCoverageSpatialDomain$getBoundingBox()
Returns
a list of objects of class OWSBoundingBox
Method getGrids()
Get grids. Method that applies to WCS 1.0 only
Usage
WCSCoverageSpatialDomain$getGrids()
Returns
a list of of objects of class GMLGrid or GMLRectifiedGrid
Method getGridCRS()
Get Grid CRS. Method that applies to WCS 1.1 only
Usage
WCSCoverageSpatialDomain$getGridCRS()
Returns
a list of objects of class WCSGridCRS
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSCoverageSpatialDomain$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
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>
WCSCoverageTemporalDomain
Description
WCSCoverageTemporalDomain
WCSCoverageTemporalDomain
Format
R6Class object.
Value
Object of R6Class modelling a WCS coverage temporal domain
Super class
ows4R::OGCAbstractObject -> WCSCoverageTemporalDomain
Public fields
instantsinstants
periodsperiods
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 an object of class WCSCoverageTemporalDomain
Usage
WCSCoverageTemporalDomain$new( xmlObj, serviceVersion, owsVersion, logger = NULL )
Arguments
xmlObjan object of class XMLInternalNode-class to initialize from XML
serviceVersionservice version
owsVersionOWS version
loggerlogger
Method getInstants()
Get time instants
Usage
WCSCoverageTemporalDomain$getInstants()
Returns
a list of objects of class POSIXct
Method getPeriods()
Get time periods
Usage
WCSCoverageTemporalDomain$getPeriods()
Returns
a list of objects of class GMLTimePeriod
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSCoverageTemporalDomain$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WCSDescribeCoverage
Description
WCSDescribeCoverage
WCSDescribeCoverage
Format
R6Class object.
Value
Object of R6Class for modelling a WCS DescribeCoverage request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WCSDescribeCoverage
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a WCSDescribeCoverage service request
Usage
WCSDescribeCoverage$new( capabilities, op, url, serviceVersion, coverageId, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
Arguments
capabilitiesan object of class WCSCapabilities
opobject of class OWSOperation as retrieved from capabilities
urlurl
serviceVersionserviceVersion
coverageIdcoverage ID
useruser
pwdpassword
tokentoken
headersheaders
configconfig
loggerlogger
...any parameter to pass to the service request
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSDescribeCoverage$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a WCS DescribeCoverage request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WCSGSElevationDomain
Description
WCSGSElevationDomain
WCSGSElevationDomain
Format
R6Class object.
Value
Object of R6Class modelling a WCS geoserver elevation domain object
Super classes
geometa::geometaLogger -> geometa::ISOAbstractObject -> WCSGSElevationDomain
Public fields
SingleValuesingle values
Methods
Public methods
Inherited methods
geometa::geometaLogger$ERROR()geometa::geometaLogger$INFO()geometa::geometaLogger$WARN()geometa::ISOAbstractObject$addFieldAttrs()geometa::ISOAbstractObject$addListElement()geometa::ISOAbstractObject$checkMetadataStandardCompliance()geometa::ISOAbstractObject$contains()geometa::ISOAbstractObject$createLocalisedProperty()geometa::ISOAbstractObject$delListElement()geometa::ISOAbstractObject$encode()geometa::ISOAbstractObject$getClass()geometa::ISOAbstractObject$getClassName()geometa::ISOAbstractObject$getNamespaceDefinition()geometa::ISOAbstractObject$initialize()geometa::ISOAbstractObject$isDocument()geometa::ISOAbstractObject$isFieldInheritedFrom()geometa::ISOAbstractObject$print()geometa::ISOAbstractObject$save()geometa::ISOAbstractObject$setAttr()geometa::ISOAbstractObject$setCodeList()geometa::ISOAbstractObject$setCodeListValue()geometa::ISOAbstractObject$setCodeSpace()geometa::ISOAbstractObject$setHref()geometa::ISOAbstractObject$setId()geometa::ISOAbstractObject$setIsNull()geometa::ISOAbstractObject$setValue()geometa::ISOAbstractObject$stopIfMetadataStandardIsNot()geometa::ISOAbstractObject$validate()geometa::ISOAbstractObject$wrapBaseElement()
Method decode()
Decodes from XML
Usage
WCSGSElevationDomain$decode(xml)
Arguments
xmlobject of class XMLInternalNode-class from XML
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSGSElevationDomain$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Experimental
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WCSGSTimeDomain
Description
WCSGSTimeDomain
WCSGSTimeDomain
Format
R6Class object.
Value
Object of R6Class modelling a WCS geoserver time domain object
Super classes
geometa::geometaLogger -> geometa::ISOAbstractObject -> WCSGSTimeDomain
Public fields
TimeInstanttime instants
Methods
Public methods
Inherited methods
geometa::geometaLogger$ERROR()geometa::geometaLogger$INFO()geometa::geometaLogger$WARN()geometa::ISOAbstractObject$addFieldAttrs()geometa::ISOAbstractObject$addListElement()geometa::ISOAbstractObject$checkMetadataStandardCompliance()geometa::ISOAbstractObject$contains()geometa::ISOAbstractObject$createLocalisedProperty()geometa::ISOAbstractObject$delListElement()geometa::ISOAbstractObject$encode()geometa::ISOAbstractObject$getClass()geometa::ISOAbstractObject$getClassName()geometa::ISOAbstractObject$getNamespaceDefinition()geometa::ISOAbstractObject$initialize()geometa::ISOAbstractObject$isDocument()geometa::ISOAbstractObject$isFieldInheritedFrom()geometa::ISOAbstractObject$print()geometa::ISOAbstractObject$save()geometa::ISOAbstractObject$setAttr()geometa::ISOAbstractObject$setCodeList()geometa::ISOAbstractObject$setCodeListValue()geometa::ISOAbstractObject$setCodeSpace()geometa::ISOAbstractObject$setHref()geometa::ISOAbstractObject$setId()geometa::ISOAbstractObject$setIsNull()geometa::ISOAbstractObject$setValue()geometa::ISOAbstractObject$stopIfMetadataStandardIsNot()geometa::ISOAbstractObject$validate()geometa::ISOAbstractObject$wrapBaseElement()
Method decode()
Decodes from XML
Usage
WCSGSTimeDomain$decode(xml)
Arguments
xmlobject of class XMLInternalNode-class from XML
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSGSTimeDomain$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Experimental
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WCSGetCoverage
Description
WCSGetCoverage
WCSGetCoverage
Format
R6Class object.
Value
Object of R6Class for modelling a WCS GetCoverage request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WCSGetCoverage
Public fields
CoverageIdcoverage identifier
formatcoverage format
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a WCSGetCoverage service request
Usage
WCSGetCoverage$new( capabilities, op, url, serviceVersion, coverage, envelope = NULL, crs = NULL, time = NULL, elevation = NULL, format = NULL, rangesubset = NULL, gridbaseCRS = NULL, gridtype = NULL, gridCS = NULL, gridorigin = NULL, gridoffsets = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), method = "GET", logger = NULL, ... )
Arguments
capabilitiesan object of class WCSCapabilities
opobject of class OWSOperation as retrieved from capabilities
urlurl
serviceVersionserviceVersion
coveragecoverage, object of class WCSCoverageSummary
envelopeenvelope
crscrs
timetime
elevationelevation
formatformat
rangesubsetrange subset
gridbaseCRSgrid base CRS
gridtypegrid type
gridCSgrid CS
gridorigingrid origin
gridoffsetsgrid offsets
useruser
pwdpassword
tokentoken
headersheaders
configconfig
methodmethod
loggerlogger
...any parameter to pass to the service request
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSGetCoverage$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a WCS GetCoverage request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WCSGridCRS
Description
WCSGridCRS
WCSGridCRS
Format
R6Class object.
Value
Object of R6Class modelling a WCS grid CRS
Super class
ows4R::OGCAbstractObject -> WCSGridCRS
Public fields
GridBaseCRSgrid base CRS
GridTypegrid type
GridOrigingrid origin
GridOffsetsgrid offsets
GridCSgrid CS
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 an object of class WCSGridCRS
Usage
WCSGridCRS$new(xmlObj, serviceVersion, owsVersion, logger = NULL)
Arguments
xmlObjan object of class XMLInternalNode-class to initialize from XML
serviceVersionservice version
owsVersionOWS version
loggerlogger
Method clone()
The objects of this class are cloneable with this method.
Usage
WCSGridCRS$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WFSCapabilities
Description
WFSCapabilities
WFSCapabilities
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an OGC
Web Feature Service Get Capabilities document.
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSCapabilities -> WFSCapabilities
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()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()
Method new()
Initializes a WFSCapabilities object
Usage
WFSCapabilities$new(url, version, logger = NULL, ...)
Arguments
urlurl
versionversion
loggerlogger type
NULL, "INFO" or "DEBUG"...any other parameter to pass to OWSGetCapabilities service request
Method getFeatureTypes()
List the feature types available. If pretty is TRUE,
the output will be an object of class data.frame
Usage
WFSCapabilities$getFeatureTypes(pretty = FALSE)
Arguments
prettywhether the output should be summarized as
data.frame
Returns
a list of WFSFeatureType or a data.frame
Method findFeatureTypeByName()
Finds a feature type by name
Usage
WFSCapabilities$findFeatureTypeByName(expr, exact = TRUE)
Arguments
exprexpr
exactexact matching? Default is
TRUE
Method clone()
The objects of this class are cloneable with this method.
Usage
WFSCapabilities$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used to read a WFSCapabilities document. The use of WFSClient is
recommended instead to benefit from the full set of capabilities associated to a WFS server.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WFSClient
Description
WFSClient
WFSClient
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an OGC
Web Feature Service.
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSClient -> WFSClient
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()ows4R::OWSClient$getCASUrl()ows4R::OWSClient$getConfig()ows4R::OWSClient$getHeaders()ows4R::OWSClient$getPwd()ows4R::OWSClient$getToken()ows4R::OWSClient$getUrl()ows4R::OWSClient$getUser()ows4R::OWSClient$getVersion()
Method new()
This method is used to instantiate a WFSClient 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
Usage
WFSClient$new( url, serviceVersion = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
Arguments
urlurl
serviceVersionWFS service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
Method getCapabilities()
Get WFS capabilities
Usage
WFSClient$getCapabilities()
Returns
an object of class WFSCapabilities
Method reloadCapabilities()
Reloads WFS capabilities
Usage
WFSClient$reloadCapabilities()
Method describeFeatureType()
Describes a feature type
Usage
WFSClient$describeFeatureType(typeName)
Arguments
typeNamethe name of the feature type
Returns
a list of WFSFeatureTypeElement
Method getFeatures()
Get features
Usage
WFSClient$getFeatures(typeName, ...)
Arguments
typeNamethe name of the feature type
...any other parameter to pass to the WFSGetFeature request
Returns
features as object of class sf
Method getFeatureTypes()
List the feature types available. If pretty is TRUE,
the output will be an object of class data.frame
Usage
WFSClient$getFeatureTypes(pretty = FALSE)
Arguments
prettywhether the output should be summarized as
data.frame
Returns
a list of WFSFeatureType or a data.frame
Method clone()
The objects of this class are cloneable with this method.
Usage
WFSClient$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
## Not run:
#example based on a WFS endpoint responding at http://localhost:8080/geoserver/wfs
wfs <- WFSClient$new("http://localhost:8080/geoserver/wfs", serviceVersion = "1.1.1")
#get capabilities
caps <- wfs$getCapabilities()
#find feature type
ft <- caps$findFeatureTypeByName("mylayer")
if(length(ft)>0){
data <- ft$getFeatures()
data_with_filter <- ft$getFeatures(cql_filter = "somefilter")
}
#Advanced examples at https://github.com/eblondel/ows4R/wiki#wfs
## End(Not run)
WFSDescribeFeatureType
Description
WFSDescribeFeatureType
WFSDescribeFeatureType
Format
R6Class object.
Value
Object of R6Class for modelling a WFS DescribeFeatureType request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WFSDescribeFeatureType
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a WFSDescribeFeatureType service request
Usage
WFSDescribeFeatureType$new( capabilities, op, url, version, typeName, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
Arguments
capabilitiesan object of class WFSCapabilities
opobject of class OWSOperation as retrieved from capabilities
urlurl
versionservice version
typeNametypeName
useruser
pwdpwd
tokentoken
headersheaders
configconfig
loggerlogger
...any parameter to pass to the service request
Method clone()
The objects of this class are cloneable with this method.
Usage
WFSDescribeFeatureType$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Abstract class used by ows4R to trigger a WFS DescribeFeatureType request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WFSFeatureType
Description
WFSFeatureType
WFSFeatureType
Format
R6Class object.
Value
Object of R6Class modelling a WFS feature type
Super class
ows4R::OGCAbstractObject -> WFSFeatureType
Public fields
descriptiondescription
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 an object of class WFSFeatureType
Usage
WFSFeatureType$new(xmlObj, capabilities, version, logger = NULL)
Arguments
xmlObjan object of class XMLInternalNode-class to initialize from XML
capabilitiesobject of class WFSCapabilities
versionservice version
loggerlogger
Method getName()
Get feature type name
Usage
WFSFeatureType$getName()
Arguments
objectof class
character
Method getTitle()
Get feature type title
Usage
WFSFeatureType$getTitle()
Arguments
objectof class
character
Method getAbstract()
Get feature type abstract
Usage
WFSFeatureType$getAbstract()
Arguments
objectof class
character
Method getKeywords()
Get feature type keywords
Usage
WFSFeatureType$getKeywords()
Arguments
objectof class
character
Method getDefaultCRS()
Get feature type default CRS
Usage
WFSFeatureType$getDefaultCRS()
Arguments
objectof class
character
Method getBoundingBox()
Get feature type bounding box
Usage
WFSFeatureType$getBoundingBox()
Arguments
objectof class
matrix
Method getDescription()
Describes a feature type
Usage
WFSFeatureType$getDescription(pretty = FALSE)
Arguments
prettypretty whether to return a prettified
data.frame. Default isFALSE
Returns
a list of WFSFeatureTypeElement or data.frame
Method hasGeometry()
Indicates with feature type has a geometry
Usage
WFSFeatureType$hasGeometry()
Returns
object of class logical
Method getGeometryType()
Get geometry type
Usage
WFSFeatureType$getGeometryType()
Returns
object of class character representing the geometry tpe
Method getFeaturesCRS()
Inherits features CRS
Usage
WFSFeatureType$getFeaturesCRS(obj)
Arguments
objfeatures object
Returns
object of class integer
Method getFeatures()
Get features
Usage
WFSFeatureType$getFeatures( ..., validate = TRUE, outputFormat = NULL, paging = FALSE, paging_length = 1000, parallel = FALSE, parallel_handler = NULL, cl = NULL )
Arguments
...any other parameter to pass to the WFSGetFeature request
validateWhether features have to be validated vs. the feature type description. Default is
TRUEoutputFormatoutput format
pagingpaging. Default is
FALSEpaging_lengthnumber of features to request per page. Default is 1000
parallelwhether to get features using parallel multicore strategy. Default is
FALSEparallel_handlerHandler function to parallelize the code. eg mclapply
cloptional cluster object for parallel cluster approaches using eg.
parallel::makeClustertypeNamethe name of the feature type
Returns
features as object of class sf
Method clone()
The objects of this class are cloneable with this method.
Usage
WFSFeatureType$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a WFS DescribeFeatureType request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WFSFeatureTypeElement
Description
WFSFeatureTypeElement
WFSFeatureTypeElement
Format
R6Class object.
Value
Object of R6Class modelling a WFS feature type element
Super class
ows4R::OGCAbstractObject -> WFSFeatureTypeElement
Public fields
minOccursminOccurs
maxOccursmaxOccurs
nillablenillable
namename
typetype
geometrygeometry
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 WFSFeatureTypeElement
Usage
WFSFeatureTypeElement$new(xmlObj, namespaces)
Arguments
xmlObjobject of class XMLInternalNode-class from XML
namespacesnamespaces definitions inherited from parent XML, as
data.frame
Method getMinOccurs()
get min occurs
Usage
WFSFeatureTypeElement$getMinOccurs()
Returns
an object of class character
Method getMaxOccurs()
get max occurs
Usage
WFSFeatureTypeElement$getMaxOccurs()
Returns
an object of class character
Method isNillable()
get if nillable
Usage
WFSFeatureTypeElement$isNillable()
Returns
an object of class logical
Method getName()
get name
Usage
WFSFeatureTypeElement$getName()
Returns
an object of class character
Method getType()
get type
Usage
WFSFeatureTypeElement$getType()
Returns
an object of class character
Method isGeometry()
Is geometry
Usage
WFSFeatureTypeElement$isGeometry()
Arguments
returnobject of class
logical
Method clone()
The objects of this class are cloneable with this method.
Usage
WFSFeatureTypeElement$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Abstract class used by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WFSGetFeature
Description
WFSGetFeature
WFSGetFeature
Format
R6Class object.
Value
Object of R6Class for modelling a WFS GetFeature request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WFSGetFeature
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a WFSGetFeature service request
Usage
WFSGetFeature$new( capabilities, op, url, version, typeName, outputFormat = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
Arguments
capabilitiesan object of class WFSCapabilities
opobject of class OWSOperation as retrieved from capabilities
urlurl
versionservice version
typeNametypeName
outputFormatoutput format
useruser
pwdpassword
tokentoken
headersheaders
configconfig
loggerlogger
...any parameter to pass to the service request
Method clone()
The objects of this class are cloneable with this method.
Usage
WFSGetFeature$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a WFS GetFeature request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WMSCapabilities
Description
WMSCapabilities
WMSCapabilities
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an OGC
Web Map Service Get Capabilities document.
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSCapabilities -> WMSCapabilities
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()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()
Method new()
Initializes a WMSCapabilities object
Usage
WMSCapabilities$new(url, version, logger = NULL, ...)
Arguments
urlurl
versionversion
loggerlogger type
NULL, "INFO" or "DEBUG"...any other parameter to pass to OWSGetCapabilities service request
Method getRequests()
List the requests available. If pretty is TRUE,
the output will be an object of class data.frame
Usage
WMSCapabilities$getRequests(pretty = FALSE)
Arguments
prettypretty
Returns
a list of OWSRequest available, or a data.frame
Method getRequestNames()
List the names of requests available.
Usage
WMSCapabilities$getRequestNames()
Returns
object of class character
Method getLayers()
List the layers available. If pretty is TRUE,
the output will be an object of class data.frame
Usage
WMSCapabilities$getLayers(pretty = FALSE)
Arguments
prettypretty
Returns
a list of WMSLayer available, or a data.frame
Method findLayerByName()
Finds a layer by name
Usage
WMSCapabilities$findLayerByName(expr, exact = TRUE)
Arguments
exprexpr
exactexact matching? Default is
TRUE
Method clone()
The objects of this class are cloneable with this method.
Usage
WMSCapabilities$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used to read a WMSCapabilities document. The use of WMSClient is
recommended instead to benefit from the full set of capabilities associated to a WMS server.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WMSClient
Description
WMSClient
WMSClient
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an OGC
Web Map Service.
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSClient -> WMSClient
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()ows4R::OWSClient$getCASUrl()ows4R::OWSClient$getConfig()ows4R::OWSClient$getHeaders()ows4R::OWSClient$getPwd()ows4R::OWSClient$getToken()ows4R::OWSClient$getUrl()ows4R::OWSClient$getUser()ows4R::OWSClient$getVersion()
Method new()
This method is used to instantiate a WMSClient 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
Usage
WMSClient$new( url, serviceVersion = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
Arguments
urlurl
serviceVersionWFS service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
Method getCapabilities()
Get WMS capabilities
Usage
WMSClient$getCapabilities()
Returns
an object of class WMSCapabilities
Method reloadCapabilities()
Reloads WFS capabilities
Usage
WMSClient$reloadCapabilities()
Method getLayers()
List the layers available. If pretty is TRUE,
the output will be an object of class data.frame
Usage
WMSClient$getLayers(pretty = FALSE)
Arguments
prettypretty
Returns
a list of WMSLayer available, or a data.frame
Method getMap()
Get map. NOT YET IMPLEMENTED
Usage
WMSClient$getMap()
Method getFeatureInfo()
Get feature info
Usage
WMSClient$getFeatureInfo( layer, srs = NULL, styles = NULL, feature_count = 1, x, y, width, height, bbox, info_format = "application/vnd.ogc.gml", ... )
Arguments
layerlayer name
srssrs
stylesstyles
feature_countfeature count. Default is 1
xx
yy
widthwidth
heightheight
bboxbbox
info_formatinfo format. Default is "application/vnd.ogc.gml"
...any other parameter to pass to a WMSGetFeatureInfo request
Returns
an object of class sf given the feature(s)
Method getLegendGraphic()
Get legend graphic. NOT YET IMPLEMENTED
Usage
WMSClient$getLegendGraphic()
Method clone()
The objects of this class are cloneable with this method.
Usage
WMSClient$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
## Not run:
#example based on a WMS endpoint responding at http://localhost:8080/geoserver/wms
wms <- WMSClient$new("http://localhost:8080/geoserver/wms", serviceVersion = "1.1.1")
#get capabilities
caps <- wms$getCapabilities()
#get feature info
#Advanced examples at https://github.com/eblondel/ows4R/wiki#wms
## End(Not run)
WMSGetFeatureInfo
Description
WMSGetFeatureInfo
WMSGetFeatureInfo
Format
R6Class object.
Value
Object of R6Class for modelling a WMS GetFeatureInfo request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WMSGetFeatureInfo
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a WMSGetFeatureInfo service request
Usage
WMSGetFeatureInfo$new( capabilities, op, url, version, layers, srs, styles, feature_count = 1, x, y, width, height, bbox, info_format = "text/xml", user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
Arguments
capabilitiesan object of class WMSCapabilities
opobject of class OWSOperation as retrieved from capabilities
urlurl
versionversion
layerslayers
srssrs
stylesstyles
feature_countfeature count
xx
yy
widthwidth
heightheight
bboxbbox
info_formatinfo format
useruser
pwdpwd
tokentoken
headersheaders
configconfig
loggerlogger
...any parameter to pass to the service request
Method clone()
The objects of this class are cloneable with this method.
Usage
WMSGetFeatureInfo$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a WMS GetFeatureInfo request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WMSLayer
Description
WMSLayer
WMSLayer
Format
R6Class object.
Value
Object of R6Class modelling a WMS layer
Super class
ows4R::OGCAbstractObject -> WMSLayer
Public fields
descriptiondescription
featuresfeatures
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 an object of class WMSLayer
Usage
WMSLayer$new(xmlObj, capabilities, version, logger = NULL)
Arguments
xmlObjan object of class XMLInternalNode-class to initialize from XML
capabilitiesobject of class WMSCapabilities
versionservice version
loggerlogger
Method getName()
Get layer name
Usage
WMSLayer$getName()
Returns
object of class character
Method getTitle()
Get layer title
Usage
WMSLayer$getTitle()
Returns
object of class character
Method getAbstract()
Get layer abstract
Usage
WMSLayer$getAbstract()
Returns
object of class character
Method getKeywords()
Get layer keywords
Usage
WMSLayer$getKeywords()
Returns
object of class character
Method getDefaultCRS()
Get layer default CRS
Usage
WMSLayer$getDefaultCRS()
Returns
object of class character
Method getBoundingBox()
Get layer bounding box
Usage
WMSLayer$getBoundingBox()
Returns
object of class matrix
Method getBoundingBoxSRS()
Get layer bounding box SRS
Usage
WMSLayer$getBoundingBoxSRS()
Returns
object of class character
Method getBoundingBoxCRS()
Get layer bounding box CRS
Usage
WMSLayer$getBoundingBoxCRS()
Returns
object of class character
Method getStyles()
Get layer styles
Usage
WMSLayer$getStyles()
Returns
an object of class list
Method getStylenames()
Get layer style names
Usage
WMSLayer$getStylenames()
Returns
list of object of class character
Method getDimensions()
Get layer dimensions
Usage
WMSLayer$getDimensions(time_format = "character")
Arguments
time_formattime format. Default is
character
Returns
a list including default value and listed possible values
Method getTimeDimension()
Get layer TIME dimensions
Usage
WMSLayer$getTimeDimension(time_format = "character")
Arguments
time_formattime format. Default is
character
Returns
a list including default value and listed possible values
Method getElevationDimension()
Get layer ELEVATION dimensions
Usage
WMSLayer$getElevationDimension()
Returns
a list including default value and listed possible values
Method getFeatureInfo()
Get feature info
Usage
WMSLayer$getFeatureInfo( srs = NULL, styles = NULL, feature_count = 1, x, y, width, height, bbox, info_format = "text/xml", ... )
Arguments
srssrs
stylesstyles
feature_countfeature count. Default is 1
xx
yy
widthwidth
heightheight
bboxbbox
info_formatinfo format. Default is "text/xml"
...any other parameter to pass to a WMSGetFeatureInfo request
Returns
an object of class sf given the feature(s)
Method clone()
The objects of this class are cloneable with this method.
Usage
WMSLayer$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Abstract class used by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSBoundingBoxData
Description
WPSBoundingBoxData
WPSBoundingBoxData
Format
R6Class object.
Value
Object of R6Class for modelling an OGC WPS BoundingBox data
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSBoundingBox -> WPSBoundingBoxData
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()ows4R::OWSBoundingBox$decode()ows4R::OWSBoundingBox$getBBOX()
Method new()
Initializes an object of class WPSBoundingBoxData
Usage
WPSBoundingBoxData$new( xml = NULL, owsVersion, serviceVersion = "1.0.0", logger = NULL, ... )
Arguments
xmlan object of class XMLInternalNode-class to initialize from XML
owsVersionOWS version
serviceVersionWPS service version
loggerlogger
...any other parameter
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSBoundingBoxData$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSCapabilities
Description
WPSCapabilities
WPSCapabilities
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an OGC
Web Processing Service (WPS) Get Capabilities document.
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSCapabilities -> WPSCapabilities
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()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()
Method new()
Initializes a WPSCapabilities object
Usage
WPSCapabilities$new(url, version, client = NULL, logger = NULL, ...)
Arguments
urlurl
versionversion
clientan object of class WPSClient
loggerlogger type
NULL, "INFO" or "DEBUG"...any other parameter to pass to OWSGetCapabilities service request
Method getProcesses()
Get the list of processes offered by the service capabilities. pretty allows to control
the type output. If TRUE, a data.frame will be returned. When prettified output, it
is also possible to get a 'full' description of the process by setting full = TRUE in which
case a the WPS client will request a process description (with more information about the process) for
each process listed in the capabilities.
Usage
WPSCapabilities$getProcesses(pretty = FALSE, full = FALSE)
Arguments
prettypretty
fullfull
Returns
a list of WPSProcessDescription or a data.frame
Method describeProcess()
Get the description of a process, given its identifier, returning an object of class WPSProcessDescription
Usage
WPSCapabilities$describeProcess(identifier)
Arguments
identifierprocess identifier
Returns
an object of class WPSProcessDescription
Method execute()
Execute a process, given its identifier
Usage
WPSCapabilities$execute( identifier, dataInputs = list(), responseForm = NULL, storeExecuteResponse = FALSE, lineage = NULL, status = NULL, update = FALSE, updateInterval = 1 )
Arguments
identifierprocess identifier
dataInputsa named list of data inputs, objects of class WPSLiteralData, WPSComplexData or WPSBoundingBoxData
responseFormresponse form, object of class WPSResponseDocument
storeExecuteResponsestore execute response? object of class
logical.FALSEby defaultlineagelineage, object of class
logicalstatusstatus, object of class
logicalupdateupdate, object of class
logical. For asynchronous requestsupdateIntervalupdate interval, object of class
integer. For asynchronous requests
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSCapabilities$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used to read a WPSCapabilities document. The use of WPSClient is
recommended instead to benefit from the full set of capabilities associated to a WPS server.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSClient
Description
WPSClient
WPSClient
Format
R6Class object.
Value
Object of R6Class with methods for interfacing an OGC
Web Processing Service.
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSClient -> WPSClient
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()ows4R::OWSClient$getCASUrl()ows4R::OWSClient$getConfig()ows4R::OWSClient$getHeaders()ows4R::OWSClient$getPwd()ows4R::OWSClient$getToken()ows4R::OWSClient$getUrl()ows4R::OWSClient$getUser()ows4R::OWSClient$getVersion()
Method new()
This method is used to instantiate a WPSClient 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
Usage
WPSClient$new( url, serviceVersion = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
Arguments
urlurl
serviceVersionWFS service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
Method getCapabilities()
Get WPS capabilities
Usage
WPSClient$getCapabilities()
Returns
an object of class WPSCapabilities
Method reloadCapabilities()
Reloads WPS capabilities
Usage
WPSClient$reloadCapabilities()
Method getProcesses()
Get the list of processes offered by the service capabilities. pretty allows to control
the type output. If TRUE, a data.frame will be returned. When prettified output, it
is also possible to get a 'full' description of the process by setting full = TRUE in which
case a the WPS client will request a process description (with more information about the process) for
each process listed in the capabilities.
Usage
WPSClient$getProcesses(pretty = FALSE, full = FALSE)
Arguments
prettypretty
fullfull
Returns
a list of WPSProcessDescription or a data.frame
Method describeProcess()
Get the description of a process, given its identifier, returning an object of class WPSProcessDescription
Usage
WPSClient$describeProcess(identifier)
Arguments
identifierprocess identifier
Returns
an object of class WPSProcessDescription
Method execute()
Execute a process, given its identifier
Usage
WPSClient$execute( identifier, dataInputs = list(), responseForm = NULL, storeExecuteResponse = FALSE, lineage = NULL, status = NULL, update = FALSE, updateInterval = 1 )
Arguments
identifierprocess identifier
dataInputsa named list of data inputs, objects of class WPSLiteralData, WPSComplexData or WPSBoundingBoxData
responseFormresponse form, object of class WPSResponseDocument
storeExecuteResponsestore execute response? object of class
logical.FALSEby defaultlineagelineage, object of class
logicalstatusstatus, object of class
logicalupdateupdate, object of class
logical. For asynchronous requestsupdateIntervalupdate interval, object of class
integer. For asynchronous requests
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSClient$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
Examples
## Not run:
#example based on a WPS endpoint responding at http://localhost:8080/geoserver/wps
wps <- WPSClient$new("http://localhost:8080/geoserver/wps", serviceVersion = "1.0.0")
#get capabilities
caps <- wps$getCapabilities()
## End(Not run)
WPSComplexData
Description
WPSComplexData
WPSComplexData
Format
R6Class object.
Value
Object of R6Class for modelling a WPS Complex Data
Super class
ows4R::OGCAbstractObject -> WPSComplexData
Public fields
valuevalue
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 an object of class WPSComplexData
Usage
WPSComplexData$new( xml = NULL, value = NULL, schema = NULL, mimeType = NULL, serviceVersion = "1.0.0", cdata = TRUE )
Arguments
xmlan object of class XMLInternalNode-class to initialize from XML
valuevalue
schemaschema
mimeTypemime type
serviceVersionWPS service version
cdatawhether value has to be wrapped in a XML CDATA. Default is
TRUE
Method decode()
Decodes an object of class WPSComplexData from XML
Usage
WPSComplexData$decode(xml)
Arguments
xmlan object of class XMLInternalNode-class to initialize from XML
Method checkValidity()
Check the object against a parameter description inherited from a WPS process description,
object of class WPSComplexInputDescription. If not valid, the function will raise an error.
Usage
WPSComplexData$checkValidity(parameterDescription)
Arguments
parameterDescriptionobject of class WPSComplexInputDescription
Returns
an error if not valid
Method getFeatures()
Get features
Usage
WPSComplexData$getFeatures()
Returns
object of class sf
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSComplexData$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSComplexInputDescription
Description
WPSComplexInputDescription
WPSComplexInputDescription
Format
R6Class object.
Value
Object of R6Class modelling a WPS process complex input description
Super classes
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> ows4R::WPSInputDescription -> WPSComplexInputDescription
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()ows4R::WPSParameter$getAbstract()ows4R::WPSParameter$getIdentifier()ows4R::WPSParameter$getTitle()ows4R::WPSDescriptionParameter$getDataType()ows4R::WPSDescriptionParameter$getFormats()ows4R::WPSInputDescription$asDataFrame()ows4R::WPSInputDescription$getMaxOccurs()ows4R::WPSInputDescription$getMinOccurs()
Method new()
Initializes a WPSComplexInputDescription
Usage
WPSComplexInputDescription$new(xml = NULL, version, logger = NULL, ...)
Arguments
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSComplexInputDescription$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSComplexOutputDescription
Description
WPSComplexOutputDescription
WPSComplexOutputDescription
Format
R6Class object.
Value
Object of R6Class modelling a WPS process complex input description
Super classes
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> ows4R::WPSOutputDescription -> WPSComplexOutputDescription
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()ows4R::WPSParameter$getAbstract()ows4R::WPSParameter$getIdentifier()ows4R::WPSParameter$getTitle()ows4R::WPSDescriptionParameter$getDataType()ows4R::WPSDescriptionParameter$getFormats()
Method new()
Initializes a WPSComplexOutputDescription
Usage
WPSComplexOutputDescription$new(xml = NULL, version, logger = NULL, ...)
Arguments
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSComplexOutputDescription$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSDescribeProcess
Description
WPSDescribeProcess
WPSDescribeProcess
Format
R6Class object.
Value
Object of R6Class for modelling a WPS DescribeProcess request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WPSDescribeProcess
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a WPSDescribeProcess service request
Usage
WPSDescribeProcess$new( capabilities, op, url, serviceVersion, identifier, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
Arguments
capabilitiesobject of class WPSCapabilities
opobject of class OWSOperation
urlurl
serviceVersionWPS service version
identifierprocess identifier
useruser
pwdpassword
tokentoken
headersheaders
configconfig
loggerlogger
...any other parameter to pass to the request
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSDescribeProcess$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a WPS DescribeProcess request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSDescriptionParameter
Description
WPSDescriptionParameter
WPSDescriptionParameter
Format
R6Class object.
Value
Object of R6Class modelling a WPS process input description parameter
Super classes
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> WPSDescriptionParameter
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()ows4R::WPSParameter$getAbstract()ows4R::WPSParameter$getIdentifier()ows4R::WPSParameter$getTitle()
Method new()
Initializes a WPSDescriptionParameter
Usage
WPSDescriptionParameter$new(xml = NULL, version, logger = NULL, ...)
Arguments
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
Method getDataType()
Get data type
Usage
WPSDescriptionParameter$getDataType()
Returns
object of class character
Method getFormats()
get formats
Usage
WPSDescriptionParameter$getFormats()
Returns
the formats
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSDescriptionParameter$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSException
Description
WPSException
WPSException
Format
R6Class object.
Value
Object of R6Class for modelling a WPS Exception
Super class
ows4R::OGCAbstractObject -> WPSException
Public fields
valuevalue
percentCompletedpercent of completion
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 WPSException
Usage
WPSException$new(xml = NULL, serviceVersion = "1.0.0")
Arguments
xmlobject of class XMLInternalNode-class from XML
serviceVersionservice version. Default "1.0.0"
Method decode()
Decodes an object of class WPSException from XML
Usage
WPSException$decode(xml)
Arguments
xmlobject of class XMLInternalNode-class from XML
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSException$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSExecute
Description
WPSExecute
WPSExecute
Format
R6Class object.
Value
Object of R6Class for modelling a WPS Execute request
Super classes
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WPSExecute
Public fields
Identifierprocess identifier
DataInputslist of WPSInput
ResponseFormresponse form
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()ows4R::OWSHttpRequest$execute()ows4R::OWSHttpRequest$getCapabilities()ows4R::OWSHttpRequest$getException()ows4R::OWSHttpRequest$getRequest()ows4R::OWSHttpRequest$getRequestHeaders()ows4R::OWSHttpRequest$getResponse()ows4R::OWSHttpRequest$getResult()ows4R::OWSHttpRequest$getStatus()ows4R::OWSHttpRequest$hasException()ows4R::OWSHttpRequest$setResult()
Method new()
Initializes a WPSExecute service request
Usage
WPSExecute$new( capabilities, op, url, serviceVersion, identifier, dataInputs = list(), responseForm = NULL, storeExecuteResponse = FALSE, lineage = NULL, status = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
Arguments
capabilitiesobject of class WPSCapabilities
opobject of class OWSOperation
urlurl
serviceVersionWPS service version
identifierprocess identifier
dataInputsa named list of data inputs, objects of class WPSLiteralData, WPSComplexData or WPSBoundingBoxData
responseFormresponse form, object of class WPSResponseDocument
storeExecuteResponsestore execute response? object of class
logical.FALSEby defaultlineagelineage, object of class
logicalstatusstatus, object of class
logicaluseruser
pwdpassword
tokentoken
headersheaders
configconfig
loggerlogger
...any other parameter to pass to the request
Method getProcessDescription()
Get process description
Usage
WPSExecute$getProcessDescription()
Returns
an object of class WPSProcessDescription
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSExecute$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R to trigger a WPS Execute request
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSExecuteResponse
Description
WPSExecuteResponse
WPSExecuteResponse
Format
R6Class object.
Value
Object of R6Class for modelling a WPS Execute response
Super class
ows4R::OGCAbstractObject -> WPSExecuteResponse
Public fields
processprocess
statusstatus
statusLocationstatus location
statusHistorystatus history
processOutputsprocess outputs
exceptionexception
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 WPSExecuteResponse
Usage
WPSExecuteResponse$new( xml, capabilities, processDescription = NULL, logger = NULL )
Arguments
xmlobject of class XMLInternalNode-class from XML
capabilitiesobject of class WPSCapabilities
processDescriptionprocess description
loggerlogger
Method getProcess()
Get process
Usage
WPSExecuteResponse$getProcess()
Returns
an object of class WPSProcess
Method getStatus()
Get status
Usage
WPSExecuteResponse$getStatus()
Returns
an object of class WPSStatus
Method getStatusLocation()
Get status location
Usage
WPSExecuteResponse$getStatusLocation()
Returns
an object of class character
Method getStatusHistory()
Get status history
Usage
WPSExecuteResponse$getStatusHistory()
Returns
an object of class character
Method getProcessOutputs()
Get list of process outputs
Usage
WPSExecuteResponse$getProcessOutputs()
Returns
a list of outputs
Method getException()
Get exception
Usage
WPSExecuteResponse$getException()
Returns
an object of class WPSException
Method decode()
Decodes an object of class WPSExecuteResponse from XML
Usage
WPSExecuteResponse$decode(xml, capabilities, processDescription, logger)
Arguments
xmlobject of class XMLInternalNode-class from XML
capabilitiesobject of class WPSCapabilities
processDescriptionprocess description
loggerlogger
Method update()
Updates status history
Usage
WPSExecuteResponse$update(verbose = FALSE)
Arguments
verboseverbose. Default is
FALSE
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSExecuteResponse$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSFormat
Description
WPSFormat
WPSFormat
Format
R6Class object.
Value
Object of R6Class modelling a WPS process input description
Super class
ows4R::OGCAbstractObject -> WPSFormat
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 an object of class WPSFormat
Usage
WPSFormat$new(xml = NULL, version, logger = NULL, ...)
Arguments
xmlan object of class XMLInternalNode-class to initialize from XML
versionWPS service version
loggerlogger
...any additional parameter
Method getMimeType()
Get mime type
Usage
WPSFormat$getMimeType()
Returns
object of class character
Method getEncoding()
Get encoding
Usage
WPSFormat$getEncoding()
Returns
object of class character
Method getSchema()
Get schema
Usage
WPSFormat$getSchema()
Returns
object of class character
Method setIsDefault()
set is default
Usage
WPSFormat$setIsDefault(default)
Arguments
defaultobject of class
logical
Method isDefault()
is default
Usage
WPSFormat$isDefault()
Returns
TRUE if default, FALSE otherwise
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSFormat$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSInput
Description
WPSInput
WPSInput
Format
R6Class object.
Value
Object of R6Class for modelling a WPS Input
Super class
ows4R::OGCAbstractObject -> WPSInput
Public fields
Identifieridentifier
Datadata
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 WPSInput
Usage
WPSInput$new(xml = NULL, identifier, data, serviceVersion = "1.0.0")
Arguments
xmlobject of class XMLInternalNode-class from XML
identifieridentifier
datadata
serviceVersionservice version. Default "1.0.0"
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSInput$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSInputDescription
Description
WPSInputDescription
WPSInputDescription
Format
R6Class object.
Value
Object of R6Class modelling a WPS process input description
Super classes
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> WPSInputDescription
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()ows4R::WPSParameter$getAbstract()ows4R::WPSParameter$getIdentifier()ows4R::WPSParameter$getTitle()ows4R::WPSDescriptionParameter$getDataType()ows4R::WPSDescriptionParameter$getFormats()
Method new()
Initializes a WPSInputDescription
Usage
WPSInputDescription$new(xml = NULL, version, logger = NULL, ...)
Arguments
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
Method getMinOccurs()
Get min occurs
Usage
WPSInputDescription$getMinOccurs()
Returns
the min occurs
Method getMaxOccurs()
Get max occurs
Usage
WPSInputDescription$getMaxOccurs()
Returns
the max occurs
Method asDataFrame()
Get intput description as data.frame
Usage
WPSInputDescription$asDataFrame()
Returns
object of class character
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSInputDescription$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSLiteralData
Description
WPSLiteralData
WPSLiteralData
Format
R6Class object.
Value
Object of R6Class for modelling a WPS Literal Data
Super class
ows4R::OGCAbstractObject -> WPSLiteralData
Public fields
valuevalue
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 an object of class WPSLiteralData
Usage
WPSLiteralData$new(xml = NULL, value = NULL, serviceVersion = "1.0.0")
Arguments
xmlan object of class XMLInternalNode-class to initialize from XML
valuevalue
serviceVersionWPS service version
Method decode()
Decodes an object of class WPSLiteralData from XML
Usage
WPSLiteralData$decode(xml)
Arguments
xmlan object of class XMLInternalNode-class to initialize from XML
Method checkValidity()
Check the object against a parameter description inherited from a WPS process description,
object of class WPSLiteralInputDescription. If not valid, the function will raise an error.
Usage
WPSLiteralData$checkValidity(parameterDescription)
Arguments
parameterDescriptionobject of class WPSLiteralInputDescription
Returns
an error if not valid
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSLiteralData$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSLiteralInputDescription
Description
WPSLiteralInputDescription
WPSLiteralInputDescription
Format
R6Class object.
Value
Object of R6Class modelling a WPS process input description
Super classes
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> ows4R::WPSInputDescription -> WPSLiteralInputDescription
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()ows4R::WPSParameter$getAbstract()ows4R::WPSParameter$getIdentifier()ows4R::WPSParameter$getTitle()ows4R::WPSDescriptionParameter$getFormats()ows4R::WPSInputDescription$asDataFrame()ows4R::WPSInputDescription$getMaxOccurs()ows4R::WPSInputDescription$getMinOccurs()
Method new()
Initializes a WPSLiteralInputDescription
Usage
WPSLiteralInputDescription$new(xml = NULL, version, logger = NULL, ...)
Arguments
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
Method getDataType()
Get data type
Usage
WPSLiteralInputDescription$getDataType()
Returns
the data type, object of class character
Method getDefaultValue()
Get default value
Usage
WPSLiteralInputDescription$getDefaultValue()
Returns
the default value, object of class character
Method getAllowedValues()
Get allowed values
Usage
WPSLiteralInputDescription$getAllowedValues()
Returns
the allowed values
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSLiteralInputDescription$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSLiteralOutputDescription
Description
WPSLiteralOutputDescription
WPSLiteralOutputDescription
Format
R6Class object.
Value
Object of R6Class modelling a WPS process literal output description
Super classes
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> ows4R::WPSOutputDescription -> WPSLiteralOutputDescription
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()ows4R::WPSParameter$getAbstract()ows4R::WPSParameter$getIdentifier()ows4R::WPSParameter$getTitle()ows4R::WPSDescriptionParameter$getDataType()ows4R::WPSDescriptionParameter$getFormats()
Method new()
Initializes a WPSLiteralOutputDescription
Usage
WPSLiteralOutputDescription$new(xml = NULL, version, logger = NULL, ...)
Arguments
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSLiteralOutputDescription$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSOutput
Description
WPSOutput
WPSOutput
Format
R6Class object.
Value
Object of R6Class for modelling a WPS Input
Super class
ows4R::OGCAbstractObject -> WPSOutput
Public fields
Identifieridentifier
Titletile
Datadata
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 WPSOutput
Usage
WPSOutput$new( xml = NULL, identifier = NULL, title = NULL, data = NULL, dataType = NULL, serviceVersion = "1.0.0" )
Arguments
xmlobject of class XMLInternalNode-class from XML
identifieridentifier
titletitle
datadata
dataTypedata type
serviceVersionWPS service version
Method decode()
Decodes an object of class WPSOutput from XML
Usage
WPSOutput$decode(xml)
Arguments
xmlobject of class XMLInternalNode-class from XML
Method getData()
Get data
Usage
WPSOutput$getData()
Returns
data
Method getDataValue()
Get data value
Usage
WPSOutput$getDataValue()
Returns
data value
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSOutput$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSOutputDescription
Description
WPSOutputDescription
WPSOutputDescription
Format
R6Class object.
Value
Object of R6Class modelling a WPS process input description
Super classes
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> WPSOutputDescription
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()ows4R::WPSParameter$getAbstract()ows4R::WPSParameter$getIdentifier()ows4R::WPSParameter$getTitle()ows4R::WPSDescriptionParameter$getDataType()ows4R::WPSDescriptionParameter$getFormats()
Method new()
Initializes a WPSOutputDescription
Usage
WPSOutputDescription$new(xml = NULL, version, logger = NULL, ...)
Arguments
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSOutputDescription$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSParameter
Description
WPSParameter
WPSParameter
Format
R6Class object.
Value
Object of R6Class modelling a WPS parameter
Super class
ows4R::OGCAbstractObject -> WPSParameter
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 an object of class WPSParameter
Usage
WPSParameter$new(xml = NULL, version, logger = NULL, ...)
Arguments
xmlan object of class XMLInternalNode-class to initialize from XML
versionWPS service version
loggerlogger
...any additional parameter
Method getIdentifier()
Get identifier
Usage
WPSParameter$getIdentifier()
Returns
object of class character
Method getTitle()
Get title
Usage
WPSParameter$getTitle()
Returns
object of class character
Method getAbstract()
Get abstract
Usage
WPSParameter$getAbstract()
Returns
object of class character
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSParameter$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Abstract class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSProcess
Description
WPSProcess
WPSProcess
Format
R6Class object.
Value
Object of R6Class modelling a WPS process
Super class
ows4R::OGCAbstractObject -> WPSProcess
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 WPSProcess
Usage
WPSProcess$new(xml, capabilities = NULL, version, logger = NULL, ...)
Arguments
xmlobject of class XMLInternalNode-class from XML
capabilitiesobject of class WPSCapabilities
versionservice version
loggerlogger
...any additional parameter
Method getIdentifier()
Get identifier
Usage
WPSProcess$getIdentifier()
Returns
object of class character
Method getTitle()
Get title
Usage
WPSProcess$getTitle()
Returns
object of class character
Method getVersion()
Get version
Usage
WPSProcess$getVersion()
Returns
object of class character
Method getDescription()
Get description
Usage
WPSProcess$getDescription()
Returns
object of class WPSProcessDescription
Method execute()
Execute process
Usage
WPSProcess$execute( dataInputs = list(), responseForm = NULL, storeExecuteResponse = FALSE, lineage = NULL, status = NULL, update = FALSE, updateInterval = 1 )
Arguments
dataInputsa named list of data inputs, objects of class WPSLiteralData, WPSComplexData or WPSBoundingBoxData
responseFormresponse form, object of class WPSResponseDocument
storeExecuteResponsestore execute response? object of class
logical.FALSEby defaultlineagelineage, object of class
logicalstatusstatus, object of class
logicalupdateupdate, object of class
logical. For asynchronous requestsupdateIntervalupdate interval, object of class
integer. For asynchronous requests
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSProcess$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSProcessDescription
Description
WPSProcessDescription
WPSProcessDescription
Format
R6Class object.
Value
Object of R6Class modelling a WPS process description
Super class
ows4R::OGCAbstractObject -> WPSProcessDescription
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 an object of class WPSProcessDescription
Usage
WPSProcessDescription$new(xml, version, logger = NULL, ...)
Arguments
xmlobject of class XMLInternalNode-class from XML
versionversion
loggerlogger
...any other parameter
Method getIdentifier()
Get process identifier
Usage
WPSProcessDescription$getIdentifier()
Returns
the identifier, object of class character
Method getTitle()
Get process title
Usage
WPSProcessDescription$getTitle()
Returns
the title, object of class character
Method getAbstract()
Get process abstract
Usage
WPSProcessDescription$getAbstract()
Returns
the abstract, object of class character
Method getVersion()
Get process version
Usage
WPSProcessDescription$getVersion()
Arguments
theversion, object of class
character
Method isStatusSupported()
Indicates if the status is supported
Usage
WPSProcessDescription$isStatusSupported()
Returns
TRUE if supported, FALSE otherwise
Method isStoreSupported()
Indicates if the store is supported
Usage
WPSProcessDescription$isStoreSupported()
Returns
TRUE if supported, FALSE otherwise
Method getDataInputs()
Get data inputs
Usage
WPSProcessDescription$getDataInputs()
Returns
a list of objects extending WPSInputDescription
Method getProcessOutputs()
Get process outputs
Usage
WPSProcessDescription$getProcessOutputs()
Returns
a list of objects extending WPSOutputDescription
Method asDataFrame()
Convenience method to export a process description as data.frame
Usage
WPSProcessDescription$asDataFrame()
Returns
a data.frame giving the process description
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSProcessDescription$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Note
Class used internally by ows4R
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSResponseDocument
Description
WPSResponseDocument
WPSResponseDocument
Format
R6Class object.
Value
Object of R6Class for modelling an OGC WPS response document
Super class
ows4R::OGCAbstractObject -> WPSResponseDocument
Public fields
Outputoutput property
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 WPSResponseDocument
Usage
WPSResponseDocument$new( xml = NULL, storeExecuteResponse = FALSE, lineage = NULL, status = NULL, output = NULL, serviceVersion = "1.0.0" )
Arguments
xmlobject of class XMLInternalNode-class from XML
storeExecuteResponsestore execute response, object of class
logicallineagelineage, object of class
logicalstatusstatus, object of class
logicaloutputoutput
serviceVersionWPS service version
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSResponseDocument$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
WPSStatus
Description
WPSStatus
WPSStatus
Format
R6Class object.
Value
Object of R6Class for modelling a WPS Status
Super class
ows4R::OGCAbstractObject -> WPSStatus
Public fields
valuestatus value
percentCompletedstatus percentage of completion
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()
Initalizes a WPSStatus object
Usage
WPSStatus$new(xml = NULL, serviceVersion = "1.0.0")
Arguments
xmlan object of class XMLInternalNode-class from XML
serviceVersionWPS service version. Default is "1.0.0"
Method decode()
Decodes WPS status from XML
Usage
WPSStatus$decode(xml)
Arguments
xmlan object of class XMLInternalNode-class from XML
Method getValue()
Get status value, among accepted WPS status values defined in the WPS standard:
ProcessAccepted, ProcessStarted, ProcessPaused, ProcessSucceeded,
ProcessFailed.
Usage
WPSStatus$getValue()
Returns
value, object of class character
Method getPercentCompleted()
Get percentage of completion
Usage
WPSStatus$getPercentCompleted()
Returns
the percentage of completion, object of class integer
Method getCreationTime()
Get creation time
Usage
WPSStatus$getCreationTime()
Returns
the creation time, object of class POSIXct
Method clone()
The objects of this class are cloneable with this method.
Usage
WPSStatus$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
Author(s)
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
getOWSNamespace
Description
getOWSNamespace gets a namespace given its id
Usage
getOWSNamespace(id)
Arguments
id |
namespace prefix |
Author(s)
Emmanuel Blondel, emmanuel.blondel1@gmail.com
Examples
getOWSNamespace("GMD")
getOWSNamespaces
Description
getOWSNamespaces gets the list of namespaces registered
Usage
getOWSNamespaces()
Author(s)
Emmanuel Blondel, emmanuel.blondel1@gmail.com
Examples
getOWSNamespaces()
registerOWSNamespace
Description
registerOWSNamespace allows to register a new namespace
in ows4R
Usage
registerOWSNamespace(id, uri, force)
Arguments
id |
prefix of the namespace |
uri |
URI of the namespace |
force |
logical parameter indicating if registration has be to be forced in case the identified namespace is already registered |
Author(s)
Emmanuel Blondel, emmanuel.blondel1@gmail.com
Examples
registerOWSNamespace(id = "myprefix", uri = "http://someuri")
setOWSNamespaces
Description
setOWSNamespaces
Usage
setOWSNamespaces()