UpdateSensor

Introduction

The UpdateSensor operation allows the client to update sensor system with the SOS as part of the transactional profile. Sensor updates can only be done for sensors that have first been registered with the SOS. Currently, UpdateSensor is only implemented for updating the sensor position.

Example

  • only mobile
<?xml version="1.0" encoding="UTF-8"?>
<UpdateSensor service="SOS" version="1.0.0" mobileEnabled="true" xmlns="http://www.opengis.net/sos/1.0"
 xmlns:ows="http://www.opengeospatial.net/ows" xmlns:gml="http://www.opengis.net/gml"
 xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:sos="http://www.opengis.net/sos/1.0" xmlns:swe="http://www.opengis.net/swe/1.0.1"
 xsi:schemaLocation="http://www.opengis.net/sos/1.0 
 http://mars.uni-muenster.de/SOSmobile/trunk/sos/1.0.0/sosUpdateSensor.xsd">
   <SensorID>urn:ogc:object:feature:Sensor:IFGI:ifgi-sensor-3</SensorID>
   <timeStamp>
      <gml:timePosition>2008-04-01T17:45:15+00</gml:timePosition>
   </timeStamp>
   <position>
      <swe:location>
         <swe:Vector referenceFrame="urn:ogc:def:crs:EPSG:4326">
            <swe:coordinate name="xcoord">
               <swe:Quantity>
                  <swe:value>9.06667</swe:value>
               </swe:Quantity>
            </swe:coordinate>
            <swe:coordinate name="ycoord">
               <swe:Quantity>
                  <swe:value>51.883906</swe:value>
               </swe:Quantity>
            </swe:coordinate>
         </swe:Vector>
      </swe:location>
   </position>
   <domainFeature>
      <GenericDomainFeature gml:id="investigationArea1">
         <gml:description>Paderborn</gml:description>
         <gml:name>City of paderborn</gml:name>
         <gml:location>
            <gml:Polygon srsName="4326" xsi:type="gml:PolygonType">
               <gml:exterior>
                  <gml:LinearRing xsi:type="gml:LinearRingType">
                     <gml:coordinates>8.76667 51.7167, 8.76667 52.7167, 9.76667 52.7167, 9.76667 51.7167, 8.76667 51.7167</gml:coordinates>
                  </gml:LinearRing>
               </gml:exterior>
            </gml:Polygon>
         </gml:location>
      </GenericDomainFeature>
   </domainFeature>
   <isMobile>true</isMobile>
   <isActive>true</isActive>
</UpdateSensor>

-- CarstenHollmann - 22 Apr 2009
Topic revision: r2 - 23 Apr 2009, CarstenHollmann
Legal Notice | Privacy Statement


This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Wiki? Send feedback