geomon/voegelsberg/ImportMobileObservation_example.xml

114 lines
5.5 KiB
XML
Raw Permalink Normal View History

<?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_o1">
<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-08-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 xmlns:sf="http://www.opengis.net/sampling/2.0" 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>
{
"request": "InsertObservation",
"service": "SOS",
"version": "2.0.0",
"offering": "D5_2",
"observation": {
"type": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_GeometryObservation",
"procedure": "D5_2",
"observedProperty": "TachymeterLocation",
"featureOfInterest": {
"identifier": {
"value": "D5_2",
"codespace": "http://www.opengis.net/def/nil/OGC/0/unknown"
},
"name": [
{
"value": "origin of D5_2",
"codespace": "http://www.opengis.net/def/nil/OGC/0/unknown"
}
],
"sampledFeature": [
"http://www.52north.org/test/featureOfInterest/world"
],
"geometry": {
"type": "Point",
"coordinates": [
10.874314927293595,
44.48931950733285
],
"crs": {
"type": "name",
"properties": {
"name": "EPSG:4326"
}
}
}
},
"phenomenonTime" : "2021-08-16T15:18:30.738Z",
"resultTime" : "2021-08-16T15:18:30.738Z",
"result": {
"type" : "Point",
"coordinates" : [
11.597688540227727,
47.271865827824854,
909.7036
]
}
}