TM_Operators: Classes and Construction Methods for Temporal Operator...

Description Usage Arguments Value Objects from the Class Slots Extends Methods Author(s) References See Also Examples

Description

Classes for temporal operators from OpenGIS(R) Filter Encoding used in filters in GetObservation requests.

Usage

1
2
3
4

Arguments

propertyName

The name of the property that is used to wrap the time.

time

A time instant or period to be used as the temporal operand.

Value

An object of the respective class, so TM_After, TM_Before, TM_During or TM_Equals

Objects from the Class

Objects can be created by calls of the form new("TM_After", ...).

Slots

time:

Object of class "GmlTimeInstant"

propertyName:

Object of class "character"

Extends

Class "OgcBinaryTemporalOp", directly. Class "OgcBinaryTemporalOpOrNULL", by class "OgcBinaryTemporalOp", distance 2.

Methods

encodeXML

signature(obj = "TM_After", sos = "SOS"): ...

show

signature(object = "TM_After"): ...

encodeXML

signature(obj = "TM_Before", sos = "SOS"): ...

show

signature(object = "TM_Before"): ...

encodeXML

signature(obj = "TM_During", sos = "SOS"): ...

show

signature(object = "TM_During"): ...

encodeXML

signature(obj = "TM_Equals", sos = "SOS"): ...

show

signature(object = "TM_Equals"): ...

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

See the schema file: http://schemas.opengis.net/sos/1.0.0/ogc4sos.xsd.

See Also

SosGetObservation

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
showClass("TM_After")
showClass("TM_Before")
showClass("TM_During")
showClass("TM_Equals")

## Not run: 
# create times to use for operators
t1 <- sosCreateTimeInstant(sos = weathersos, time = Sys.time())
p1 <- sosCreateTimePeriod(sos = weathersos, begin = as.POSIXct("2010-03-01 12:15"),
                          end = as.POSIXct("2010-03-02 12:15"))

# create temporal operator
afterNow <- TM_After(time = t1)
print(afterNow)
encodeXML(t1, sos)

during <- TM_During(time = p1)
print(during)

## End(Not run)

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