Learn R Programming

sos4R (version 0.1-10)

DescribeSensor: Class and Construction Function for "SosDescribeSensor"

Description

The DescribeSensor Operatiosn of a Sensor Observation Service can be used to retrieve metadata of procedures that are available from a SOS. This sensor description is normally encoded in SensorML.

Please also consult the specification for details on possible contents of the request.

This functions should not be called directly, but instead using the function describeSensor.

Usage

SosDescribeSensor(service, version, procedure, outputFormat)

Arguments

service
The service attribute of the request, e.g. SOS.
version
The version attribute of the request, e.g. 1.0.0.
procedure
The value of the procedure elements in the request, e.g. urn:procedure:42.
outputFormat
The value of the output format element in the request, e.g. text/xml;subtype="sensorML/1.0.1"

Value

Objects from the Class

Objects can be created by calling the construction function of the form DescribeSensor(...). The contain the procedure identifier that is to be described by a service.

Extends

Class "OwsServiceOperation", directly.

References

See OGC 06-009r6 section 8.4, or the XSD schema file at http://schemas.opengis.net/sos/1.0.0/sosDescribeSensor.xsd.

See Also

See Also SensorML and describeSensor.

Examples

Run this code
showClass("SosDescribeSensor")

# example for construction function
describeSensorRequest <- SosDescribeSensor(service = "SOS", version = "1.0.0",
	procedure = "urn:procedure:42", outputFormat = "text/xml")
print(describeSensorRequest)

# encode the request in XML
encodeRequestXML(describeSensorRequest)

Run the code above in your browser using DataLab