-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinsertSensor-SOAP.xml
142 lines (142 loc) · 6.96 KB
/
insertSensor-SOAP.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?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
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/1.0.1"
xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" service="SOS" version="2.0.0">
<swes:procedureDescriptionFormat>http://www.opengis.net/sensorML/1.0.1</swes:procedureDescriptionFormat>
<swes:procedureDescription>
<sml:SensorML version="1.0.1">
<sml:member>
<sml:System>
<!-- optional; generated if not present -->
<sml:identification>
<sml:IdentifierList>
<sml:identifier name="uniqueID">
<sml:Term definition="urn:ogc:def:identifier:OGC:1.0:uniqueID">
<sml:value>DHT22_Sensor</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier name="longName">
<sml:Term definition="urn:ogc:def:identifier:OGC:1.0:longName">
<sml:value>DHT22 Sensor attached to an ESP201 (ESP8266 based microcontroller)</sml:value>
</sml:Term>
</sml:identifier>
<sml:identifier name="shortName">
<sml:Term definition="urn:ogc:def:identifier:OGC:1.0:shortName">
<sml:value>DHT22_Sensor</sml:value>
</sml:Term>
</sml:identifier>
</sml:IdentifierList>
</sml:identification>
<sml:capabilities name="offerings">
<!-- Special capabilities used to specify offerings. -->
<!-- Parsed and removed during InsertSensor/UpdateSensorDescription,
added during DescribeSensor. -->
<!-- Offering is generated if not specified. -->
<swe:SimpleDataRecord>
<!-- Field name or gml:name is used for the offering's name -->
<swe:field name="Offering1 for DTH22">
<swe:Text definition="urn:ogc:def:identifier:OGC:offeringID">
<gml:name>Offering_DHT22</gml:name>
<swe:value>Offering_DHT22</swe:value>
</swe:Text>
</swe:field>
</swe:SimpleDataRecord>
</sml:capabilities>
<sml:capabilities name="parentProcedures">
<!-- Special capabilities used to specify parent procedures. -->
<!-- Parsed and removed during InsertSensor/UpdateSensorDescription,
added during DescribeSensor. -->
<swe:SimpleDataRecord>
<swe:field name="parentProcedure">
<swe:Text>
<swe:value>DHT22_Parent</swe:value>
</swe:Text>
</swe:field>
</swe:SimpleDataRecord>
</sml:capabilities>
<sml:capabilities name="featuresOfInterest">
<!-- Special capabilities used to specify features of interest. -->
<!-- Parsed and removed during InsertSensor/UpdateSensorDescription,
added during DescribeSensor. -->
<swe:SimpleDataRecord>
<swe:field name="featureOfInterestID">
<swe:Text>
<swe:value>DHT22_Sensor_Munich
</swe:value>
</swe:Text>
</swe:field>
</swe:SimpleDataRecord>
</sml:capabilities>
<sml:position name="sensorPosition">
<swe:Position referenceFrame="urn:ogc:def:crs:EPSG::4326">
<swe:location>
<swe:Vector gml:id="STATION_LOCATION">
<swe:coordinate name="easting">
<swe:Quantity axisID="x">
<swe:uom code="degree"/>
<swe:value>11.5736231</swe:value>
</swe:Quantity>
</swe:coordinate>
<swe:coordinate name="northing">
<swe:Quantity axisID="y">
<swe:uom code="degree"/>
<swe:value>48.1499762</swe:value>
</swe:Quantity>
</swe:coordinate>
<swe:coordinate name="altitude">
<swe:Quantity axisID="z">
<swe:uom code="m"/>
<swe:value>52.0</swe:value>
</swe:Quantity>
</swe:coordinate>
</swe:Vector>
</swe:location>
</swe:Position>
</sml:position>
<sml:inputs>
<sml:InputList>
<sml:input name="observable_property_DHT22">
<swe:ObservableProperty definition="observable_property_DHT22"/>
</sml:input>
</sml:InputList>
</sml:inputs>
<sml:outputs>
<sml:OutputList>
<sml:output name="Temperature_DHT22">
<swe:Quantity definition="Temperature_DHT22">
<swe:uom code="Celsius"/>
</swe:Quantity>
</sml:output>
<sml:output name="Humidity_DHT22">
<swe:Quantity definition="Humidity_DHT22">
<swe:uom code="Percent"/>
</swe:Quantity>
</sml:output>
</sml:OutputList>
</sml:outputs>
</sml:System>
</sml:member>
</sml:SensorML>
</swes:procedureDescription>
<!-- multiple values possible -->
<swes:observableProperty>Temperature_DHT22</swes:observableProperty>
<swes:observableProperty>Humidity_DHT22</swes:observableProperty>
<swes:metadata>
<sos:SosInsertionMetadata>
<sos:observationType>http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement</sos:observationType>
<!-- multiple values possible -->
<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>