geomon/voegelsberg/ImportMobileObservation_example.xml
Arno Kaimbacher 278537d85d - add geoalchemy2 for inserting geometry observation
- tested original InsertObservation request - see ImportMobileObservation_example.xml
2022-03-25 16:37:57 +01:00

63 lines
4.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2003/05/soap-envelope http://www.w3.org/2003/05/soap-envelope/soap-envelope.xsd">
<env:Body>
<sos:InsertObservation service="SOS" version="2.0.0"
xmlns:sos="http://www.opengis.net/sos/2.0"
xmlns:swes="http://www.opengis.net/swes/2.0"
xmlns:swe="http://www.opengis.net/swe/2.0"
xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:xlink="http://www.w3.org/1999/xlink"
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:xs="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.opengis.net/sos/2.0 http://schemas.opengis.net/sos/2.0/sos.xsd http://www.opengis.net/samplingSpatial/2.0 http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd"> <!-- multiple offerings are possible -->
<sos:offering>D5_2</sos:offering>
<sos:observation>
<om:OM_Observation gml:id="voegelsberg_0">
<om:type xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_GeometryObservation"/>
<om:phenomenonTime>
<gml:TimeInstant gml:id="phenomenonTime">
<gml:timePosition>2021-09-01T00:00:00</gml:timePosition>
</gml:TimeInstant>
</om:phenomenonTime>
<om:resultTime xlink:href="#phenomenonTime"/>
<om:procedure xlink:href="D5_2"/>
<om:parameter>
<om:NamedValue>
<om:name xlink:href="http://www.opengis.net/def/param-name/OGC-OM/2.0/samplingGeometry"/>
<om:value xsi:type="gml:GeometryPropertyType">
<gml:Point gml:id="SamplingPoint1">
<gml:description>description</gml:description>
<gml:identifier codeSpace="">D5_2</gml:identifier>
<gml:name>hereIam</gml:name>
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">11.597688540227727 47.271865827824854 909.7036</gml:pos>
</gml:Point>
</om:value>
</om:NamedValue>
</om:parameter>
<om:observedProperty xlink:href="TachymeterLocation"/>
<om:featureOfInterest>
<sams:SF_SpatialSamplingFeature gml:id="ssf_instance">
<gml:identifier codeSpace="">D5_2</gml:identifier>
<gml:name>origin of D5_2</gml:name>
<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>
<ns:Point xmlns:ns="http://www.opengis.net/gml/3.2" ns:id="Point_ssf_b3a826dd44012201b013c90c51da28c041f7a92e0cc47260eb9888f6a4e9f747">
<ns:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">11.597409730065536 47.27196543449542</ns:pos>
</ns:Point>
</sams:shape>
</sams:SF_SpatialSamplingFeature>
</om:featureOfInterest>
<om:result xsi:type="gml:GeometryPropertyType">
<gml:Point gml:id="value">
<gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">11.597688540227727 47.271865827824854 909.7036</gml:pos>
</gml:Point>
</om:result>
</om:OM_Observation>
</sos:observation>
</sos:InsertObservation>
</env:Body>
</env:Envelope>