INSPIRE Specialised Observations
- PDF aus dieser Wiki-Seite erzeugen: PDF
Introduction
The INSPIRE Specialised Observations are defined in the
D2.9 Guidelines for the use of Observations & Measurements and Sensor Web Enablement-related standards in INSPIRE (
link to guidelines).
Currently, the 52°North SOS supports the following Specialised Observations:
Observation types
This section describes the supported INSPIRE OM Specialised Observations including the requirments and an example XML.
PointObservation
Definition: The PointObservation represents a single value measurement at a single point in time, e.g. a manual one-off measurement of sea surface temperature.
Requirements
Mapping
The mapping requirement defines which SOS/O&M objects (e.g. offering, procedure,...) are considered to merge the individual observations to a Specialised Observation.
No requirements
Database
The
offeringAllowedObservationType
table shallcontain the reference between the offering and the observationType
http://inspire.ec.europa.eu/featureconcept/PointObservation
.
Example XML
<omso:PointObservation xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
xmlns:ns="http://www.opengis.net/gml/3.2"
xmlns:om="http://www.opengis.net/om/2.0"
xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
xmlns:sf="http://www.opengis.net/sampling/2.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
gml:id="o_B116B53DB20DDC790D9F477900F8874489AEC7BB"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://inspire.ec.europa.eu/schemas/omso/3.0 https://52north.org/schema/inspire/omso/3.0.1/SpecialisedObservations.xsd">
<om:type xlink:href="http://inspire.ec.europa.eu/featureconcept/MultiPointObservation"/>
<om:phenomenonTime>
<gml:TimeInstant gml:id="phenomenonTime_361281">
<gml:timePosition>2013-03-28T09:44:00.000Z</gml:timePosition>
</gml:TimeInstant>
</om:phenomenonTime>
<om:resultTime xlink:href="#phenomenonTime_361281"/>
<om:procedure xlink:href="procedure" />
<om:observedProperty xlink:href="observedProperty"/>
<om:featureOfInterest>
<sams:SF_SpatialSamplingFeature gml:id="ssf_F4445301103409A7D7BE5D7BAAC861BD88CD8260">
<sf:type xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint"/>
<sf:sampledFeature xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"/>
<sams:shape>
<gml:Point gml:id="Point_28122CE65797436186ED15AA7A85796D8BF2EDAD">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">53.8977 8.6989</gml:pos>
</gml:Point>
</sams:shape>
</sams:SF_SpatialSamplingFeature>
</om:featureOfInterest>
<om:result xmlns:cv="http://www.opengis.net/cv/0.2/gml32" xsi:type="cv:CV_DiscretePointCoveragePropertyType">
<cv:CV_DiscretePointCoverage gml:id="dpc_361281">
<cv:domainExtent xlink:href="#Point_28122CE65797436186ED15AA7A85796D8BF2EDAD"/>
<cv:rangeType xlink:href="5360"/>
<cv:element>
<cv:CV_PointValuePair>
<cv:geometry>
<gml:Point gml:id="Point_8419808836A515E7B0D873FBFB668BDD4D836E19">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">53.8977 8.6989</gml:pos>
</gml:Point>
</cv:geometry>
<cv:value uom="mbar" xsi:type="gml:MeasureType">89.16782</cv:value>
</cv:CV_PointValuePair>
</cv:element>
</cv:CV_DiscretePointCoverage>
</om:result>
</omso:PointObservation>
PointTimeSeriesObservation
Definition: The PointTimeSeriesObservation represents a series of measurements at the same point, e.g. regular measurements by a fixed station.
Requirements
Mapping
The mapping requirement defines which SOS/O&M objects (e.g. offering, procedure,...) are considered to merge the individual observations to a Specialised Observation.
All measurements that belongs to a timeseries shall have the same:
- offering
- procedure
- observedProperty
- featureOfInterest
Database
The
offeringAllowedObservationType
table shall contain the reference between the offering and the observationType
http://inspire.ec.europa.eu/featureconcept/PointTimeSeriesObservation
.
Example XML
<omso:PointTimeSeriesObservation xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:om="http://www.opengis.net/om/2.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:wml2="http://www.opengis.net/waterml/2.0"
xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://inspire.ec.europa.eu/schemas/omso/3.0 https://52north.org/schema/inspire/omso/3.0.1/SpecialisedObservations.xsd"
gml:id="o_85481A6A4F526D677BB8226DAF314A3432E1D1A7">
<om:type xlink:href="http://inspire.ec.europa.eu/featureconcept/TrajectoryObservation"/>
<om:phenomenonTime>
<gml:TimePeriod gml:id="phenomenonTime_123">
<gml:beginPosition>2016-04-14T14:05:10.530+02:00</gml:beginPosition>
<gml:endPosition>2016-04-14T14:08:10.531+02:00</gml:endPosition>
</gml:TimePeriod>
</om:phenomenonTime>
<om:resultTime>
<gml:TimeInstant gml:id="ti_F21DEADD5EC27749846B673AE9C8E6B3A410E806">
<gml:timePosition>2016-04-14T12:08:10.531Z</gml:timePosition>
</gml:TimeInstant>
</om:resultTime>
<om:procedure xlink:href="procedure"/>
<om:observedProperty xlink:href="observableProperty"/>
<om:featureOfInterest>
<sams:SF_SpatialSamplingFeature gml:id="ssf_F4445301103409A7D7BE5D7BAAC861BD88CD8260">
<gml:identifier>feature</gml:identifier>
<sf:type xlink:href="sa:SamplingCurve"/>
<sf:sampledFeature xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"/>
<sams:shape>
<gml:Point gml:id="Point_ssf_B2C2B35C4C94091E175D3BE7636D042C8F5B3827">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.7 7.52</gml:pos>
</gml:Point>
</sams:shape>
</sams:SF_SpatialSamplingFeature>
</om:featureOfInterest>
<om:result>
<wml2:MeasurementTimeseries gml:id="timeseries.1">
<wml2:metadata>
<wml2:TimeseriesMetadata>
<wml2:temporalExtent xlink:href="#phenomenonTime_123"/>
</wml2:TimeseriesMetadata>
</wml2:metadata>
<wml2:defaultPointMetadata>
<wml2:DefaultTVPMeasurementMetadata>
<wml2:uom code="mbar"/>
<wml2:interpolationType xlink:href="http://www.opengis.net/def/timeseriesType/WaterML/2.0/continuous" xlink:title="Instantaneous"/>
</wml2:DefaultTVPMeasurementMetadata>
</wml2:defaultPointMetadata>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2016-04-14T14:05:10.530+02:00</wml2:time>
<wml2:value>15.6</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2016-04-14T14:06:10.531+02:00</wml2:time>
<wml2:value>16.5</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2016-04-14T14:07:10.531+02:00</wml2:time>
<wml2:value>17.6</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP>
<wml2:time>2016-04-14T14:08:10.531+02:00</wml2:time>
<wml2:value>18.7</wml2:value>
</wml2:MeasurementTVP>
</wml2:point>
</wml2:MeasurementTimeseries>
</om:result>
</omso:PointTimeSeriesObservation>
MultiPointObservation
Definition: The MultiPointObservation is a specific type of Point-based observation. It is intended for cases in which measurements are made at a set of discrete points at the same time. For example a sensor network reporting temperature at 10am. The points themselves are not on a grid but may be distributed in any manner, for example unevenly spaced around a coastline.
Requirements
Mapping
The mapping requirement defines which SOS/O&M objects (e.g. offering, procedure,...) are considered to merge the individual observations to a Specialised Observation.
All measurements that belongs to a MultiPointObservation shall have the same:
- observedProperty
- procedure
- phenomenonTime
Database
The
offeringAllowedObservationType
table shall contain the reference between the offering and the observationType
http://inspire.ec.europa.eu/featureconcept/MultiPointObservation
.
Example XML
<omso:MultiPointObservation xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
xmlns:ns="http://www.opengis.net/gml/3.2"
xmlns:om="http://www.opengis.net/om/2.0"
xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
xmlns:sf="http://www.opengis.net/sampling/2.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://inspire.ec.europa.eu/schemas/omso/3.0 https://52north.org/schema/inspire/omso/3.0.1/SpecialisedObservations.xsd"
gml:id="o_B116B53DB20DDC790D9F477900F8874489AEC7BB" >
<om:type xlink:href="http://inspire.ec.europa.eu/featureconcept/MultiPointObservation"/>
<om:phenomenonTime>
<gml:TimeInstant gml:id="phenomenonTime_1">
<gml:timePosition>2012-07-31T17:45:15.000Z</gml:timePosition>
</gml:TimeInstant>
</om:phenomenonTime>
<om:resultTime xlink:href="#phenomenonTime_1"/>
<om:procedure xlink:href="procedure"/>
<om:observedProperty xlink:href="observedProperty"/>
<om:featureOfInterest>
<sams:SF_SpatialSamplingFeature gml:id="ssf_094D1FDB65BC787B8AC339F4029B622A86EED5EC">
<sf:type xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingSurface"/>
<sf:sampledFeature xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"/>
<sams:shape>
<gml:Polygon gml:id="Polygon_ssf_094D1FDB65BC787B8AC339F4029B622A86EED5EC">
<gml:exterior>
<gml:LinearRing xsi:type="gml:LinearRingType">
<gml:posList srsName="http://www.opengis.net/def/crs/EPSG/0/4326">7.52 7.32 7.52 52.7 52.7 52.7 52.7 7.32 7.52 7.32</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</sams:shape>
</sams:SF_SpatialSamplingFeature>
</om:featureOfInterest>
<om:result>
<gml:MultiPointCoverage gml:id="mpc_1">
<gml:domainSet>
<gml:MultiPoint gml:id="MultiPoint_A006A11E2AB79D9CDB063F9C20BD418B521399A8">
<gml:pointMember>
<gml:Point gml:id="MultiPoint_A006A11E2AB79D9CDB063F9C20BD418B521399A8_0">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">7.52 52.7</gml:pos>
</gml:Point>
</gml:pointMember>
<gml:pointMember>
<gml:Point gml:id="MultiPoint_A006A11E2AB79D9CDB063F9C20BD418B521399A8_1">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">32.7 7.32</gml:pos>
</gml:Point>
</gml:pointMember>
<gml:pointMember>
<gml:Point gml:id="MultiPoint_A006A11E2AB79D9CDB063F9C20BD418B521399A8_2">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">51.7 7.51</gml:pos>
</gml:Point>
</gml:pointMember>
<gml:pointMember>
<gml:Point gml:id="MultiPoint_A006A11E2AB79D9CDB063F9C20BD418B521399A8_3">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.7 7.52</gml:pos>
</gml:Point>
</gml:pointMember>
</gml:MultiPoint>
</gml:domainSet>
<gml:rangeSet>
<gml:QuantityList uom="C">0.45 0.35 0.15 0.25</gml:QuantityList>
</gml:rangeSet>
</gml:MultiPointCoverage>
</om:result>
</omso:MultiPointObservation>
ProfileObservation
Definition: A ProfileObservation represents a set of points along a vertical axis with a measurement value at each point on the profile. The measurements are all nominally made at the same time for the entire profile.
Requirements
Mapping
The mapping requirement defines which SOS/O&M objects (e.g. offering, procedure,...) are considered to merge the individual observations to a Specialised Observation.
All measurements that belongs to a profile shall have the same:
- offering
- procedure
- observedProperty
- featureOfInterest
- phenomenonTime
Database
The
offeringAllowedObservationType
table shall contain the reference between the offering and the observationType
http://inspire.ec.europa.eu/featureconcept/ProfileObservation
.
The observation shall have an om:parameter (
parameter
table) with name
http://www.opengis.net/def/param-name/OGC-OM/2.0/depth
or
http://www.opengis.net/def/param-name/OGC-OM/2.0/height
and the depth/height value shall be stored in the
numericparametervalue
table.
Example XML
<omso:ProfileObservation xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:om="http://www.opengis.net/om/2.0"
xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
xmlns:sf="http://www.opengis.net/sampling/2.0"
xmlns:gmlce="http://www.opengis.net/gml/3.3/ce"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://inspire.ec.europa.eu/schemas/omso/3.0 https://52north.org/schema/inspire/omso/3.0.1/SpecialisedObservations.xsd http://www.opengis.net/gml/3.3/ce http://schemas.opengis.net/gml/3.3/geometryCompact.xsd"
gml:id="o_B116B53DB20DDC790D9F477900F8874489AEC7BB" >
<om:type xlink:href="http://inspire.ec.europa.eu/featureconcept/ProfileObservation"/>
<om:phenomenonTime>
<gml:TimeInstant gml:id="phenomenonTime_1">
<gml:timePosition>2012-07-31T17:45:15.000Z</gml:timePosition>
</gml:TimeInstant>
</om:phenomenonTime>
<om:resultTime xlink:href="#phenomenonTime_1"/>
<om:procedure xlink:href="procedure"/>
<om:observedProperty xlink:href="ObservedProperty"/>
<om:featureOfInterest>
<sams:SF_SpatialSamplingFeature gml:id="ssf_F4445301103409A7D7BE5D7BAAC861BD88CD8260">
<sf:type xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint"/>
<sf:sampledFeature xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"/>
<sams:shape>
<gml:Point gml:id="Point_28122CE65797436186ED15AA7A85796D8BF2EDAD">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">53.8977 8.6989</gml:pos>
</gml:Point>
</sams:shape>
</sams:SF_SpatialSamplingFeature>
</om:featureOfInterest>
<om:result>
<gml:RectifiedGridCoverage gml:id="rgc_13">
<gml:domainSet>
<gmlce:SimpleMultiPoint gml:id="smp_rgc_13">
<gml:posList>5.0 10.0 15.0</gml:posList>
</gmlce:SimpleMultiPoint>
</gml:domainSet>
<gml:rangeSet>
<gml:QuantityList uom="C">0.28 0.18 0.08</gml:QuantityList>
</gml:rangeSet>
</gml:RectifiedGridCoverage>
</om:result>
</omso:ProfileObservation>
TrajectoryObservation
Definition: A TrajectoryObservation represents a series of measurements along a trajectory. For example along a ship‟s track. Each measurement is made at a separate point along the trajectory and at a separate time.
Requirements
Mapping
The mapping requirement defines which SOS/O&M objects (e.g. offering, procedure,...) are considered to merge the individual observations to a Specialised Observation.
All measurements that belongs to a trajectory shall have the same:
- offering
- procedure
- observedProperty
- featureOfInterest
Database
The
offeringAllowedObservationType
table shall contain the reference between the offering and the observationType
http://inspire.ec.europa.eu/featureconcept/TrajectoryObservation
.
Example XML
<omso:TrajectoryObservation xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:om="http://www.opengis.net/om/2.0"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:wml2="http://www.opengis.net/waterml/2.0"
xmlns:omso="http://inspire.ec.europa.eu/schemas/omso/3.0"
xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
xmlns:sf="http://www.opengis.net/sampling/2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://inspire.ec.europa.eu/schemas/omso/3.0 https://52north.org/schema/inspire/omso/3.0.1/SpecialisedObservations.xsd"
gml:id="o_85481A6A4F526D677BB8226DAF314A3432E1D1A7">
<om:type xlink:href="http://inspire.ec.europa.eu/featureconcept/TrajectoryObservation"/>
<om:phenomenonTime>
<gml:TimePeriod gml:id="phenomenonTime_123">
<gml:beginPosition>2016-04-14T14:05:10.530+02:00</gml:beginPosition>
<gml:endPosition>2016-04-14T14:08:10.531+02:00</gml:endPosition>
</gml:TimePeriod>
</om:phenomenonTime>
<om:resultTime>
<gml:TimeInstant gml:id="ti_F21DEADD5EC27749846B673AE9C8E6B3A410E806">
<gml:timePosition>2016-04-14T12:08:10.531Z</gml:timePosition>
</gml:TimeInstant>
</om:resultTime>
<om:procedure xlink:href="procedure"/>
<om:observedProperty xlink:href="observableProperty"/>
<om:featureOfInterest>
<sams:SF_SpatialSamplingFeature gml:id="ssf_F4445301103409A7D7BE5D7BAAC861BD88CD8260">
<sf:type xlink:href="sa:SamplingCurve"/>
<sf:sampledFeature xlink:href="http://www.opengis.net/def/nil/OGC/0/unknown"/>
<sams:shape>
<gml:LineString gml:id="LineString_ssf_F4445301103409A7D7BE5D7BAAC861BD88CD8260" srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
<gml:posList srsName="http://www.opengis.net/def/crs/EPSG/0/4326" >52.7 7.52 52.8 7.53 52.9 7.54</gml:posList>
</gml:LineString>
</sams:shape>
</sams:SF_SpatialSamplingFeature>
</om:featureOfInterest>
<om:result>
<wml2:MeasurementTimeseries gml:id="timeseries.1">
<wml2:metadata>
<wml2:TimeseriesMetadata>
<wml2:temporalExtent xlink:href="#phenomenonTime_123"/>
</wml2:TimeseriesMetadata>
</wml2:metadata>
<wml2:defaultPointMetadata>
<wml2:DefaultTVPMeasurementMetadata>
<wml2:uom code="mbar"/>
<wml2:interpolationType xlink:href="http://www.opengis.net/def/timeseriesType/WaterML/2.0/continuous" xlink:title="Instantaneous"/>
</wml2:DefaultTVPMeasurementMetadata>
</wml2:defaultPointMetadata>
<wml2:point>
<wml2:MeasurementTVP xsi:type="omso:MeasurementTimeLocationValueTripleType">
<wml2:time>2016-04-14T14:05:10.530+02:00</wml2:time>
<wml2:value>15.6</wml2:value>
<omso:location>
<gml:Point gml:id="Point_1_0">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.7 7.52</gml:pos>
</gml:Point>
</omso:location>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP xsi:type="omso:MeasurementTimeLocationValueTripleType">
<wml2:time>2016-04-14T14:06:10.531+02:00</wml2:time>
<wml2:value>16.5</wml2:value>
<omso:location>
<gml:Point gml:id="Point_1_1">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.7 7.52</gml:pos>
</gml:Point>
</omso:location>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP xsi:type="omso:MeasurementTimeLocationValueTripleType">
<wml2:time>2016-04-14T14:07:10.531+02:00</wml2:time>
<wml2:value>17.6</wml2:value>
<omso:location>
<gml:Point gml:id="Point_1_2">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.7 7.52</gml:pos>
</gml:Point>
</omso:location>
</wml2:MeasurementTVP>
</wml2:point>
<wml2:point>
<wml2:MeasurementTVP xsi:type="omso:MeasurementTimeLocationValueTripleType">
<wml2:time>2016-04-14T14:08:10.531+02:00</wml2:time>
<wml2:value>18.7</wml2:value>
<omso:location>
<gml:Point gml:id="Point_1_3">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.7 7.52</gml:pos>
</gml:Point>
</omso:location>
</wml2:MeasurementTVP>
</wml2:point>
</wml2:MeasurementTimeseries>
</om:result>
</omso:TrajectoryObservation>
Querying Specialised Observation types in GetObservation requests
Example request:
http://localhost:8080/52n-sos-webapp/service?service=SOS&version=2.0.0&request=GetObservation&responseFormat=http://inspire.ec.europa.eu/schemas/omso/3.0&resultType=http://inspire.ec.europa.eu/featureconcept/PointObservation
The GetObservation response contains only those observations which are valid for the requested
resultType.
Inspire profile file
The 52N SOS has a predefined INPSIRE profile file which defines
http://inspire.ec.europa.eu/schemas/omso/3.0
as default
responseFormat and sets the encoding of the featureOfInterst in the observations to default.
How to enable the INSPIRE profile of the 52°North SOS
- Deploy the 52°North SOS.
- Go to Admin -> Settings -> Profiles
- Select the profile in the drop-down list
- Presss Activate Profile!
Change the content of a profile
- Go to
[TOMACT_HOME]\webapps\[SOS_NAME]\WEB-INF\classes\profiles
and:
- Open xyz-profile.xml and change it. Save and close file.
- Go to Admin -> Settings -> Profiles
- Presss Reload Profiles!