Skip to contents

OGCFilter

OGCFilter

Format

R6Class object.

Value

Object of R6Class for modelling an OGC Filter

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super class

ows4R::OGCAbstractObject -> OGCFilter

Public fields

expr

OGC expression

Methods

Inherited methods


Method new()

Initializes an object of class OGCFilter.

Usage

OGCFilter$new(expr, filterVersion = "1.1.0")

Arguments

expr

object of class OGCExpression

filterVersion

OGC filter version. Default is "1.1.0"


Method setFilterVersion()

Sets the OGC filter version

Usage

OGCFilter$setFilterVersion(filterVersion)

Arguments

filterVersion

OGC filter version


Method clone()

The objects of this class are cloneable with this method.

Usage

OGCFilter$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

  expr <- PropertyIsEqualTo$new(PropertyName = "property", Literal = "value")
  not <- Not$new(expr)
  not_xml <- not$encode() #see how it looks like in XML