sos4R (version 0.4.2)

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 spatial 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, 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

% \item{show}{\code{signature(object = "OgcBBOX")}: Show the given object in a human readable fashion.} % \item{show}{\code{signature(object = "OgcContains")}: Show the given object in a human readable fashion.} % \item{show}{\code{signature(object = "OgcOverlaps")}: Show the given object in a human readable fashion.}

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(R) Filter Encoding Implementation Specification, OGC 04-095, Version: 1.1.0

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

Examples

Run this code
# NOT RUN {
showClass("OgcBBOX")
showClass("OgcBinarySpatialOp")
showClass("OgcBinaryTemporalOp")
showClass("OgcBinaryTemporalOpOrNULL")
showClass("OgcComparisonOps")
showClass("OgcContains")
showClass("OgcOverlaps")
showClass("OgcSpatialOps")
showClass("OgcSpatialOpsOrNULL")
# }

Run the code above in your browser using DataLab