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".

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

Examples

showClass("SensorML")
#> Class "SensorML" [package "sos4R"] #> #> Slots: #> #> Name: xml coords id #> Class: xml_document data.frame character #> #> Name: name description boundedBy #> Class: character character matrix #> #> Name: validTime #> Class: GmlTimeObjectOrNULL
if (FALSE) { 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) }