| Title: | Interface to OGC Web-Services (OWS) |
|---|---|
| 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. |
| Authors: | Emmanuel Blondel [aut, cre] (ORCID: <https://orcid.org/0000-0002-5870-5762>), Alexandre Bennici [ctb] (ORCID: <https://orcid.org/0000-0003-2160-3487>), Norbert Billet [ctb], Anna Krystalli [ctb] (ORCID: <https://orcid.org/0000-0002-2378-4915>), Ma<c3><ab>lle Salmon [ctb] (ORCID: <https://orcid.org/0000-0002-2815-0399>) |
| Maintainer: | Emmanuel Blondel <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.5-1 |
| Built: | 2026-05-16 08:15:01 UTC |
| Source: | https://github.com/eblondel/ows4r |
And
And
R6Class object.
Object of R6Class for modelling an And operator
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryLogicOpType -> And
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()new()
Initializes an And expression
And$new(...)
...list of objects of class OGCExpression
clone()
The objects of this class are cloneable with this method.
And$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
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 XMLexpr1 <- 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
BBOX
R6Class object.
Object of R6Class for modelling an BBOX
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> BBOX
PropertyNameproperty name field for XML encoding
Envelopeenvelope as object of class GMLEnvelope from geometa
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()new()
Initializes a BBOX expression
BBOX$new(bbox, srsName = NULL)
bboxan object of class matrix
srsNamesrs name
clone()
The objects of this class are cloneable with this method.
BBOX$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
bbox <- OWSUtils$toBBOX(-180,-90,180,90) expr <- BBOX$new(bbox) expr_xml <- expr$encode() #see how it looks like in XMLbbox <- OWSUtils$toBBOX(-180,-90,180,90) expr <- BBOX$new(bbox) expr_xml <- expr$encode() #see how it looks like in XML
BinaryComparisonOpType
BinaryComparisonOpType
R6Class object.
Object of R6Class for modelling an BinaryComparisonOpType
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> BinaryComparisonOpType
PropertyNameproperty name field for XML encoding
Literalliteral field for XML encoding
attrsattributes for XML encoding
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()new()
Initializes an object extending BinaryComparisonOpType
BinaryComparisonOpType$new( element, namespacePrefix, PropertyName, Literal, matchCase = NA )
elementelement name
namespacePrefixXML namespace prefix
PropertyNameproperty name
Literalliteral
matchCasematch case
clone()
The objects of this class are cloneable with this method.
BinaryComparisonOpType$clone(deep = FALSE)
deepWhether to make a deep clone.
abstract super class of all the property operation classes
Emmanuel Blondel <[email protected]>
BinaryLogicOpType
BinaryLogicOpType
R6Class object.
Object of R6Class for modelling an BinaryLogicOpType
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> BinaryLogicOpType
operationsa list OGC expressions
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()new()
Initializes a BinaryLogicOpType expression
BinaryLogicOpType$new(..., element, namespacePrefix, exprVersion = "1.1.0")
...list of objects of class OGCExpression
elementelement
namespacePrefixnamespacePrefix
exprVersionOGC expression version. Default is "1.1.0"
setExprVersion()
Sets expression version. The methods will control that expression versions are set for each of the operations specified in the expression.
BinaryLogicOpType$setExprVersion(exprVersion)
exprVersionOGC expression version
clone()
The objects of this class are cloneable with this method.
BinaryLogicOpType$clone(deep = FALSE)
deepWhether to make a deep clone.
abstract super class of all the binary logical operation classes
CASClient
CASClient
R6Class object.
Object of R6Class with methods for interfacing a Central Authentication Service (CAS).
new()
Initializes an object of class CASClient
CASClient$new(url)
urlbase URL of the Central Authentication Service (CAS)
getUrl()
Get CAS base URL
CASClient$getUrl()
the base URL
login()
Logs in the CAS
CASClient$login(user, pwd)
useruser
pwdpassword
TRUE if logged in, FALSE otherwise
logout()
Logs out from the CAS
CASClient$logout()
TRUE if logged out, FALSE otherwise
clone()
The objects of this class are cloneable with this method.
CASClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R
Emmanuel Blondel <[email protected]>
CSWCapabilities
CSWCapabilities
R6Class object.
Object of R6Class with methods for interfacing an OGC
Catalogue Service for the Web (CSW) Get Capabilities document.
ows4R::OGCAbstractObject -> ows4R::OWSCapabilities -> CSWCapabilities
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()ows4R::OWSCapabilities$getClient()ows4R::OWSCapabilities$getOWSVersion()ows4R::OWSCapabilities$getOperationsMetadata()ows4R::OWSCapabilities$getRequest()ows4R::OWSCapabilities$getService()ows4R::OWSCapabilities$getServiceIdentification()ows4R::OWSCapabilities$getServiceProvider()ows4R::OWSCapabilities$getServiceVersion()ows4R::OWSCapabilities$getUrl()ows4R::OWSCapabilities$setClient()new()
Initializes a CSWCapabilities object
CSWCapabilities$new(url, version, client = NULL, logger = NULL, ...)
urlurl
versionversion
clientobject of class CSWClient
loggerlogger type NULL, "INFO" or "DEBUG"
...any other parameter to pass to OWSGetCapabilities service request
clone()
The objects of this class are cloneable with this method.
CSWCapabilities$clone(deep = FALSE)
deepWhether to make a deep clone.
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.
Emmanuel Blondel <[email protected]>
CSWClient
CSWClient
R6Class object.
Object of R6Class with methods for interfacing an OGC
Catalogue Service for the Web.
ows4R::OGCAbstractObject -> ows4R::OWSClient -> CSWClient
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()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
CSWClient$new( url, serviceVersion = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
urlurl
serviceVersionCSW service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
getCapabilities()
Get CSW capabilities
CSWClient$getCapabilities()
an object of class CSWCapabilities
reloadCapabilities()
Reloads CSW capabilities
CSWClient$reloadCapabilities()
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
CSWClient$describeRecord(namespace, ...)
namespacenamespace
...any other parameter to pass to the CSWDescribeRecord service request
the service record description
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.
CSWClient$getRecordById(id, elementSetName = "full", ...)
idrecord id
elementSetNameelement set name. Default is "full"
...any other parameter to pass to CSWGetRecordById service request
the fetched record, NULL otherwise
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.
CSWClient$getRecords( query = CSWQuery$new(), maxRecords = NULL, maxRecordsPerRequest = 10L, ... )
queryan object of class CSWQuery. By default, an empty query is set.
maxRecordsmax number of total records. Default is NULL meaning 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
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.
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
CSWClient$transaction( type, record = NULL, recordProperty = NULL, constraint = NULL, ... )
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
TRUE if transaction succeeded, FALSE otherwise
insertRecord()
Inserts a new record
CSWClient$insertRecord(record, ...)
recordrecord subject of the Insertion
...any other parameter to pass to the transaction
TRUE if insertion succeeded, FALSE otherwise
updateRecord()
Updates an existing record
CSWClient$updateRecord( record = NULL, recordProperty = NULL, constraint = NULL, ... )
recordrecord subject of the Insertion
recordPropertyrecord property, object of class CSWRecordProperty
constraintconstraint, object of class CSWConstraint
...any other parameter to pass to the transaction
TRUE if update succeeded, FALSE otherwise
deleteRecord()
Deletes an existing (set of) record(s). A constraint (object of class CSWConstraint)
can be specified to limit the deletion to some records.
CSWClient$deleteRecord(record = NULL, constraint = NULL, ...)
recordrecord subject of the Insertion
constraintconstraint, object of class CSWConstraint
...any other parameter to pass to the transaction
TRUE if deletion succeeded, FALSE otherwise
deleteRecordById()
Deletes an existing record by identifier (constraint used to identify the record based on its identifier).
CSWClient$deleteRecordById(id)
idrecord id
TRUE if deletion succeeded, FALSE otherwise
harvestRecord()
Harvests a single record from a sourceUrl, given a resourceType (by default "http://www.isotc211.org/2005/gmd").
CSWClient$harvestRecord( sourceUrl, resourceType = "http://www.isotc211.org/2005/gmd" )
sourceUrlsource URL
resourceTyperesource type. Default is "http://www.isotc211.org/2005/gmd"
TRUE if harvesting succeeded, FALSE otherwise
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")
CSWClient$harvestNode( url, query = CSWQuery$new(), resourceType = "http://www.isotc211.org/2005/gmd", sourceBaseUrl )
urlCSW node URL
querya CSW query, object of class CSWQuery
resourceTyperesource type. Default is "http://www.isotc211.org/2005/gmd"
sourceBaseUrlsource base URL
an object of class list giving the number of records found and those actually harvested
clone()
The objects of this class are cloneable with this method.
CSWClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
## 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)## 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
CSWConstraint
R6Class object.
Object of R6Class for modelling an CSW Constraint
ows4R::OGCAbstractObject -> CSWConstraint
wrapinternal property for object XML encoding
CqlTexttext to use as CQL filter
filterows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes a CSWConstraint object to be used to constrain CSW operations.
CSWConstraint$new(cqlText = NULL, filter = NULL, serviceVersion = "2.0.2")
cqlTextcqlText, object of class character
filterfilter, object extending OGCFilter
serviceVersionCSW service version. Default is "2.0.2"
setServiceVersion()
Set service version. This methods ensures that underlying filter property is properly set with the right OGC filter version.
CSWConstraint$setServiceVersion(serviceVersion)
serviceVersionservice version
clone()
The objects of this class are cloneable with this method.
CSWConstraint$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
filter <- OGCFilter$new( PropertyIsEqualTo$new("apiso:Identifier", "12345") ) cons <- CSWConstraint$new(filter = filter) cons_xml <- cons$encode() #how it looks like in XMLfilter <- OGCFilter$new( PropertyIsEqualTo$new("apiso:Identifier", "12345") ) cons <- CSWConstraint$new(filter = filter) cons_xml <- cons$encode() #how it looks like in XML
CSWDescribeRecord
CSWDescribeRecord
R6Class object.
Object of R6Class for modelling a CSW DescribeRecord request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> CSWDescribeRecord
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()new()
Initializes a CSWDescribeRecord service request
CSWDescribeRecord$new( capabilities, op, url, version, namespace = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
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
clone()
The objects of this class are cloneable with this method.
CSWDescribeRecord$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a CSW DescribeRecord request
Emmanuel Blondel <[email protected]>
CSWGetRecordById
CSWGetRecordById
R6Class object.
Object of R6Class for modelling a CSW GetRecordById request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> CSWGetRecordById
Idrecord Id property for request XML encoding
ElementSetNameelement set name property for XML encoding
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()new()
Initializes a CSWGetRecordById service request
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, ... )
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
clone()
The objects of this class are cloneable with this method.
CSWGetRecordById$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a CSW GetRecordById request
Emmanuel Blondel <[email protected]>
CSWGetRecords
CSWGetRecords
R6Class object.
Object of R6Class for modelling a CSW GetRecords request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> CSWGetRecords
Queryquery property for request XML encoding
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()new()
Initializes a CSWGetRecordById service request
CSWGetRecords$new( capabilities, op, url, serviceVersion = "2.0.2", user = NULL, pwd = NULL, token = NULL, headers = list(), config = httr::config(), query = NULL, logger = NULL, ... )
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, or outputSchema
clone()
The objects of this class are cloneable with this method.
CSWGetRecords$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a CSW GetRecords request
Emmanuel Blondel <[email protected]>
CSWHarvest
CSWHarvest
R6Class object.
Object of R6Class for modelling a CSW Harvest request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> CSWHarvest
Sourcesource property for request XML encoding
ResourceTyperesource type property for request XML encoding
ResourceFormatresource format property for request XML encoding
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()new()
Initializes a CSWHarvest service request
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, ... )
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
clone()
The objects of this class are cloneable with this method.
CSWHarvest$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a CSW Harvest request
Emmanuel Blondel <[email protected]>
CSWQuery
CSWQuery
R6Class object.
Object of R6Class for modelling an CSW Query
ows4R::OGCAbstractObject -> CSWQuery
ElementSetNameelement set name property for request XML encoding
constraintproperty for request XML encoding
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
This method is used to instantiate 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")
CSWQuery$new( elementSetName = "full", constraint = NULL, typeNames = "csw:Record", serviceVersion = "2.0.2" )
elementSetNameelement set name. Default is "full"
constraintobject of class CSWConstraint
typeNamestype names
serviceVersionCSW service version
setServiceVersion()
Set service version. The methods ensures propery naming of typeNames depending on the service version
CSWQuery$setServiceVersion(serviceVersion)
serviceVersionservice version
clone()
The objects of this class are cloneable with this method.
CSWQuery$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
#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)#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
CSWRecordProperty
R6Class object.
Object of R6Class for modelling an CSW RecordProperty
ows4R::OGCAbstractObject -> CSWRecordProperty
wrapinternal property for XML encoding
Namename property for request XML encoding
Valueproperty for request XML encoding
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class CSWRecordProperty
CSWRecordProperty$new(name, value, cswVersion = "2.0.2")
namename
valuevalue
cswVersionCSW service version. Default is "2.0.2"
clone()
The objects of this class are cloneable with this method.
CSWRecordProperty$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
rp <- CSWRecordProperty$new(name = "NAME", value = "VALUE") rp_xml <- rp$encode() #see how it looks in XMLrp <- CSWRecordProperty$new(name = "NAME", value = "VALUE") rp_xml <- rp$encode() #see how it looks in XML
CSWTransaction
CSWTransaction
R6Class object.
Object of R6Class for modelling a CSW Transaction request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> CSWTransaction
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()new()
Initializes a CSWTransaction service request
CSWTransaction$new( capabilities, op, url, serviceVersion, type, user = NULL, pwd = NULL, token = NULL, headers = list(), record = NULL, recordProperty = NULL, constraint = NULL, logger = NULL, ... )
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
clone()
The objects of this class are cloneable with this method.
CSWTransaction$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a CSW Transaction request
Emmanuel Blondel <[email protected]>
getOWSNamespace gets a namespace given its id
getOWSNamespace(id)getOWSNamespace(id)
id |
namespace prefix |
Emmanuel Blondel, [email protected]
getOWSNamespace("GMD")getOWSNamespace("GMD")
getOWSNamespaces gets the list of namespaces registered
getOWSNamespaces()getOWSNamespaces()
Emmanuel Blondel, [email protected]
getOWSNamespaces()getOWSNamespaces()
Not
Not
R6Class object.
Object of R6Class for modelling an Not
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::UnaryLogicOpType -> Not
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()new()
Initializes an Not expression
Not$new(...)
...list of objects of class OGCExpression
clone()
The objects of this class are cloneable with this method.
Not$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
expr <- PropertyIsEqualTo$new(PropertyName = "property", Literal = "value") not <- Not$new(expr) not_xml <- not$encode() #see how it looks like in XMLexpr <- PropertyIsEqualTo$new(PropertyName = "property", Literal = "value") not <- Not$new(expr) not_xml <- not$encode() #see how it looks like in XML
OGCAbstractObject
OGCAbstractObject
R6Class object.
Object of R6Class for modelling an OGCAbstractObject
verbose.infological property to indicate whether INFO logs have to be displayed
verbose.debuglogical property to indicate whether DEBUG logs have to be displayed
loggerTypelogger 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
logger()
A basic logger function
OGCAbstractObject$logger(type, text)
typetype of logs message.
textlog message text to be displayed
INFO()
a basic INFO logger function
OGCAbstractObject$INFO(text)
textlog message text to be displayed
WARN()
a basic WARN logger function
OGCAbstractObject$WARN(text)
textlog message text to be displayed
ERROR()
a basic ERROR logger function
OGCAbstractObject$ERROR(text)
textlog message text to be displayed
new()
Initializes an object extending OGCAbstractObject
OGCAbstractObject$new( xml = NULL, element = NULL, namespacePrefix = NULL, attrs = list(), defaults = list(), wrap = FALSE, logger = NULL )
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
getClassName()
Get class name
OGCAbstractObject$getClassName()
an object of class character
getClass()
Get class
OGCAbstractObject$getClass()
an object of class R6Class
isFieldInheritedFrom()
Utility to return the parent class in which field is defined
OGCAbstractObject$isFieldInheritedFrom(field)
fieldfield name
object of class R6Class
getNamespaceDefinition()
Gets the namespace definition
OGCAbstractObject$getNamespaceDefinition(recursive = FALSE)
recursiveGet all namespace recursively
the namespace definitions as named list
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.
OGCAbstractObject$encode( addNS = TRUE, geometa_validate = TRUE, geometa_inspire = FALSE, geometa_inspireValidator = NULL )
addNSaddNS controls the addition of XML namespaces
geometa_validateRelates to geometa object ISO validation. Default is TRUE
geometa_inspireRelates to geometa object INSPIRE validation. Default is FALSE
geometa_inspireValidatorRelates to geometa object INSPIRE validation. Default is NULL. Deprecated, see
below note.
an object of class XMLInternalNode-class from XML
print()
Provides a custom print output (as tree) of the current class
OGCAbstractObject$print(..., depth = 1)
...args
depthclass nesting depth
clone()
The objects of this class are cloneable with this method.
OGCAbstractObject$clone(deep = FALSE)
deepWhether to make a deep clone.
abstract class used by ows4R
From 2025-05-02, the INSPIRE metadata validation does not require anymore an API Key. Therefore, it is not
required to specify an geometa_inspireValidator. To send your metadata to INSPIRE, just set geometa_inspire
to TRUE.
Emmanuel Blondel <[email protected]>
OGCExpression
OGCExpression
R6Class object.
Object of R6Class for modelling an OGC Expression
ows4R::OGCAbstractObject -> OGCExpression
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class OGCExpression
OGCExpression$new( element, namespacePrefix, attrs = NULL, defaults = NULL, exprVersion = "1.1.0" )
elementelement name
namespacePrefixXML namespace prefix
attrsattributes
defaultsdefault values
exprVersionOGC version for the expression
setExprVersion()
Sets expression version. The methods will control proper XML namespace prefix setting
OGCExpression$setExprVersion(exprVersion)
exprVersionOGC expression version
getExprVersion()
Gets expression version
OGCExpression$getExprVersion()
object of class character
clone()
The objects of this class are cloneable with this method.
OGCExpression$clone(deep = FALSE)
deepWhether to make a deep clone.
abstract class
Emmanuel Blondel <[email protected]>
OGCFilter
OGCFilter
R6Class object.
Object of R6Class for modelling an OGC Filter
ows4R::OGCAbstractObject -> OGCFilter
exprOGC expression
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class OGCFilter.
OGCFilter$new(expr, filterVersion = "1.1.0")
exprobject of class OGCExpression
filterVersionOGC filter version. Default is "1.1.0"
setFilterVersion()
Sets the OGC filter version
OGCFilter$setFilterVersion(filterVersion)
filterVersionOGC filter version
clone()
The objects of this class are cloneable with this method.
OGCFilter$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
expr <- PropertyIsEqualTo$new(PropertyName = "property", Literal = "value") not <- Not$new(expr) not_xml <- not$encode() #see how it looks like in XMLexpr <- PropertyIsEqualTo$new(PropertyName = "property", Literal = "value") not <- Not$new(expr) not_xml <- not$encode() #see how it looks like in XML
Or
Or
R6Class object.
Object of R6Class for modelling an Or operator
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryLogicOpType -> Or
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()new()
Initializes an Or expression
Or$new(...)
...list of objects of class OGCExpression
clone()
The objects of this class are cloneable with this method.
Or$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
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 XMLexpr1 <- 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
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.
Emmanuel Blondel [email protected]
Useful links:
Report bugs at https://github.com/eblondel/ows4R/issues
OWSBoundingBox
OWSBoundingBox
R6Class object.
Object of R6Class for modelling an OGC Bounding Box
ows4R::OGCAbstractObject -> OWSBoundingBox
attrsattributes to be associated to XML
LowerCornerlower corner coordinates
UpperCornerupper corner coordinates
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class OWSBoundingBox
OWSBoundingBox$new( xml = NULL, element = NULL, namespacePrefix = NULL, owsVersion, serviceVersion, logger = NULL )
xmlan object of class XMLInternalNode-class to initialize from XML
elementelement name
namespacePrefixnamespace prefix
owsVersionOWS version
serviceVersionservice version
loggerlogger
decode()
Decodes an object of class OWSBoundingBox from XML
OWSBoundingBox$decode(xml)
xmlobject of class XMLInternalNode-class from XML
getBBOX()
Get BBOX as object of class bbox from sf package
OWSBoundingBox$getBBOX()
a numeric vector of length four, with xmin, ymin, xmax and ymax values
clone()
The objects of this class are cloneable with this method.
OWSBoundingBox$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
OWSGetCapabilities
OWSGetCapabilities
R6Class object.
Object of R6Class with methods for interfacing an abstract
OWS Get Capabilities document.
ows4R::OGCAbstractObject -> OWSCapabilities
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes a OWSCapabilities object
OWSCapabilities$new( element = NULL, namespacePrefix = NULL, url, service, owsVersion, serviceVersion, logger = NULL, ... )
elementelement
namespacePrefixnamespace prefix
urlurl
serviceservice
owsVersionOWS version
serviceVersionservice version
loggerlogger type NULL, "INFO" or "DEBUG"
...any other parameter to pass to OWSGetCapabilities service request
setClient()
Sets the OGC client
OWSCapabilities$setClient(client)
clientan object extending OWSClient
getClient()
Get client
OWSCapabilities$getClient()
anobject extending OWSClient
getUrl()
Get URL
OWSCapabilities$getUrl()
an object of class character
getService()
Get service
OWSCapabilities$getService()
an object of class character
getServiceVersion()
Get service version
OWSCapabilities$getServiceVersion()
an object of class character
getOWSVersion()
Get OWS version
OWSCapabilities$getOWSVersion()
an object of class character
getRequest()
Get request
OWSCapabilities$getRequest()
an object of class OWSGetCapabilities
getServiceIdentification()
Get service identification
OWSCapabilities$getServiceIdentification()
an object of class OWSServiceIdentification
getServiceProvider()
Get service provider
OWSCapabilities$getServiceProvider()
an object of class OWSServiceProvider
getOperationsMetadata()
Get service operations metadata
OWSCapabilities$getOperationsMetadata()
an object of class OWSOperationsMetadata
clone()
The objects of this class are cloneable with this method.
OWSCapabilities$clone(deep = FALSE)
deepWhether to make a deep clone.
abstract class used by ows4R
Emmanuel Blondel <[email protected]>
OWSClient
OWSClient
R6Class object.
Object of R6Class with methods for interfacing a Common OGC web-service.
ows4R::OGCAbstractObject -> OWSClient
urlBase url of the OWS service
versionversion of the OWS service
capabilitiesobject giving the OWS service capabilities
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
This method is used to instantiate a OWSClient with the url of the
OGC service. Authentication is supported using basic auth (using user/pwd arguments),
bearer token (using token argument), or custom (using headers argument).
By default, the logger argument will be set to NULL (no logger). This argument accepts two possible
values: INFO: to print only ows4R logs, DEBUG: to print more verbose logs
OWSClient$new( url, service, serviceVersion, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
urlurl
serviceservice name
serviceVersionCSW service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
getUrl()
Get URL
OWSClient$getUrl()
the url of the service, object of class character
getVersion()
Get version
OWSClient$getVersion()
the version of the service, object of class character
getCapabilities()
Get capabilities
OWSClient$getCapabilities()
the capabilities, object of class OWSCapabilities
getUser()
Get user
OWSClient$getUser()
the user, object of class character
getPwd()
Get password
OWSClient$getPwd()
the password, object of class character
getToken()
Get token
OWSClient$getToken()
the token, object of class character
getHeaders()
Get headers
OWSClient$getHeaders()
the headers, object of class character
getConfig()
Get httr config
OWSClient$getConfig()
the httr config, if any
getCASUrl()
Get CAS URL
OWSClient$getCASUrl()
a CAS URL
clone()
The objects of this class are cloneable with this method.
OWSClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used internally by ows4R
Emmanuel Blondel <[email protected]>
OWSCodeType
OWSCodeType
R6Class object.
Object of R6Class for modelling an OWS CodeType
ows4R::OGCAbstractObject -> OWSCodeType
valuecode type
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class OWSCodeType
OWSCodeType$new(xml = NULL, owsVersion = "1.1", value)
xmlobject of class XMLInternalNode-class from XML
owsVersionOWS version. Default is "1.1"
valuethe code type
clone()
The objects of this class are cloneable with this method.
OWSCodeType$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
OWSException
OWSException
R6Class object.
Object of R6Class modelling a OWS Service exception
ows4R::OGCAbstractObject -> OWSException
ExceptionTextexception text
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class OWSException
OWSException$new(xmlObj, logger = NULL)
xmlObjobject of class XMLInternalNode-class from XML
loggerlogger
getLocator()
Get exception locator
OWSException$getLocator()
the exception locator, object of class character
getCode()
Get exception code
OWSException$getCode()
the exception code, object of class character
getText()
Get exception text explanation
OWSException$getText()
the exception text, object of class character
clone()
The objects of this class are cloneable with this method.
OWSException$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used by ows4R
Emmanuel Blondel <[email protected]>
OWSGetCapabilities
OWSGetCapabilities
R6Class object.
Object of R6Class for modelling a GetCapabilities request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> OWSGetCapabilities
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()new()
Initializes an OWSGetCapabilities service request
OWSGetCapabilities$new( element = NULL, namespacePrefix = NULL, url, service, version, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), ... )
elementelement
namespacePrefixnamespace prefix
urlurl
serviceservice name
versionservice version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
...any other parameter to pass to the request
clone()
The objects of this class are cloneable with this method.
OWSGetCapabilities$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a OWS GetCapabilities request
Emmanuel Blondel <[email protected]>
OWSHttpRequest
OWSHttpRequest
R6Class object.
Object of R6Class for modelling a generic OWS http request
ows4R::OGCAbstractObject -> OWSHttpRequest
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an OWS HTTP request
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, ... )
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 list
attrsattributes
contentTypecontent type. Default value is "text/xml"
mimeTypemime type. Default value is "text/xml"
skipXmlCommentsSkip XML comments from response
loggerlogger
...any other parameter
execute()
Executes the request
OWSHttpRequest$execute()
getCapabilities()
Get capabilities
OWSHttpRequest$getCapabilities()
an object of class or extending OWSCapabilities
getRequest()
Get request
OWSHttpRequest$getRequest()
the request
getRequestHeaders()
Get request headers
OWSHttpRequest$getRequestHeaders()
the request headers
getStatus()
get status code
OWSHttpRequest$getStatus()
the request status code
getResponse()
get request response
OWSHttpRequest$getResponse()
the request response
getException()
get request exception
OWSHttpRequest$getException()
the request exception
hasException()
Indicates if it has an exception
OWSHttpRequest$hasException()
TRUE if it has an exception, FALSE otherwise
getResult()
Get the result TRUE if the request is successful, FALSE otherwise
OWSHttpRequest$getResult()
the result, object of class logical
setResult()
Set the result
OWSHttpRequest$setResult(result)
resultobject of class logical
clone()
The objects of this class are cloneable with this method.
OWSHttpRequest$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used internally by ows4R
Emmanuel Blondel <[email protected]>
OWSNamespace
OWSNamespace
R6Class object.
Object of R6Class for modelling an OWS Namespace
idnamespace id
urinamespace uri
new()
Initializes an OWSNamespace
OWSNamespace$new(id, uri)
idid
uriuri
getDefinition()
Get namespace definition
OWSNamespace$getDefinition()
a named list with id and uri
clone()
The objects of this class are cloneable with this method.
OWSNamespace$clone(deep = FALSE)
deepWhether to make a deep clone.
class used internally by ows4R for specifying XML namespaces
Emmanuel Blondel <[email protected]>
OWSOperation
OWSOperation
R6Class object.
Object of R6Class for modelling an OGC Operation
new()
Initializes an object of class OWSOperation.
OWSOperation$new(xmlObj, owsVersion, serviceVersion)
xmlObjobject of class XMLInternalNode-class from XML
owsVersionOWS version
serviceVersionservice version
getName()
Get operation name
OWSOperation$getName()
an object of class character
getParameters()
Get parameters
OWSOperation$getParameters()
the parameters
getParameter()
Get parameter
OWSOperation$getParameter(name)
namename
the parameter
clone()
The objects of this class are cloneable with this method.
OWSOperation$clone(deep = FALSE)
deepWhether to make a deep clone.
Internal class used internally by ows4R when reading capabilities documents
Emmanuel Blondel <[email protected]>
OWSOperationsMetadata
OWSOperationsMetadata
R6Class object.
Object of R6Class for modelling an OGC Operations Metadata
new()
Initializes an OWSOperationsMetadata object
OWSOperationsMetadata$new(xmlObj, owsVersion, serviceVersion)
xmlObjobject of class XMLInternalNode-class from XML
owsVersionOWS version
serviceVersionservice version
getOperations()
Get operations
OWSOperationsMetadata$getOperations()
a list of OWSOperation
clone()
The objects of this class are cloneable with this method.
OWSOperationsMetadata$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used internally by ows4R
Emmanuel Blondel <[email protected]>
OWSRequest
OWSRequest
R6Class object.
Object of R6Class modelling a OWS Service Capability Request
ows4R::OGCAbstractObject -> OWSRequest
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class OWSRequest
OWSRequest$new(xmlObj, capabilities, version, logger = NULL)
xmlObjobject of class XMLInternalNode-class from XML
capabilitiesan object of class or extending OWSCapabilities
versionversion
loggerlogger
getName()
Get request name
OWSRequest$getName()
the name, object of class character
getFormats()
Get request formats
OWSRequest$getFormats()
the formats, object (vector) of class character
clone()
The objects of this class are cloneable with this method.
OWSRequest$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used by ows4R
Emmanuel Blondel <[email protected]>
OWSServiceIdentification
OWSServiceIdentification
R6Class object.
Object of R6Class for modelling an OGC Service Identification
new()
Initializes an object of class OWSServiceIdentification
OWSServiceIdentification$new(xmlObj, owsVersion, serviceVersion)
xmlObjobject of class XMLInternalNode-class from XML
owsVersionOWS version
serviceVersionservice version
getName()
Get service identification - name
OWSServiceIdentification$getName()
the name, object of class character
getTitle()
Get service identification - title
OWSServiceIdentification$getTitle()
the title, object of class character
getAbstract()
Get service identification - abstract
OWSServiceIdentification$getAbstract()
the abstract, object of class character
getKeywords()
Get service identification - keywords
OWSServiceIdentification$getKeywords()
the keywords, object of class character
getOnlineResource()
Get service identification - online resource
OWSServiceIdentification$getOnlineResource()
the online resource, object of class character
getServiceType()
Get service identification - service type
OWSServiceIdentification$getServiceType()
the service type, object of class character
getServiceTypeVersion()
Get service identification - service type version
OWSServiceIdentification$getServiceTypeVersion()
the service type version, object of class character
getFees()
Get service identification - fees
OWSServiceIdentification$getFees()
the fees, object of class character
getAccessConstraints()
Get service identification - access constraints
OWSServiceIdentification$getAccessConstraints()
the access constraints, object of class character
clone()
The objects of this class are cloneable with this method.
OWSServiceIdentification$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used internally by ows4R
Emmanuel Blondel <[email protected]>
OWSServiceProvider
OWSServiceProvider
R6Class object.
Object of R6Class for modelling an OGC Service Provider
new()
Initializes an object of class OWSServiceProvider
OWSServiceProvider$new(xmlObj, owsVersion, serviceVersion)
xmlObjobject of class XMLInternalNode-class from XML
owsVersionOWS version
serviceVersionservice version
getProviderName()
Get provider name
OWSServiceProvider$getProviderName()
theprovider name, object of class character
getProviderSite()
Get provider site
OWSServiceProvider$getProviderSite()
theprovider site, object of class character
getServiceContact()
Get provider contact
OWSServiceProvider$getServiceContact()
theprovider contact, object of class ISOResponsibleParty from geometa
clone()
The objects of this class are cloneable with this method.
OWSServiceProvider$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used internally by ows4R
Emmanuel Blondel <[email protected]>
OWSUtils
OWSUtilsOWSUtils
R6Class object.
set of OWS Utilities
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
Emmanuel Blondel <[email protected]>
#toBBOX bbox <- OWSUtils$toBBOX(-180,-90,180,90) #toCRS crs <- OWSUtils$toCRS("EPSG:4326")#toBBOX bbox <- OWSUtils$toBBOX(-180,-90,180,90) #toCRS crs <- OWSUtils$toCRS("EPSG:4326")
OWSWGS84BoundingBox
OWSWGS84BoundingBox
R6Class object.
Object of R6Class for modelling an OGC WS84 BoundingBox
ows4R::OGCAbstractObject -> ows4R::OWSBoundingBox -> OWSWGS84BoundingBox
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()new()
Initializes an object of class OWSBoundingBox
OWSWGS84BoundingBox$new(xml = NULL, owsVersion, serviceVersion, logger = NULL)
xmlan object of class XMLInternalNode-class to initialize from XML
owsVersionOWS version
serviceVersionservice version
loggerlogger
clone()
The objects of this class are cloneable with this method.
OWSWGS84BoundingBox$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by geometa
Emmanuel Blondel <[email protected]>
PropertyIsBetween
PropertyIsBetween
R6Class object.
Object of R6Class for modelling an PropertyIsBetween
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> PropertyIsBetween
PropertyNameproperty name field for XML encoding
lowerlower value
upperupper value
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()new()
Initializes an object extending PropertyIsLike
PropertyIsBetween$new(PropertyName, lower, upper)
PropertyNameproperty name
lowerlower value
upperupper value
clone()
The objects of this class are cloneable with this method.
PropertyIsBetween$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
expr <- PropertyIsBetween$new(PropertyName = "property", lower = 1, upper = 10) expr_xml <- expr$encode() #see how it looks like in XMLexpr <- PropertyIsBetween$new(PropertyName = "property", lower = 1, upper = 10) expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsEqualTo
PropertyIsEqualTo
R6Class object.
Object of R6Class for modelling an PropertyIsEqualTo
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsEqualTo
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()new()
Initializes an object extending PropertyIsEqualTo
PropertyIsEqualTo$new(PropertyName, Literal, matchCase = NA)
PropertyNameproperty name
Literalliteral
matchCasematch case
clone()
The objects of this class are cloneable with this method.
PropertyIsEqualTo$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
expr <- PropertyIsEqualTo$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XMLexpr <- PropertyIsEqualTo$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsGreaterThan
PropertyIsGreaterThan
R6Class object.
Object of R6Class for modelling an PropertyIsGreaterThan
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsGreaterThan
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()new()
Initializes an object extending PropertyIsGreaterThan
PropertyIsGreaterThan$new(PropertyName, Literal, matchCase = NA)
PropertyNameproperty name
Literalliteral
matchCasematch case
clone()
The objects of this class are cloneable with this method.
PropertyIsGreaterThan$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
expr <- PropertyIsGreaterThan$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XMLexpr <- PropertyIsGreaterThan$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsGreaterThanOrEqualTo
PropertyIsGreaterThanOrEqualTo
R6Class object.
Object of R6Class for modelling an PropertyIsGreaterThanOrEqualTo
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsGreaterThanOrEqualTo
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()new()
Initializes an object extending PropertyIsGreaterThanOrEqualTo
PropertyIsGreaterThanOrEqualTo$new(PropertyName, Literal, matchCase = NA)
PropertyNameproperty name
Literalliteral
matchCasematch case
clone()
The objects of this class are cloneable with this method.
PropertyIsGreaterThanOrEqualTo$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
expr <- PropertyIsGreaterThanOrEqualTo$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XMLexpr <- PropertyIsGreaterThanOrEqualTo$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsLessThan
PropertyIsLessThan
R6Class object.
Object of R6Class for modelling an PropertyIsLessThan
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsLessThan
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()new()
Initializes an object extending PropertyIsLessThan
PropertyIsLessThan$new(PropertyName, Literal, matchCase = NA)
PropertyNameproperty name
Literalliteral
matchCasematch case
clone()
The objects of this class are cloneable with this method.
PropertyIsLessThan$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
expr <- PropertyIsLessThan$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XMLexpr <- PropertyIsLessThan$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsLesserThanOrEqualTo
PropertyIsLesserThanOrEqualTo
R6Class object.
Object of R6Class for modelling an PropertyIsLesserThanOrEqualTo
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsLessThanOrEqualTo
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()new()
Initializes an object extending PropertyIsLessThanOrEqualTo
PropertyIsLessThanOrEqualTo$new(PropertyName, Literal, matchCase = NA)
PropertyNameproperty name
Literalliteral
matchCasematch case
clone()
The objects of this class are cloneable with this method.
PropertyIsLessThanOrEqualTo$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
expr <- PropertyIsLessThanOrEqualTo$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XMLexpr <- PropertyIsLessThanOrEqualTo$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsLike
PropertyIsLike
R6Class object.
Object of R6Class for modelling an PropertyIsLike
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> PropertyIsLike
PropertyNameproperty name field for XML encoding
Literalliteral field for XML encoding
attrsattributes for XML encoding
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()new()
Initializes an object extending PropertyIsLike
PropertyIsLike$new( PropertyName, Literal, escapeChar = "\\", singleChar = "_", wildCard = "%", matchCase = NA )
PropertyNameproperty name
Literalliteral
escapeCharescape character. Default is "\"
singleCharsingle character. Default is "_"
wildCardwildcard
matchCasematch case
clone()
The objects of this class are cloneable with this method.
PropertyIsLike$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
expr <- PropertyIsLike$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XMLexpr <- PropertyIsLike$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsNotEqualTo
PropertyIsNotEqualTo
R6Class object.
Object of R6Class for modelling an PropertyIsNotEqualTo
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> ows4R::BinaryComparisonOpType -> PropertyIsNotEqualTo
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()new()
Initializes an object extending PropertyIsNotEqualTo
PropertyIsNotEqualTo$new(PropertyName, Literal, matchCase = NA)
PropertyNameproperty name
Literalliteral
matchCasematch case
clone()
The objects of this class are cloneable with this method.
PropertyIsNotEqualTo$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
expr <- PropertyIsNotEqualTo$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XMLexpr <- PropertyIsNotEqualTo$new(PropertyName = "property", Literal = "value") expr_xml <- expr$encode() #see how it looks like in XML
PropertyIsNull
PropertyIsNull
R6Class object.
Object of R6Class for modelling an PropertyIsNull
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> PropertyIsNull
PropertyNameproperty name field for XML encoding
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()new()
Initializes an object extending PropertyIsLike
PropertyIsNull$new(PropertyName)
PropertyNameproperty name
clone()
The objects of this class are cloneable with this method.
PropertyIsNull$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
expr <- PropertyIsNull$new(PropertyName = "property") expr_xml <- expr$encode() #see how it looks like in XMLexpr <- PropertyIsNull$new(PropertyName = "property") expr_xml <- expr$encode() #see how it looks like in XML
registerOWSNamespace allows to register a new namespace
in ows4R
registerOWSNamespace(id, uri, force)registerOWSNamespace(id, uri, force)
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 |
Emmanuel Blondel, [email protected]
registerOWSNamespace(id = "myprefix", uri = "http://someuri")registerOWSNamespace(id = "myprefix", uri = "http://someuri")
UnaryLogicOpType
UnaryLogicOpType
R6Class object.
Object of R6Class for modelling an UnaryLogicOpType
ows4R::OGCAbstractObject -> ows4R::OGCExpression -> UnaryLogicOpType
operationsa list OGC expressions
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()new()
Initializes a UnaryLogicOpType expression
UnaryLogicOpType$new(..., element, namespacePrefix, exprVersion = "1.1.0")
...list of objects of class OGCExpression
elementelement
namespacePrefixnamespacePrefix
exprVersionOGC expression version. Default is "1.1.0"
setExprVersion()
Sets expression version. The methods will control that expression versions are set for each of the operations specified in the expression.
UnaryLogicOpType$setExprVersion(exprVersion)
exprVersionOGC expression version
clone()
The objects of this class are cloneable with this method.
UnaryLogicOpType$clone(deep = FALSE)
deepWhether to make a deep clone.
abstract super class of all the unary logical operation classes
WCSCapabilities
WCSCapabilities
R6Class object.
Object of R6Class with methods for interfacing an OGC
Web Coverage Service Get Capabilities document.
ows4R::OGCAbstractObject -> ows4R::OWSCapabilities -> WCSCapabilities
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()ows4R::OWSCapabilities$getClient()ows4R::OWSCapabilities$getOWSVersion()ows4R::OWSCapabilities$getOperationsMetadata()ows4R::OWSCapabilities$getRequest()ows4R::OWSCapabilities$getService()ows4R::OWSCapabilities$getServiceIdentification()ows4R::OWSCapabilities$getServiceProvider()ows4R::OWSCapabilities$getServiceVersion()ows4R::OWSCapabilities$getUrl()ows4R::OWSCapabilities$setClient()new()
Initializes a WCSCapabilities object
WCSCapabilities$new(url, version, client = NULL, logger = NULL, ...)
urlurl
versionversion
clientan object of class WCSClient
loggerlogger type NULL, "INFO" or "DEBUG"
...any other parameter to pass to OWSGetCapabilities service request
getCoverageSummaries()
Get coverage summaries
WCSCapabilities$getCoverageSummaries()
a list of WCSCoverageSummary objects
findCoverageSummaryById()
Finds a coverage by name
WCSCapabilities$findCoverageSummaryById(expr, exact = FALSE)
exprexpr
exactexact matching? Default is TRUE
clone()
The objects of this class are cloneable with this method.
WCSCapabilities$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
## Not run: WCSCapabilities$new("http://localhost:8080/geoserver/wcs", serviceVersion = "2.0.1") ## End(Not run)## Not run: WCSCapabilities$new("http://localhost:8080/geoserver/wcs", serviceVersion = "2.0.1") ## End(Not run)
WCSClient
WCSClient
R6Class object.
Object of R6Class with methods for interfacing an OGC
Web Coverage Service.
ows4R::OGCAbstractObject -> ows4R::OWSClient -> WCSClient
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()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
WCSClient$new( url, serviceVersion = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
urlurl
serviceVersionWFS service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
getCapabilities()
Get WCS capabilities
WCSClient$getCapabilities()
an object of class WCSCapabilities
reloadCapabilities()
Reloads WCS capabilities
WCSClient$reloadCapabilities()
describeCoverage()
Describes coverage
WCSClient$describeCoverage(identifier)
identifieridentifier
an object of class WCSCoverageDescription
getCoverage()
Get coverage
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, ... )
identifierCoverage identifier. Object of class character
bboxbbox. Object of class matrix. Default is NULL. eg. OWSUtils$toBBOX(-180,180,-90,90)
crscrs. Object of class character giving the CRS identifier (EPSG prefixed code, or URI/URN). Default is NULL.
timetime. Object of class character representing time instant/period. Default is NULL
formatformat. Object of class character Default will be GeoTIFF, coded differently depending on the WCS version.
rangesubsetrangesubset. Default is NULL
gridbaseCRSgrid base CRS. Default is NULL
gridtypegrid type. Default is NULL
gridCSgrid CS. Default is NULL
gridorigingrid origin. Default is NULL
gridoffsetsgrid offsets. Default is NULL
methodmethod 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 character or numeric. Default is NULL
an object of class SpatRaster from terra
clone()
The objects of this class are cloneable with this method.
WCSClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
## Not run: wcs <- WCSClient$new("http://localhost:8080/geoserver/wcs", serviceVersion = "2.0.1") ## End(Not run)## Not run: wcs <- WCSClient$new("http://localhost:8080/geoserver/wcs", serviceVersion = "2.0.1") ## End(Not run)
WCSCoverage
WCSCoverage
R6Class object.
Object of R6Class modelling a WCS coverage
ows4R::OGCAbstractObject -> WCSCoverage
descriptiondescription
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WCSCoverage
WCSCoverage$new(xmlObj, serviceVersion, owsVersion, logger = NULL)
xmlObjobject of class XMLInternalNode-class
serviceVersionWCS service version
owsVersionOWS version
loggerlogger
getIdentifier()
Get identifier
WCSCoverage$getIdentifier()
an object of class character
getTitle()
Get title
WCSCoverage$getTitle()
an object of class character
getAbstract()
Get abstract
WCSCoverage$getAbstract()
an object of class character
getReference()
Get reference
WCSCoverage$getReference()
an object of class character
getData()
Get data
WCSCoverage$getData(filename = NULL)
filenamefilename. Optional file name where to download the coverage
an object of class SpatRaster from terra
clone()
The objects of this class are cloneable with this method.
WCSCoverage$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R.
Emmanuel Blondel <[email protected]>
WCSCoverageDescription
WCSCoverageDescription
R6Class object.
Object of R6Class modelling a WCS coverage summary
geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::GMLAbstractObject -> geometa::GMLAbstractFeature -> geometa::GMLAbstractCoverage -> geometa::GMLCOVAbstractCoverage -> WCSCoverageDescription
CoverageIdcoverage ID
SupportedCRSsupported CRS
SupportedFormatsupported Format
Domaindomain
Rangerange
ServiceParametersservice parmaeters
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()new()
Initializes an object of class WCSCoverageDescription
WCSCoverageDescription$new(xmlObj, serviceVersion, owsVersion, logger = NULL)
xmlObjan object of class XMLInternalNode-class to initialize from XML
serviceVersionservice version
owsVersionOWS version
loggerlogger
getId()
getId
WCSCoverageDescription$getId()
the coverage id, object of class character
getSupportedCRS()
getSupported CRS. Applies to WCS 1 coverage descriptions
WCSCoverageDescription$getSupportedCRS()
getSupportedFormats()
get supported formats. Applies to WCS 1 coverage descriptions
WCSCoverageDescription$getSupportedFormats()
getDomain()
get domain. Applies to WCS 1 coverage descriptions
WCSCoverageDescription$getDomain()
getRange()
get range. Applies to WCS 1.0 coverage descriptions
WCSCoverageDescription$getRange()
clone()
The objects of this class are cloneable with this method.
WCSCoverageDescription$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R.
Emmanuel Blondel <[email protected]>
WCSCoverageDomain
WCSCoverageDomain
R6Class object.
Object of R6Class modelling a WCS coverage domain
ows4R::OGCAbstractObject -> WCSCoverageDomain
spatialDomainspatial domain
temporalDomaintemporal domain
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WCSCoverageDomain
WCSCoverageDomain$new(xmlObj, serviceVersion, owsVersion, logger = NULL)
xmlObjan object of class XMLInternalNode-class to initialize from XML
serviceVersionservice version
owsVersionOWS version
loggerlogger
getSpatialDomain()
Get spatial domain
WCSCoverageDomain$getSpatialDomain()
object of class WCSCoverageSpatialDomain
getTemporalDomain()
Get spatial domain
WCSCoverageDomain$getTemporalDomain()
object of class WCSCoverageTemporalDomain
clone()
The objects of this class are cloneable with this method.
WCSCoverageDomain$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R.
Emmanuel Blondel <[email protected]>
WCSCoverageFilenameHandler provides a coverage filename handler for coverage download
WCSCoverageFilenameHandler(identifier, time, elevation, bbox, format)WCSCoverageFilenameHandler(identifier, time, elevation, bbox, format)
identifier |
coverage identifier |
time |
time |
elevation |
elevation |
bbox |
bbox |
format |
format |
the filename to use for coverage download
Emmanuel Blondel, [email protected]
WCSCoverageSpatialDomain
WCSCoverageSpatialDomain
R6Class object.
Object of R6Class modelling a WCS coverage spatial domain
ows4R::OGCAbstractObject -> WCSCoverageSpatialDomain
envelopesenvelopes. For WCS 1.0
BoundingBoxbounding box. For WCS 1.1
gridsFor WCS 1.0
GridCRSgrid CRS. For WCS 1.1
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WCSCoverageDomain
WCSCoverageSpatialDomain$new(xmlObj, serviceVersion, owsVersion, logger = NULL)
xmlObjan object of class XMLInternalNode-class to initialize from XML
serviceVersionservice version
owsVersionOWS version
loggerlogger
getEnvelopes()
Get envelopes. Method that applies to WCS 1.0 only
WCSCoverageSpatialDomain$getEnvelopes()
a list of objects of class GMLEnvelope or GMLEnvelopeWithTimePeriod
getBoundingBox()
Get bounding boxes. Method that applies to WCS 1.1 only
WCSCoverageSpatialDomain$getBoundingBox()
a list of objects of class OWSBoundingBox
getGrids()
Get grids. Method that applies to WCS 1.0 only
WCSCoverageSpatialDomain$getGrids()
a list of of objects of class GMLGrid or GMLRectifiedGrid
getGridCRS()
Get Grid CRS. Method that applies to WCS 1.1 only
WCSCoverageSpatialDomain$getGridCRS()
a list of objects of class WCSGridCRS
clone()
The objects of this class are cloneable with this method.
WCSCoverageSpatialDomain$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R.
Emmanuel Blondel <[email protected]>
WCSCoverageSummary
WCSCoverageSummary
R6Class object.
Object of R6Class modelling a WCS coverage summary
ows4R::OGCAbstractObject -> WCSCoverageSummary
CoverageIdcoverage id
CoverageSubtypecoverage subtype
CoverageSubtypeParentcoverage subtype parent
WGS84BoundingBoxWGS84 bounding box
BoundingBoxbounding box
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes a WCSCoverageSummary object
WCSCoverageSummary$new( xmlObj, capabilities, serviceVersion, owsVersion, logger = NULL )
xmlObjobject of class XMLInternalNode-class from XML
capabilitiesobject of class WCSCapabilities
serviceVersionWCS service version
owsVersionversion
loggerlogger type NULL, "INFO" or "DEBUG"
getId()
Get coverage ID
WCSCoverageSummary$getId()
an object of class character
getSubtype()
Get sub type
WCSCoverageSummary$getSubtype()
an object of class character
getSubtypeParent()
Get sub type parent
WCSCoverageSummary$getSubtypeParent()
an object of class character
getWGS84BoundingBox()
Get bounding box
WCSCoverageSummary$getWGS84BoundingBox()
an object of class OWSWGS84BoundingBox
getBoundingBox()
Get WGS84 bounding box
WCSCoverageSummary$getBoundingBox()
an object of class OWSBoundingBox
getDescription()
Get description
WCSCoverageSummary$getDescription()
an object of class WCSCoverageDescription
getDimensions()
Get dimensions
WCSCoverageSummary$getDimensions()
the list of dimensions
getCoverage()
Get coverage data
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, ... )
bboxbbox. Object of class matrix. Default is NULL. eg. OWSUtils$toBBOX(-180,180,-90,90)
crscrs. Object of class character giving the CRS identifier (EPSG prefixed code, or URI/URN). Default is NULL.
timetime. Object of class character representing time instant/period. Default is NULL
elevationelevation. Object of class character or numeric. Default is NULL
formatformat. Object of class character Default will be GeoTIFF, coded differently depending on the WCS version.
rangesubsetrangesubset. Default is NULL
gridbaseCRSgrid base CRS. Default is NULL
gridtypegrid type. Default is NULL
gridCSgrid CS. Default is NULL
gridorigingrid origin. Default is NULL
gridoffsetsgrid offsets. Default is NULL
methodmethod 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
an object of class SpatRaster from terra
getCoverageStack()
Get a spatio-temporal coverage data cubes as coverage stack
WCSCoverageSummary$getCoverageStack( time = NULL, elevation = NULL, bbox = NULL, filename_handler = NULL, ... )
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
an object of class stack from raster
clone()
The objects of this class are cloneable with this method.
WCSCoverageSummary$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R.
Emmanuel Blondel <[email protected]>
WCSCoverageTemporalDomain
WCSCoverageTemporalDomain
R6Class object.
Object of R6Class modelling a WCS coverage temporal domain
ows4R::OGCAbstractObject -> WCSCoverageTemporalDomain
instantsinstants
periodsperiods
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WCSCoverageTemporalDomain
WCSCoverageTemporalDomain$new( xmlObj, serviceVersion, owsVersion, logger = NULL )
xmlObjan object of class XMLInternalNode-class to initialize from XML
serviceVersionservice version
owsVersionOWS version
loggerlogger
getInstants()
Get time instants
WCSCoverageTemporalDomain$getInstants()
a list of objects of class POSIXct
getPeriods()
Get time periods
WCSCoverageTemporalDomain$getPeriods()
a list of objects of class GMLTimePeriod
clone()
The objects of this class are cloneable with this method.
WCSCoverageTemporalDomain$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R.
Emmanuel Blondel <[email protected]>
WCSDescribeCoverage
WCSDescribeCoverage
R6Class object.
Object of R6Class for modelling a WCS DescribeCoverage request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WCSDescribeCoverage
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()new()
Initializes a WCSDescribeCoverage service request
WCSDescribeCoverage$new( capabilities, op, url, serviceVersion, coverageId, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
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
clone()
The objects of this class are cloneable with this method.
WCSDescribeCoverage$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a WCS DescribeCoverage request
Emmanuel Blondel <[email protected]>
WCSGetCoverage
WCSGetCoverage
R6Class object.
Object of R6Class for modelling a WCS GetCoverage request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WCSGetCoverage
CoverageIdcoverage identifier
formatcoverage format
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()new()
Initializes a WCSGetCoverage service request
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, ... )
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
clone()
The objects of this class are cloneable with this method.
WCSGetCoverage$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a WCS GetCoverage request
Emmanuel Blondel <[email protected]>
WCSGridCRS
WCSGridCRS
R6Class object.
Object of R6Class modelling a WCS grid CRS
ows4R::OGCAbstractObject -> WCSGridCRS
GridBaseCRSgrid base CRS
GridTypegrid type
GridOrigingrid origin
GridOffsetsgrid offsets
GridCSgrid CS
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WCSGridCRS
WCSGridCRS$new(xmlObj, serviceVersion, owsVersion, logger = NULL)
xmlObjan object of class XMLInternalNode-class to initialize from XML
serviceVersionservice version
owsVersionOWS version
loggerlogger
clone()
The objects of this class are cloneable with this method.
WCSGridCRS$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R.
Emmanuel Blondel <[email protected]>
WCSGSElevationDomain
WCSGSElevationDomain
R6Class object.
Object of R6Class modelling a WCS geoserver elevation domain object
geometa::geometaLogger -> geometa::ISOAbstractObject -> WCSGSElevationDomain
SingleValuesingle values
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()decode()
Decodes from XML
WCSGSElevationDomain$decode(xml)
xmlobject of class XMLInternalNode-class from XML
clone()
The objects of this class are cloneable with this method.
WCSGSElevationDomain$clone(deep = FALSE)
deepWhether to make a deep clone.
Experimental
Emmanuel Blondel <[email protected]>
WCSGSTimeDomain
WCSGSTimeDomain
R6Class object.
Object of R6Class modelling a WCS geoserver time domain object
geometa::geometaLogger -> geometa::ISOAbstractObject -> WCSGSTimeDomain
TimeInstanttime instants
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()decode()
Decodes from XML
WCSGSTimeDomain$decode(xml)
xmlobject of class XMLInternalNode-class from XML
clone()
The objects of this class are cloneable with this method.
WCSGSTimeDomain$clone(deep = FALSE)
deepWhether to make a deep clone.
Experimental
Emmanuel Blondel <[email protected]>
WFSCapabilities
WFSCapabilities
R6Class object.
Object of R6Class with methods for interfacing an OGC
Web Feature Service Get Capabilities document.
ows4R::OGCAbstractObject -> ows4R::OWSCapabilities -> WFSCapabilities
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()ows4R::OWSCapabilities$getClient()ows4R::OWSCapabilities$getOWSVersion()ows4R::OWSCapabilities$getOperationsMetadata()ows4R::OWSCapabilities$getRequest()ows4R::OWSCapabilities$getService()ows4R::OWSCapabilities$getServiceIdentification()ows4R::OWSCapabilities$getServiceProvider()ows4R::OWSCapabilities$getServiceVersion()ows4R::OWSCapabilities$getUrl()ows4R::OWSCapabilities$setClient()new()
Initializes a WFSCapabilities object
WFSCapabilities$new(url, version, logger = NULL, ...)
urlurl
versionversion
loggerlogger type NULL, "INFO" or "DEBUG"
...any other parameter to pass to OWSGetCapabilities service request
getFeatureTypes()
List the feature types available. If pretty is TRUE,
the output will be an object of class data.frame
WFSCapabilities$getFeatureTypes(pretty = FALSE)
prettywhether the output should be summarized as data.frame
a list of WFSFeatureType or a data.frame
findFeatureTypeByName()
Finds a feature type by name
WFSCapabilities$findFeatureTypeByName(expr, exact = TRUE)
exprexpr
exactexact matching? Default is TRUE
clone()
The objects of this class are cloneable with this method.
WFSCapabilities$clone(deep = FALSE)
deepWhether to make a deep clone.
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.
Emmanuel Blondel <[email protected]>
WFSClient
WFSClient
R6Class object.
Object of R6Class with methods for interfacing an OGC
Web Feature Service.
ows4R::OGCAbstractObject -> ows4R::OWSClient -> WFSClient
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()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
WFSClient$new( url, serviceVersion = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
urlurl
serviceVersionWFS service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
getCapabilities()
Get WFS capabilities
WFSClient$getCapabilities()
an object of class WFSCapabilities
reloadCapabilities()
Reloads WFS capabilities
WFSClient$reloadCapabilities()
describeFeatureType()
Describes a feature type
WFSClient$describeFeatureType(typeName)
typeNamethe name of the feature type
a list of WFSFeatureTypeElement
getFeatures()
Get features
WFSClient$getFeatures(typeName, ...)
typeNamethe name of the feature type
...any other parameter to pass to the WFSGetFeature request
features as object of class sf
getFeatureTypes()
List the feature types available. If pretty is TRUE,
the output will be an object of class data.frame
WFSClient$getFeatureTypes(pretty = FALSE)
prettywhether the output should be summarized as data.frame
a list of WFSFeatureType or a data.frame
clone()
The objects of this class are cloneable with this method.
WFSClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
## 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)## 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
WFSDescribeFeatureType
R6Class object.
Object of R6Class for modelling a WFS DescribeFeatureType request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WFSDescribeFeatureType
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()new()
Initializes a WFSDescribeFeatureType service request
WFSDescribeFeatureType$new( capabilities, op, url, version, typeName, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
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
clone()
The objects of this class are cloneable with this method.
WFSDescribeFeatureType$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used by ows4R to trigger a WFS DescribeFeatureType request
Emmanuel Blondel <[email protected]>
WFSFeatureType
WFSFeatureType
R6Class object.
Object of R6Class modelling a WFS feature type
ows4R::OGCAbstractObject -> WFSFeatureType
descriptiondescription
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WFSFeatureType
WFSFeatureType$new(xmlObj, capabilities, version, logger = NULL)
xmlObjan object of class XMLInternalNode-class to initialize from XML
capabilitiesobject of class WFSCapabilities
versionservice version
loggerlogger
getName()
Get feature type name
WFSFeatureType$getName()
objectof class character
getTitle()
Get feature type title
WFSFeatureType$getTitle()
objectof class character
getAbstract()
Get feature type abstract
WFSFeatureType$getAbstract()
objectof class character
getKeywords()
Get feature type keywords
WFSFeatureType$getKeywords()
objectof class character
getDefaultCRS()
Get feature type default CRS
WFSFeatureType$getDefaultCRS()
objectof class character
getBoundingBox()
Get feature type bounding box
WFSFeatureType$getBoundingBox()
objectof class matrix
getDescription()
Describes a feature type
WFSFeatureType$getDescription(pretty = FALSE)
prettypretty whether to return a prettified data.frame. Default is FALSE
a list of WFSFeatureTypeElement or data.frame
hasGeometry()
Indicates with feature type has a geometry
WFSFeatureType$hasGeometry()
object of class logical
getGeometryField()
Get geometry field
WFSFeatureType$getGeometryField()
object of class character representing the geometry field
getGeometryType()
Get geometry type
WFSFeatureType$getGeometryType()
object of class character representing the geometry type
getFeaturesCRS()
Inherits features CRS
WFSFeatureType$getFeaturesCRS(obj)
objfeatures object
object of class integer
getFeatures()
Get features
WFSFeatureType$getFeatures( ..., validate = TRUE, outputFormat = NULL, paging = FALSE, paging_length = 1000, parallel = FALSE, parallel_handler = NULL, cl = NULL )
...any other parameter to pass to the WFSGetFeature request
validateWhether features have to be validated vs. the feature type description. Default is TRUE
outputFormatoutput format
pagingpaging. Default is FALSE
paging_lengthnumber of features to request per page. Default is 1000
parallelwhether to get features using parallel multicore strategy. Default is FALSE
parallel_handlerHandler function to parallelize the code. eg mclapply
cloptional cluster object for parallel cluster approaches using eg. parallel::makeCluster
typeNamethe name of the feature type
features as object of class sf
clone()
The objects of this class are cloneable with this method.
WFSFeatureType$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a WFS DescribeFeatureType request
Emmanuel Blondel <[email protected]>
WFSFeatureTypeElement
WFSFeatureTypeElement
R6Class object.
Object of R6Class modelling a WFS feature type element
ows4R::OGCAbstractObject -> WFSFeatureTypeElement
minOccursminOccurs
maxOccursmaxOccurs
nillablenillable
namename
typetype
geometrygeometry
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes a WFSFeatureTypeElement
WFSFeatureTypeElement$new(xmlObj, namespaces)
xmlObjobject of class XMLInternalNode-class from XML
namespacesnamespaces definitions inherited from parent XML, as data.frame
getMinOccurs()
get min occurs
WFSFeatureTypeElement$getMinOccurs()
an object of class character
getMaxOccurs()
get max occurs
WFSFeatureTypeElement$getMaxOccurs()
an object of class character
isNillable()
get if nillable
WFSFeatureTypeElement$isNillable()
an object of class logical
getName()
get name
WFSFeatureTypeElement$getName()
an object of class character
getType()
get type
WFSFeatureTypeElement$getType()
an object of class character
isGeometry()
Is geometry
WFSFeatureTypeElement$isGeometry()
returnobject of class logical
clone()
The objects of this class are cloneable with this method.
WFSFeatureTypeElement$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used by ows4R
Emmanuel Blondel <[email protected]>
WFSGetFeature
WFSGetFeature
R6Class object.
Object of R6Class for modelling a WFS GetFeature request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WFSGetFeature
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()new()
Initializes a WFSGetFeature service request
WFSGetFeature$new( capabilities, op, url, version, typeName, outputFormat = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
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
clone()
The objects of this class are cloneable with this method.
WFSGetFeature$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a WFS GetFeature request
Emmanuel Blondel <[email protected]>
WMSCapabilities
WMSCapabilities
R6Class object.
Object of R6Class with methods for interfacing an OGC
Web Map Service Get Capabilities document.
ows4R::OGCAbstractObject -> ows4R::OWSCapabilities -> WMSCapabilities
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()ows4R::OWSCapabilities$getClient()ows4R::OWSCapabilities$getOWSVersion()ows4R::OWSCapabilities$getOperationsMetadata()ows4R::OWSCapabilities$getRequest()ows4R::OWSCapabilities$getService()ows4R::OWSCapabilities$getServiceIdentification()ows4R::OWSCapabilities$getServiceProvider()ows4R::OWSCapabilities$getServiceVersion()ows4R::OWSCapabilities$getUrl()ows4R::OWSCapabilities$setClient()new()
Initializes a WMSCapabilities object
WMSCapabilities$new(url, version, logger = NULL, ...)
urlurl
versionversion
loggerlogger type NULL, "INFO" or "DEBUG"
...any other parameter to pass to OWSGetCapabilities service request
getRequests()
List the requests available. If pretty is TRUE,
the output will be an object of class data.frame
WMSCapabilities$getRequests(pretty = FALSE)
prettypretty
a list of OWSRequest available, or a data.frame
getRequestNames()
List the names of requests available.
WMSCapabilities$getRequestNames()
object of class character
getLayers()
List the layers available. If pretty is TRUE,
the output will be an object of class data.frame
WMSCapabilities$getLayers(pretty = FALSE)
prettypretty
a list of WMSLayer available, or a data.frame
findLayerByName()
Finds a layer by name
WMSCapabilities$findLayerByName(expr, exact = TRUE)
exprexpr
exactexact matching? Default is TRUE
clone()
The objects of this class are cloneable with this method.
WMSCapabilities$clone(deep = FALSE)
deepWhether to make a deep clone.
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.
Emmanuel Blondel <[email protected]>
WMSClient
WMSClient
R6Class object.
Object of R6Class with methods for interfacing an OGC
Web Map Service.
ows4R::OGCAbstractObject -> ows4R::OWSClient -> WMSClient
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()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
WMSClient$new( url, serviceVersion = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
urlurl
serviceVersionWFS service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
getCapabilities()
Get WMS capabilities
WMSClient$getCapabilities()
an object of class WMSCapabilities
reloadCapabilities()
Reloads WFS capabilities
WMSClient$reloadCapabilities()
getLayers()
List the layers available. If pretty is TRUE,
the output will be an object of class data.frame
WMSClient$getLayers(pretty = FALSE)
prettypretty
a list of WMSLayer available, or a data.frame
getMap()
Get map. NOT YET IMPLEMENTED
WMSClient$getMap()
getFeatureInfo()
Get feature info
WMSClient$getFeatureInfo( layer, srs = NULL, styles = NULL, feature_count = 1, x, y, width, height, bbox, info_format = "application/vnd.ogc.gml", ... )
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
an object of class sf given the feature(s)
getLegendGraphic()
Get legend graphic. NOT YET IMPLEMENTED
WMSClient$getLegendGraphic()
clone()
The objects of this class are cloneable with this method.
WMSClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
## 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)## 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
WMSGetFeatureInfo
R6Class object.
Object of R6Class for modelling a WMS GetFeatureInfo request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WMSGetFeatureInfo
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()new()
Initializes a WMSGetFeatureInfo service request
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, ... )
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
clone()
The objects of this class are cloneable with this method.
WMSGetFeatureInfo$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a WMS GetFeatureInfo request
Emmanuel Blondel <[email protected]>
WMSLayer
WMSLayer
R6Class object.
Object of R6Class modelling a WMS layer
ows4R::OGCAbstractObject -> WMSLayer
descriptiondescription
featuresfeatures
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WMSLayer
WMSLayer$new(xmlObj, capabilities, version, logger = NULL)
xmlObjan object of class XMLInternalNode-class to initialize from XML
capabilitiesobject of class WMSCapabilities
versionservice version
loggerlogger
getName()
Get layer name
WMSLayer$getName()
object of class character
getTitle()
Get layer title
WMSLayer$getTitle()
object of class character
getAbstract()
Get layer abstract
WMSLayer$getAbstract()
object of class character
getKeywords()
Get layer keywords
WMSLayer$getKeywords()
object of class character
getDefaultCRS()
Get layer default CRS
WMSLayer$getDefaultCRS()
object of class character
getBoundingBox()
Get layer bounding box
WMSLayer$getBoundingBox()
object of class matrix
getBoundingBoxSRS()
Get layer bounding box SRS
WMSLayer$getBoundingBoxSRS()
object of class character
getBoundingBoxCRS()
Get layer bounding box CRS
WMSLayer$getBoundingBoxCRS()
object of class character
getStyles()
Get layer styles
WMSLayer$getStyles()
an object of class list
getStylenames()
Get layer style names
WMSLayer$getStylenames()
list of object of class character
getDimensions()
Get layer dimensions
WMSLayer$getDimensions(time_format = "character")
time_formattime format. Default is character
a list including default value and listed possible values
getTimeDimension()
Get layer TIME dimensions
WMSLayer$getTimeDimension(time_format = "character")
time_formattime format. Default is character
a list including default value and listed possible values
getElevationDimension()
Get layer ELEVATION dimensions
WMSLayer$getElevationDimension()
a list including default value and listed possible values
getFeatureInfo()
Get feature info
WMSLayer$getFeatureInfo( srs = NULL, styles = NULL, feature_count = 1, x, y, width, height, bbox, info_format = "text/xml", ... )
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
an object of class sf given the feature(s)
clone()
The objects of this class are cloneable with this method.
WMSLayer$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used by ows4R
Emmanuel Blondel <[email protected]>
WPSBoundingBoxData
WPSBoundingBoxData
R6Class object.
Object of R6Class for modelling an OGC WPS BoundingBox data
ows4R::OGCAbstractObject -> ows4R::OWSBoundingBox -> WPSBoundingBoxData
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()new()
Initializes an object of class WPSBoundingBoxData
WPSBoundingBoxData$new( xml = NULL, owsVersion, serviceVersion = "1.0.0", logger = NULL, ... )
xmlan object of class XMLInternalNode-class to initialize from XML
owsVersionOWS version
serviceVersionWPS service version
loggerlogger
...any other parameter
clone()
The objects of this class are cloneable with this method.
WPSBoundingBoxData$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
WPSCapabilities
WPSCapabilities
R6Class object.
Object of R6Class with methods for interfacing an OGC
Web Processing Service (WPS) Get Capabilities document.
ows4R::OGCAbstractObject -> ows4R::OWSCapabilities -> WPSCapabilities
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()ows4R::OWSCapabilities$getClient()ows4R::OWSCapabilities$getOWSVersion()ows4R::OWSCapabilities$getOperationsMetadata()ows4R::OWSCapabilities$getRequest()ows4R::OWSCapabilities$getService()ows4R::OWSCapabilities$getServiceIdentification()ows4R::OWSCapabilities$getServiceProvider()ows4R::OWSCapabilities$getServiceVersion()ows4R::OWSCapabilities$getUrl()ows4R::OWSCapabilities$setClient()new()
Initializes a WPSCapabilities object
WPSCapabilities$new(url, version, client = NULL, logger = NULL, ...)
urlurl
versionversion
clientan object of class WPSClient
loggerlogger type NULL, "INFO" or "DEBUG"
...any other parameter to pass to OWSGetCapabilities service request
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.
WPSCapabilities$getProcesses(pretty = FALSE, full = FALSE)
prettypretty
fullfull
a list of WPSProcessDescription or a data.frame
describeProcess()
Get the description of a process, given its identifier, returning an object of class WPSProcessDescription
WPSCapabilities$describeProcess(identifier)
identifierprocess identifier
an object of class WPSProcessDescription
execute()
Execute a process, given its identifier
WPSCapabilities$execute( identifier, dataInputs = list(), responseForm = NULL, storeExecuteResponse = FALSE, lineage = NULL, status = NULL, update = FALSE, updateInterval = 1 )
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. FALSE by default
lineagelineage, object of class logical
statusstatus, object of class logical
updateupdate, object of class logical. For asynchronous requests
updateIntervalupdate interval, object of class integer. For asynchronous requests
clone()
The objects of this class are cloneable with this method.
WPSCapabilities$clone(deep = FALSE)
deepWhether to make a deep clone.
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.
Emmanuel Blondel <[email protected]>
WPSClient
WPSClient
R6Class object.
Object of R6Class with methods for interfacing an OGC
Web Processing Service.
ows4R::OGCAbstractObject -> ows4R::OWSClient -> WPSClient
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()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
WPSClient$new( url, serviceVersion = NULL, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), cas_url = NULL, logger = NULL )
urlurl
serviceVersionWFS service version
useruser
pwdpassword
tokentoken
headersheaders
configconfig
cas_urlCentral Authentication Service (CAS) URL
loggerlogger
getCapabilities()
Get WPS capabilities
WPSClient$getCapabilities()
an object of class WPSCapabilities
reloadCapabilities()
Reloads WPS capabilities
WPSClient$reloadCapabilities()
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.
WPSClient$getProcesses(pretty = FALSE, full = FALSE)
prettypretty
fullfull
a list of WPSProcessDescription or a data.frame
describeProcess()
Get the description of a process, given its identifier, returning an object of class WPSProcessDescription
WPSClient$describeProcess(identifier)
identifierprocess identifier
an object of class WPSProcessDescription
execute()
Execute a process, given its identifier
WPSClient$execute( identifier, dataInputs = list(), responseForm = NULL, storeExecuteResponse = FALSE, lineage = NULL, status = NULL, update = FALSE, updateInterval = 1 )
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. FALSE by default
lineagelineage, object of class logical
statusstatus, object of class logical
updateupdate, object of class logical. For asynchronous requests
updateIntervalupdate interval, object of class integer. For asynchronous requests
clone()
The objects of this class are cloneable with this method.
WPSClient$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
## 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)## 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
WPSComplexData
R6Class object.
Object of R6Class for modelling a WPS Complex Data
ows4R::OGCAbstractObject -> WPSComplexData
valuevalue
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WPSComplexData
WPSComplexData$new( xml = NULL, value = NULL, schema = NULL, mimeType = NULL, serviceVersion = "1.0.0", cdata = TRUE )
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
decode()
Decodes an object of class WPSComplexData from XML
WPSComplexData$decode(xml)
xmlan object of class XMLInternalNode-class to initialize from XML
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.
WPSComplexData$checkValidity(parameterDescription)
parameterDescriptionobject of class WPSComplexInputDescription
an error if not valid
getFeatures()
Get features
WPSComplexData$getFeatures()
object of class sf
clone()
The objects of this class are cloneable with this method.
WPSComplexData$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
WPSComplexInputDescription
WPSComplexInputDescription
R6Class object.
Object of R6Class modelling a WPS process complex input description
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> ows4R::WPSInputDescription -> WPSComplexInputDescription
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()new()
Initializes a WPSComplexInputDescription
WPSComplexInputDescription$new(xml = NULL, version, logger = NULL, ...)
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
clone()
The objects of this class are cloneable with this method.
WPSComplexInputDescription$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R
Emmanuel Blondel <[email protected]>
WPSComplexOutputDescription
WPSComplexOutputDescription
R6Class object.
Object of R6Class modelling a WPS process complex input description
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> ows4R::WPSOutputDescription -> WPSComplexOutputDescription
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()new()
Initializes a WPSComplexOutputDescription
WPSComplexOutputDescription$new(xml = NULL, version, logger = NULL, ...)
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
clone()
The objects of this class are cloneable with this method.
WPSComplexOutputDescription$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R
Emmanuel Blondel <[email protected]>
WPSDescribeProcess
WPSDescribeProcess
R6Class object.
Object of R6Class for modelling a WPS DescribeProcess request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WPSDescribeProcess
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()new()
Initializes a WPSDescribeProcess service request
WPSDescribeProcess$new( capabilities, op, url, serviceVersion, identifier, user = NULL, pwd = NULL, token = NULL, headers = c(), config = httr::config(), logger = NULL, ... )
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
clone()
The objects of this class are cloneable with this method.
WPSDescribeProcess$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a WPS DescribeProcess request
Emmanuel Blondel <[email protected]>
WPSDescriptionParameter
WPSDescriptionParameter
R6Class object.
Object of R6Class modelling a WPS process input description parameter
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> WPSDescriptionParameter
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()new()
Initializes a WPSDescriptionParameter
WPSDescriptionParameter$new(xml = NULL, version, logger = NULL, ...)
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
getDataType()
Get data type
WPSDescriptionParameter$getDataType()
object of class character
getFormats()
get formats
WPSDescriptionParameter$getFormats()
the formats
clone()
The objects of this class are cloneable with this method.
WPSDescriptionParameter$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R
Emmanuel Blondel <[email protected]>
WPSException
WPSException
R6Class object.
Object of R6Class for modelling a WPS Exception
ows4R::OGCAbstractObject -> WPSException
valuevalue
percentCompletedpercent of completion
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes a WPSException
WPSException$new(xml = NULL, serviceVersion = "1.0.0")
xmlobject of class XMLInternalNode-class from XML
serviceVersionservice version. Default "1.0.0"
decode()
Decodes an object of class WPSException from XML
WPSException$decode(xml)
xmlobject of class XMLInternalNode-class from XML
clone()
The objects of this class are cloneable with this method.
WPSException$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
WPSExecute
WPSExecute
R6Class object.
Object of R6Class for modelling a WPS Execute request
ows4R::OGCAbstractObject -> ows4R::OWSHttpRequest -> WPSExecute
Identifierprocess identifier
DataInputslist of WPSInput
ResponseFormresponse form
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()new()
Initializes a WPSExecute service request
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, ... )
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. FALSE by default
lineagelineage, object of class logical
statusstatus, object of class logical
useruser
pwdpassword
tokentoken
headersheaders
configconfig
loggerlogger
...any other parameter to pass to the request
getProcessDescription()
Get process description
WPSExecute$getProcessDescription()
an object of class WPSProcessDescription
clone()
The objects of this class are cloneable with this method.
WPSExecute$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R to trigger a WPS Execute request
Emmanuel Blondel <[email protected]>
WPSExecuteResponse
WPSExecuteResponse
R6Class object.
Object of R6Class for modelling a WPS Execute response
ows4R::OGCAbstractObject -> WPSExecuteResponse
processprocess
statusstatus
statusLocationstatus location
statusHistorystatus history
processOutputsprocess outputs
exceptionexception
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes a WPSExecuteResponse
WPSExecuteResponse$new( xml, capabilities, processDescription = NULL, logger = NULL )
xmlobject of class XMLInternalNode-class from XML
capabilitiesobject of class WPSCapabilities
processDescriptionprocess description
loggerlogger
getProcess()
Get process
WPSExecuteResponse$getProcess()
an object of class WPSProcess
getStatus()
Get status
WPSExecuteResponse$getStatus()
an object of class WPSStatus
getStatusLocation()
Get status location
WPSExecuteResponse$getStatusLocation()
an object of class character
getStatusHistory()
Get status history
WPSExecuteResponse$getStatusHistory()
an object of class character
getProcessOutputs()
Get list of process outputs
WPSExecuteResponse$getProcessOutputs()
a list of outputs
getException()
Get exception
WPSExecuteResponse$getException()
an object of class WPSException
decode()
Decodes an object of class WPSExecuteResponse from XML
WPSExecuteResponse$decode(xml, capabilities, processDescription, logger)
xmlobject of class XMLInternalNode-class from XML
capabilitiesobject of class WPSCapabilities
processDescriptionprocess description
loggerlogger
update()
Updates status history
WPSExecuteResponse$update(verbose = FALSE)
verboseverbose. Default is FALSE
clone()
The objects of this class are cloneable with this method.
WPSExecuteResponse$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
WPSFormat
WPSFormat
R6Class object.
Object of R6Class modelling a WPS process input description
ows4R::OGCAbstractObject -> WPSFormat
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WPSFormat
WPSFormat$new(xml = NULL, version, logger = NULL, ...)
xmlan object of class XMLInternalNode-class to initialize from XML
versionWPS service version
loggerlogger
...any additional parameter
getMimeType()
Get mime type
WPSFormat$getMimeType()
object of class character
getEncoding()
Get encoding
WPSFormat$getEncoding()
object of class character
getSchema()
Get schema
WPSFormat$getSchema()
object of class character
setIsDefault()
set is default
WPSFormat$setIsDefault(default)
defaultobject of class logical
isDefault()
is default
WPSFormat$isDefault()
TRUE if default, FALSE otherwise
clone()
The objects of this class are cloneable with this method.
WPSFormat$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R
Emmanuel Blondel <[email protected]>
WPSInput
WPSInput
R6Class object.
Object of R6Class for modelling a WPS Input
ows4R::OGCAbstractObject -> WPSInput
Identifieridentifier
Datadata
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes a WPSInput
WPSInput$new(xml = NULL, identifier, data, serviceVersion = "1.0.0")
xmlobject of class XMLInternalNode-class from XML
identifieridentifier
datadata
serviceVersionservice version. Default "1.0.0"
clone()
The objects of this class are cloneable with this method.
WPSInput$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
WPSInputDescription
WPSInputDescription
R6Class object.
Object of R6Class modelling a WPS process input description
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> WPSInputDescription
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()new()
Initializes a WPSInputDescription
WPSInputDescription$new(xml = NULL, version, logger = NULL, ...)
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
getMinOccurs()
Get min occurs
WPSInputDescription$getMinOccurs()
the min occurs
getMaxOccurs()
Get max occurs
WPSInputDescription$getMaxOccurs()
the max occurs
asDataFrame()
Get intput description as data.frame
WPSInputDescription$asDataFrame()
object of class character
clone()
The objects of this class are cloneable with this method.
WPSInputDescription$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R
Emmanuel Blondel <[email protected]>
WPSLiteralData
WPSLiteralData
R6Class object.
Object of R6Class for modelling a WPS Literal Data
ows4R::OGCAbstractObject -> WPSLiteralData
valuevalue
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WPSLiteralData
WPSLiteralData$new(xml = NULL, value = NULL, serviceVersion = "1.0.0")
xmlan object of class XMLInternalNode-class to initialize from XML
valuevalue
serviceVersionWPS service version
decode()
Decodes an object of class WPSLiteralData from XML
WPSLiteralData$decode(xml)
xmlan object of class XMLInternalNode-class to initialize from XML
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.
WPSLiteralData$checkValidity(parameterDescription)
parameterDescriptionobject of class WPSLiteralInputDescription
an error if not valid
clone()
The objects of this class are cloneable with this method.
WPSLiteralData$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
WPSLiteralInputDescription
WPSLiteralInputDescription
R6Class object.
Object of R6Class modelling a WPS process input description
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> ows4R::WPSInputDescription -> WPSLiteralInputDescription
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()new()
Initializes a WPSLiteralInputDescription
WPSLiteralInputDescription$new(xml = NULL, version, logger = NULL, ...)
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
getDataType()
Get data type
WPSLiteralInputDescription$getDataType()
the data type, object of class character
getDefaultValue()
Get default value
WPSLiteralInputDescription$getDefaultValue()
the default value, object of class character
getAllowedValues()
Get allowed values
WPSLiteralInputDescription$getAllowedValues()
the allowed values
clone()
The objects of this class are cloneable with this method.
WPSLiteralInputDescription$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R
Emmanuel Blondel <[email protected]>
WPSLiteralOutputDescription
WPSLiteralOutputDescription
R6Class object.
Object of R6Class modelling a WPS process literal output description
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> ows4R::WPSOutputDescription -> WPSLiteralOutputDescription
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()new()
Initializes a WPSLiteralOutputDescription
WPSLiteralOutputDescription$new(xml = NULL, version, logger = NULL, ...)
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
clone()
The objects of this class are cloneable with this method.
WPSLiteralOutputDescription$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R
Emmanuel Blondel <[email protected]>
WPSOutput
WPSOutput
R6Class object.
Object of R6Class for modelling a WPS Input
ows4R::OGCAbstractObject -> WPSOutput
Identifieridentifier
Titletile
Datadata
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes a WPSOutput
WPSOutput$new( xml = NULL, identifier = NULL, title = NULL, data = NULL, dataType = NULL, serviceVersion = "1.0.0" )
xmlobject of class XMLInternalNode-class from XML
identifieridentifier
titletitle
datadata
dataTypedata type
serviceVersionWPS service version
decode()
Decodes an object of class WPSOutput from XML
WPSOutput$decode(xml)
xmlobject of class XMLInternalNode-class from XML
getData()
Get data
WPSOutput$getData()
data
getDataValue()
Get data value
WPSOutput$getDataValue()
data value
clone()
The objects of this class are cloneable with this method.
WPSOutput$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
WPSOutputDescription
WPSOutputDescription
R6Class object.
Object of R6Class modelling a WPS process input description
ows4R::OGCAbstractObject -> ows4R::WPSParameter -> ows4R::WPSDescriptionParameter -> WPSOutputDescription
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()new()
Initializes a WPSOutputDescription
WPSOutputDescription$new(xml = NULL, version, logger = NULL, ...)
xmlobject of class XMLInternalNode-class from XML
versionWPS service version
loggerlogger
...any other parameter
clone()
The objects of this class are cloneable with this method.
WPSOutputDescription$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R
Emmanuel Blondel <[email protected]>
WPSParameter
WPSParameter
R6Class object.
Object of R6Class modelling a WPS parameter
ows4R::OGCAbstractObject -> WPSParameter
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WPSParameter
WPSParameter$new(xml = NULL, version, logger = NULL, ...)
xmlan object of class XMLInternalNode-class to initialize from XML
versionWPS service version
loggerlogger
...any additional parameter
getIdentifier()
Get identifier
WPSParameter$getIdentifier()
object of class character
getTitle()
Get title
WPSParameter$getTitle()
object of class character
getAbstract()
Get abstract
WPSParameter$getAbstract()
object of class character
clone()
The objects of this class are cloneable with this method.
WPSParameter$clone(deep = FALSE)
deepWhether to make a deep clone.
Abstract class used internally by ows4R
Emmanuel Blondel <[email protected]>
WPSProcess
WPSProcess
R6Class object.
Object of R6Class modelling a WPS process
ows4R::OGCAbstractObject -> WPSProcess
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes a WPSProcess
WPSProcess$new(xml, capabilities = NULL, version, logger = NULL, ...)
xmlobject of class XMLInternalNode-class from XML
capabilitiesobject of class WPSCapabilities
versionservice version
loggerlogger
...any additional parameter
getIdentifier()
Get identifier
WPSProcess$getIdentifier()
object of class character
getTitle()
Get title
WPSProcess$getTitle()
object of class character
getVersion()
Get version
WPSProcess$getVersion()
object of class character
getDescription()
Get description
WPSProcess$getDescription()
object of class WPSProcessDescription
execute()
Execute process
WPSProcess$execute( dataInputs = list(), responseForm = NULL, storeExecuteResponse = FALSE, lineage = NULL, status = NULL, update = FALSE, updateInterval = 1 )
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. FALSE by default
lineagelineage, object of class logical
statusstatus, object of class logical
updateupdate, object of class logical. For asynchronous requests
updateIntervalupdate interval, object of class integer. For asynchronous requests
clone()
The objects of this class are cloneable with this method.
WPSProcess$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R
Emmanuel Blondel <[email protected]>
WPSProcessDescription
WPSProcessDescription
R6Class object.
Object of R6Class modelling a WPS process description
ows4R::OGCAbstractObject -> WPSProcessDescription
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes an object of class WPSProcessDescription
WPSProcessDescription$new(xml, version, logger = NULL, ...)
xmlobject of class XMLInternalNode-class from XML
versionversion
loggerlogger
...any other parameter
getIdentifier()
Get process identifier
WPSProcessDescription$getIdentifier()
the identifier, object of class character
getTitle()
Get process title
WPSProcessDescription$getTitle()
the title, object of class character
getAbstract()
Get process abstract
WPSProcessDescription$getAbstract()
the abstract, object of class character
getVersion()
Get process version
WPSProcessDescription$getVersion()
theversion, object of class character
isStatusSupported()
Indicates if the status is supported
WPSProcessDescription$isStatusSupported()
TRUE if supported, FALSE otherwise
isStoreSupported()
Indicates if the store is supported
WPSProcessDescription$isStoreSupported()
TRUE if supported, FALSE otherwise
getDataInputs()
Get data inputs
WPSProcessDescription$getDataInputs()
a list of objects extending WPSInputDescription
getProcessOutputs()
Get process outputs
WPSProcessDescription$getProcessOutputs()
a list of objects extending WPSOutputDescription
asDataFrame()
Convenience method to export a process description as data.frame
WPSProcessDescription$asDataFrame()
a data.frame giving the process description
clone()
The objects of this class are cloneable with this method.
WPSProcessDescription$clone(deep = FALSE)
deepWhether to make a deep clone.
Class used internally by ows4R
Emmanuel Blondel <[email protected]>
WPSResponseDocument
WPSResponseDocument
R6Class object.
Object of R6Class for modelling an OGC WPS response document
ows4R::OGCAbstractObject -> WPSResponseDocument
Outputoutput property
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initializes a WPSResponseDocument
WPSResponseDocument$new( xml = NULL, storeExecuteResponse = FALSE, lineage = NULL, status = NULL, output = NULL, serviceVersion = "1.0.0" )
xmlobject of class XMLInternalNode-class from XML
storeExecuteResponsestore execute response, object of class logical
lineagelineage, object of class logical
statusstatus, object of class logical
outputoutput
serviceVersionWPS service version
clone()
The objects of this class are cloneable with this method.
WPSResponseDocument$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>
WPSStatus
WPSStatus
R6Class object.
Object of R6Class for modelling a WPS Status
ows4R::OGCAbstractObject -> WPSStatus
valuestatus value
percentCompletedstatus percentage of completion
ows4R::OGCAbstractObject$ERROR()ows4R::OGCAbstractObject$INFO()ows4R::OGCAbstractObject$WARN()ows4R::OGCAbstractObject$encode()ows4R::OGCAbstractObject$getClass()ows4R::OGCAbstractObject$getClassName()ows4R::OGCAbstractObject$getNamespaceDefinition()ows4R::OGCAbstractObject$isFieldInheritedFrom()ows4R::OGCAbstractObject$logger()ows4R::OGCAbstractObject$print()new()
Initalizes a WPSStatus object
WPSStatus$new(xml = NULL, serviceVersion = "1.0.0")
xmlan object of class XMLInternalNode-class from XML
serviceVersionWPS service version. Default is "1.0.0"
decode()
Decodes WPS status from XML
WPSStatus$decode(xml)
xmlan object of class XMLInternalNode-class from XML
getValue()
Get status value, among accepted WPS status values defined in the WPS standard:
ProcessAccepted, ProcessStarted, ProcessPaused, ProcessSucceeded,
ProcessFailed.
WPSStatus$getValue()
value, object of class character
getPercentCompleted()
Get percentage of completion
WPSStatus$getPercentCompleted()
the percentage of completion, object of class integer
getCreationTime()
Get creation time
WPSStatus$getCreationTime()
the creation time, object of class POSIXct
clone()
The objects of this class are cloneable with this method.
WPSStatus$clone(deep = FALSE)
deepWhether to make a deep clone.
Emmanuel Blondel <[email protected]>