SOS GetObservation example
sos, sensor, observation, popup, advanced
Shows how to connect OpenLayers to a Sensor Observation Service (SOS), obtaining the geometries of the FOIs
through the GetObservation request.
-
Wait until the list of offerings and observed properties load.
-
Then, select one. A 'GetObservation' request will be made, obtaining the measurements for the
observed property and the geometries of the features that provide those measurements. The features
will be added to an underlying vector layer.
-
Each time you select a new observed property, all the features are removed from this layer (note
that not all observed properties have to be measured all features of interest).
-
Hover a feature to see the measurement time instant ('latest' is requested);
Select the observedProperty you want to show: