SensorML 2.0 Examples
Sensor with Location Output (byTrajectory)
In order to support a wide variety of needs for providing location, orientation, and dynamic state of a physical component or system, there are several means for specifying "where". These include byDescription, byPoint, byLocation, byState, byTrajectory, and byProcess.
For a moving sensor which outputs its own dynamic location, one can simply reference the swe:Vector or swe:DataRecord element which describes the location within the output. In the example below, the position of the sensor is provided by the output field "location" which has a swe:Vector with an id="MY_LOCATION" [highlighted]. For the sensor's position, one merely needs to reference the "location" output of the sensor using the xlink:href="#MY_LOCATION" attribute value [also highlighted].