SML: Classes of the Namespace sml

Description Objects from the Class Slots Methods Author(s) References See Also Examples

Description

Classes, construction functions, and accessor functions for elements from the OGC specification “OpenGIS(R) Sensor Model Language (SensorML) Implementation Specification”.

The only class at the moment is "SensorML" which wraps an "XMLInternalDocument" and some additional information. This strongly depends on the SensorML Profile for Discovery to find the respective paramters.

Objects from the Class

Objects can be created by calls to the construction method in the form SensorML(...).

Slots

boundedBy:

Object of class "matrix", the bounding box of the sensor.

coords:

Object of class "data.frame", holds the position of the sensor.

description:

Object of class "character", a normal text description of the sensor.

id:

Object of class "character", the main identifier of the sensor.

name:

Object of class "character", a naming identifier of the sensor.

validTime:

Object of class "GmlTimeObjectOrNULL", the time period or instance for which the description is valid (only SOS 2.0.0).

xml:

Object of class "XMLInternalDocument", holds the XML representation of the sensor description.

Methods

show

signature(object = "SensorML"): Prints a short statement to the command line.

plot

signature(object = "SensorML"): Plots the sensor using coercion to an object of class "Spatial".

Author(s)

Daniel Nuest daniel.nuest@uni-muenster.de

References

Botts, M., Robin, A. (Eds.), OpenGIS(R) Sensor Model Language (SensorML) Implementation Specification, Open Geospatial Consortium: 07-000.

Houbie, F., Skivee F., Robin A., Jirka S., Broering, A., Nuest D. (2009): OGC(R) Catalogue Services Specification 2.0 - Extension Package for ebRIM Application Profile: SensorML. OGC Discussion Paper. Open Geospatial Consortium: 09-163. http://portal.opengeospatial.org/files/?artifact_id=37944.

See Also

DescribeSensor

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
showClass("SensorML")

## Not run: 
mySOS <- SOS(url = "http://sensorweb.demo.52north.org/sensorwebtestbed/service/kvp",
             binding = "KVP")
mySensor <- describeSensor(sos = mySOS,
		procedure = sosProcedures(mySOS)[[1]],
		outputFormat = 'text/xml; subtype="sensorML/1.0.1"', # space is needed!
		)
class(mySensor)
print(mySensor)

sosId(mySensor)
sosName(mySensor)
sosBoundedBy(mySensor)
sosCoordinates(mySensor)
sosGetCRS(mySensor)

# valid time from SOS 2.0.0
mySOS2 <- SOS(url = "http://sensorweb.demo.52north.org/sensorwebtestbed/service/kvp",
             binding = "KVP",
             version = "2.0.0")
mySensor2 <- describeSensor(sos = mySOS2,
		procedure = sosProcedures(mySOS2)[[1]],
		outputFormat = 'text/xml; subtype="sensorML/1.0.1"')

sosTime(mySensor2)

plot(mySensor)

## End(Not run)

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