278537d85d
- tested original InsertObservation request - see ImportMobileObservation_example.xml
110 lines
7.5 KiB
XML
110 lines
7.5 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 http://www.opengis.net/sos/2.0 http://schemas.opengis.net/sos/2.0/sosInsertSensor.xsd http://www.opengis.net/swes/2.0 http://schemas.opengis.net/swes/2.0/swes.xsd">
|
|
<env:Body>
|
|
<swes:InsertSensor service="SOS" version="2.0.0"
|
|
xmlns:swes="http://www.opengis.net/swes/2.0"
|
|
xmlns:sos="http://www.opengis.net/sos/2.0"
|
|
xmlns:swe="http://www.opengis.net/swe/2.0"
|
|
xmlns:sml="http://www.opengis.net/sensorml/2.0"
|
|
xmlns:gml="http://www.opengis.net/gml/3.2"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:gco="http://www.isotc211.org/2005/gco"
|
|
xmlns:gmd="http://www.isotc211.org/2005/gmd">
|
|
<swes:procedureDescriptionFormat>http://www.opengis.net/sensorml/2.0</swes:procedureDescriptionFormat>
|
|
<swes:procedureDescription>
|
|
<sml:PhysicalSystem gml:id="{procedure_identifier}">
|
|
<gml:identifier codeSpace="uniqueID">{procedure_identifier}</gml:identifier>
|
|
<sml:identification>
|
|
<sml:IdentifierList>
|
|
<sml:identifier>
|
|
<sml:Term definition="urn:ogc:def:identifier:OGC:1.0:longName">
|
|
<sml:label>longName</sml:label>
|
|
<sml:value>{procedure_name}</sml:value>
|
|
</sml:Term>
|
|
</sml:identifier>
|
|
<sml:identifier>
|
|
<sml:Term definition="urn:ogc:def:identifier:OGC:1.0:shortName">
|
|
<sml:label>shortName</sml:label>
|
|
<sml:value>{procedure_name}</sml:value>
|
|
</sml:Term>
|
|
</sml:identifier>
|
|
</sml:IdentifierList>
|
|
</sml:identification>
|
|
<sml:capabilities name="offerings">
|
|
<sml:CapabilityList> <!-- Parsed and removed during InsertSensor/UpdateSensorDescription, added during DescribeSensor. --> <!-- Offering is generated if not specified. -->
|
|
<sml:capability name="offeringID">
|
|
<swe:Text definition=\"urn:ogc:def:identifier:OGC:offeringID\">
|
|
<swe:label>{offering_label}</swe:label>
|
|
<swe:value>{offering_name}</swe:value>
|
|
</swe:Text>
|
|
</sml:capability>
|
|
</sml:CapabilityList>
|
|
</sml:capabilities>
|
|
<sml:capabilities name="metadata">
|
|
<sml:CapabilityList> <!-- status indicates, whether sensor is insitu (true) or remote (false) -->
|
|
<sml:capability name="insitu">
|
|
<swe:Boolean definition="insitu">
|
|
<swe:value>true</swe:value>
|
|
</swe:Boolean>
|
|
</sml:capability> <!-- status indicates, whether sensor is mobile (true) or fixed/stationary (false) -->
|
|
<sml:capability name="mobile">
|
|
<swe:Boolean definition="mobile">
|
|
<swe:value>true</swe:value>
|
|
</swe:Boolean>
|
|
</sml:capability>
|
|
</sml:CapabilityList>
|
|
</sml:capabilities>
|
|
<sml:featuresOfInterest>
|
|
<sml:FeatureList definition=\"http://www.opengis.net/def/featureOfInterest/identifier\">
|
|
<swe:label>featuresOfInterest</swe:label>
|
|
<sml:feature>
|
|
<sams:SF_SpatialSamplingFeature xmlns:sams=\"http://www.opengis.net/samplingSpatial/2.0\" gml:id=\"ssf_b3a826dd44012201b01323232323041f7a92e0cc47260eb9888f6a4e9f747\">
|
|
<gml:identifier codeSpace=\"http://www.opengis.net/def/nil/OGC/0/unknown\">{feature_id}</gml:identifier>
|
|
<gml:name codeSpace=\"http://www.opengis.net/def/nil/OGC/0/unknown\">{feature_name}</gml:name>
|
|
<sf:type xmlns:sf=\"http://www.opengis.net/sampling/2.0\" 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\">{coordinates}</ns:pos>
|
|
</ns:Point>
|
|
</sams:shape>
|
|
</sams:SF_SpatialSamplingFeature>
|
|
</sml:feature>
|
|
</sml:FeatureList>
|
|
</sml:featuresOfInterest>
|
|
<sml:position>
|
|
<swe:Vector referenceFrame="urn:ogc:def:crs:EPSG::4326">
|
|
<swe:coordinate name="easting">
|
|
<swe:Quantity axisID="x">
|
|
<swe:uom code="degree"/>
|
|
<swe:value>{cord_x}</swe:value>
|
|
</swe:Quantity>
|
|
</swe:coordinate>
|
|
<swe:coordinate name="northing">
|
|
<swe:Quantity axisID="y">
|
|
<swe:uom code="degree"/>
|
|
<swe:value>{cord_y}</swe:value>
|
|
</swe:Quantity>
|
|
</swe:coordinate>
|
|
<swe:coordinate name="altitude">
|
|
<swe:Quantity axisID="z">
|
|
<swe:uom code="m"/>
|
|
<swe:value>{height}</swe:value>
|
|
</swe:Quantity>
|
|
</swe:coordinate>
|
|
</swe:Vector>
|
|
</sml:position>
|
|
</sml:PhysicalSystem>
|
|
</swes:procedureDescription> <!-- multiple values possible -->
|
|
<swes:observableProperty>TachymeterLocation</swes:observableProperty>
|
|
<swes:metadata>
|
|
<sos:SosInsertionMetadata>
|
|
<sos:observationType>http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_GeometryObservation</sos:observationType>
|
|
<sos:featureOfInterestType>http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint</sos:featureOfInterestType>
|
|
</sos:SosInsertionMetadata>
|
|
</swes:metadata>
|
|
</swes:InsertSensor>
|
|
</env:Body>
|
|
</env:Envelope> |