Learn R Programming

sos4R (version 0.1-10)

OGC: Classes and Construction Functions for the OGC Namespace

Description

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

Usage

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

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 sptial filter.

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, code{OgcComparisonOpsOrNULL}, OgcSpatialOps, OgcSpatialOpsOrNULL.

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.

Warning

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

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.

References

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

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

Examples

Run this code
showClass("OgcBBOX")
showClass("OgcBinarySpatialOp")
showClass("OgcBinaryTemporalOp")
showClass("OgcBinaryTemporalOpOrNULL")
showClass("OgcComparisonOps")
showClass("OgcContains")
showClass("OgcOverlaps")
showClass("OgcSpatialOps")
showClass("OgcSpatialOpsOrNULL")

# TBD examples for construction functions

Run the code above in your browser using DataLab