CSWConstraint: CSWConstraint

CSWConstraintR Documentation

CSWConstraint

Description

CSWConstraint

CSWConstraint

Format

R6Class object.

Value

Object of R6Class for modelling an CSW Constraint

Super class

ows4R::OGCAbstractObject -> CSWConstraint

Public fields

wrap

internal property for object XML encoding

CqlText

text to use as CQL filter

filter

Methods

Public methods

Inherited methods

Method new()

Initializes a CSWConstraint object to be used to constrain CSW operations.

Usage
CSWConstraint$new(cqlText = NULL, filter = NULL, serviceVersion = "2.0.2")
Arguments
cqlText

cqlText, object of class character

filter

filter, object extending OGCFilter

serviceVersion

CSW service version. Default is "2.0.2"


Method setServiceVersion()

Set service version. This methods ensures that underlying filter property is properly set with the right OGC filter version.

Usage
CSWConstraint$setServiceVersion(serviceVersion)
Arguments
serviceVersion

service version


Method clone()

The objects of this class are cloneable with this method.

Usage
CSWConstraint$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Examples

  filter <- OGCFilter$new( PropertyIsEqualTo$new("apiso:Identifier", "12345") )
  cons <- CSWConstraint$new(filter = filter)
  cons_xml <- cons$encode() #how it looks like in XML


ows4R documentation built on June 26, 2024, 5:09 p.m.