OGC: Classes and Construction Functions for the OGC Namespace

Description Usage Arguments Details Value Objects from the Class Slots Extends Methods Warning Note Author(s) References Examples

Description

These classes represent elements from the OpenGIS(R) Filter Encoding Implementation Specification that are used in requests to Sensor Observation Services.

Usage

1
2
3
4
5
6
7
OgcBBOX(propertyName = sosDefaultSpatialOpPropertyName, envelope)
OgcContains(propertyName = sosDefaultSpatialOpPropertyName, geometry = NULL,
            envelope = NULL)
OgcIntersects(propertyName = sosDefaultSpatialOpPropertyName, geometry = NULL,
              envelope = NULL)
OgcOverlaps(propertyName = sosDefaultSpatialOpPropertyName, geometry = NULL,
            envelope = NULL)

Arguments

Arguments for the construction functions are as follows.

propertyName

The value for the propertyName attribute.

geometry

The geometry to be used in a spatial filter.

envelope

The geometry to be used in a spatial filter.

Details

These comprise spatial and temporal operations and operators which can be encoded in different ways.

The ...OrNULL classes are used to model optional slots.

Value

The value of the construction functions is an object of the respective class.

Objects from the Class

Objects can be created by calls to the respective construction functions of the form OgcBBOX( ...), OgcContains(...), or OgcIntersects.

The following classes are virtual, no objects may be created from them: OgcBinaryTemporalOp, OgcBinaryTemporalOpOrNULL, OgcComparisonOps, codeOgcComparisonOpsOrNULL, OgcSpatialOps, OgcSpatialOpsOrNULL.

Slots

propertyName:

Object of class "character", the value of the propertyName attribute.

geometry:

Object of class "GmlGeometry", a geometry contained in a spatial filter.

envelope:

Object of class "GmlEnvelope", an envelope contained in a spatial filter.

time:

Object of class "GmlTimeGeometricPrimitive", a time element contained in a temporal filter.

Extends

OgcBBOX, OgcBinarySpatialOp: Class "OgcSpatialOps", directly. Class "OgcSpatialOpsOrNULL", by class "OgcSpatialOps", distance 2.

OgcBinaryTemporalOp: Class "OgcBinaryTemporalOpOrNULL", directly.

OgcContains, OgcIntersects, OgcOverlaps: Class "OgcBinarySpatialOp", directly. Class "OgcSpatialOps", by class "OgcBinarySpatialOp", distance 2. Class "OgcSpatialOpsOrNULL", by class "OgcBinarySpatialOp", distance 3.

OgcSpatialOps: Class "OgcSpatialOpsOrNULL", directly.

Methods

encodeKVP

signature(obj = "OgcBinaryTemporalOp", sos = "SOS"): Encode the given operation in key-value-pair style, see encodeKVP

encodeXML

signature(obj = "OgcBBOX", sos = "SOS"): Encode the given operation in XML, see encodeXML

encodeXML

signature(obj = "OgcComparisonOps", sos = "SOS"): Encode the given operation in XML, see encodeXML

encodeXML

signature(obj = "OgcContains", sos = "SOS"): Encode the given operation in XML, see encodeXML

encodeXML

signature(obj = "OgcIntersects", sos = "SOS"): Encode the given operation in XML, see encodeXML

encodeXML

signature(obj = "OgcOverlaps", sos = "SOS"): Encode the given operation in XML, see encodeXML

Warning

The encoding functions of these classes are not completely implemented yet.

Note

This implementation of the Filter Encoding Specification is not complete.

Author(s)

Daniel Nuest daniel.nuest@uni-muenster.de

References

Vretanos, Panagiotis A. (Ed.), OpenGIS(R) Filter Encoding Implementation Specification, OGC 04-095, Version: 1.1.0

Schemas: http://schemas.opengis.net/filter/1.1.0/

Examples

1
2
3
4
5
6
7
8
9
showClass("OgcBBOX")
showClass("OgcBinarySpatialOp")
showClass("OgcBinaryTemporalOp")
showClass("OgcBinaryTemporalOpOrNULL")
showClass("OgcComparisonOps")
showClass("OgcContains")
showClass("OgcOverlaps")
showClass("OgcSpatialOps")
showClass("OgcSpatialOpsOrNULL")

sos4R documentation built on July 9, 2020, 5:07 p.m.