• Tidak ada hasil yang ditemukan

Change Requests | OGC

N/A
N/A
Protected

Academic year: 2017

Membagikan "Change Requests | OGC"

Copied!
4
0
0

Teks penuh

(1)

Open Geospatial Consortium

OGC Doc

08-172?????

CR-Form-v3

CHANGE REQUEST

SOS CR

08-172?

 rev

-

 Current version: 06-009r6 

For

HELP 

on using this form, see bottom of this page or look at the pop-up text over the symbols.

Proposed change affects:  AS Imp Spec X Best Practices Paper Other

Title:  Addition of the UpdateSensor operation

Source:  University of Muenster, Institute for Geoinformatics (IfGI)

Work item code:Date:  2008-11-06

Category:B

C

Use one of the following categories: F (Critical correction)

A (corresponds to a correction in an earlier release)

B (Addition of feature),

C (Functional modification of feature) D (Editorial modification)

Detailed explanations of the above categories can be found in the TC Policies and Procedures.

Reason for change:  Currently the SOS lacks a mechanism for updating sensor properties that are changing during the course of time. At the moment there is no operation for changing properties that are described within a SensorML document.

This causes problems especially in case of mobile sensors which are moving around through an area of interest. In order to update the sensor positions within the SOS the new UpdateSensor operation is needed.

In addition also other sensor properties require sometimes updates within the SOS. Examples for this comprise status properties like the battery state but also information if a sensor is currently active or inactive.

Summary of change:  Add the new UpdateSensor operation.

Consequences if

not approved: Lacking support for which change during the course of time.mobile sensors and sensors that have dynamic properties

Clauses affected:  10.8 (new clause)

Other specs  Other core specifications 

(2)

The OGC Technical Committee Policies & Procedures 05-020r3

Add a new sub clause 10.8 as follows:

10.8 UpdateSensor (optional)

10.8.1 Introduction

The UpdateSensor operation allows updating properties of a sensor. This comprises

sensor status information (e.g. active/inactive, battery level, etc.) as well as sensor

positions (i.e. in case of moving sensors).

10.8.2 Request

Figure UpdateSensor (optional)-1 Parameters for an UpdateSensor Request

(3)

The OGC Technical Committee Policies & Procedures 05-020r3

Table 1. Parameters of an UpdateSensor Request

Name a Definition Data type and values Multiplicity and use

service Service type identifier SOS One (mandatory) version Specification version for operation Supported version of

SOS One (mandatory) sensorID The ID of the sensor for which the

position/status information is updated. anyURI One (mandatory) timestamp This parameter provides the information at

which instance of time the inserted position/sensor status is valid.

swe:Time One (mandatory)

position This parameter can be used for inserting an

updated sensor position. swe:PositionType One (Optional) property For each other sensor property, except

position,which is supposed to that is be

updated one a property element can be beaded included in to the UpdateSensor request.

swe:DataComponentProp

ertyType Zero or more (Optional)

a The name capitalization rules being used here are specified in Subclause 11.6.2 of [OGC 06-121r3].

10.8.3 Response

The response to an UpdateSensor request is the fixed string “sensorUpdated” which

indicates that the

sensor

submitted sensor properties were successfully updated. Otherwise

an exception is returned (see 10.8.4).

10.8.4 Exceptions

When a

n

SOS server encounters an error while performing an UpdateSensor operation, it

shall return an exception report message as specified in clause 8 of [OGC 06-121r3].

10.8.5 Examples

10.8.5.1 Example 1

Here is an UpdateSensor request that updates the properties of sensor the sensor with the

id urn:ogc:object:Sensor:MyOrg:12349 at a given time. It changes the sensor position and

sets the property “isActive” to true.

<sos:UpdateSensor service="SOS" version="1.0.0" xmlns:gml="http://www.opengis.net/gml"

xmlns:sos="http://www.opengis.net/sos/1.0" xmlns:swe="http://www.opengis.net/swe/1.0.1"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="://www.opengis.net/sos/1.0 http://schemas.opengis.net/sos/1.0.0/sosAll.xsd ">

<sos:sensorID>urn:ogc:object:Sensor:MyOrg:12349</sos:sensorID> <sos:timeStamp>

<gml:timePosition>2008-11-06T14:12:20-08:00</gml:timePosition>

</sos:timeStamp>

<sos:position referenceFrame="urn:ogc:def:crs:EPSG:6.14:31466"> <swe:location>

<swe:Vector gml:id="SENSOR_POSITION"> <swe:coordinate name="easting">

<swe:Quantity axisID="x"> <swe:uom code="m"/>

<swe:value>2112308.332</swe:value>

</swe:Quantity>

</swe:coordinate>

<swe:coordinate name="northing"> <swe:Quantity axisID="y">

(4)

The OGC Technical Committee Policies & Procedures 05-020r3

<swe:uom code="m"/>

<swe:value>5219592.542</swe:value>

</swe:Quantity>

</swe:coordinate>

<swe:coordinate name="altitude"> <swe:Quantity axisID="z">

<swe:uom code="m"/> <swe:value>45.0</swe:value>

</swe:Quantity>

</swe:coordinate>

</swe:Vector>

</swe:location>

</sos:position>

<sos:property name="isActive"> <swe:Boolean>

<swe:value>true</swe:value>

</swe:Boolean>

</sos:property>

</sos:UpdateSensor>

Here is what the response might look like. In this example the SOS is reporting that the

sensor properties were successfully updated.

<sos:UpdateSensorResponse xmlns:sos="http://www.opengis.net/sos/1.0"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="://www.opengis.net/sos/1.0 http://schemas.opengis.net/sos/1.0.0/sosAll.xsd ">

<sos:status>sensorUpdated</sos:status>

</sos:UpdateSensorResponse>

Gambar

Figure UpdateSensor (optional)-1  Parameters for an UpdateSensor Request
Table 1. Parameters of an UpdateSensor Request

Referensi

Dokumen terkait

a) GetCapabilities – This request allows a client to retrieve a resource that describes the essential capabilities and non-computational characteristics of the service.

For example, the format should include a fixed content structure (e.g., a single root CityGML document and a fixed subfolder structure for different types of related files), and

Figure 9 shows the sensor data consumer in an operational context with OGC CS-W catalogs for services discovery and SOS service instances with observation offerings and

For example, an SPS may wish to allow a particular user to perform one operation but not a different operation, while other users could request both. Summary

Summary of change:  Edit NOTE 2 following Table 3 to be clearer about the meaning of “Character String Type, not empty”. Consequences if

SensorML provides a common framework for any process and process chain, but is particularly well-suited for the description of sensor and systems and the processing of

A WFS request could then potentially contain both BBOX and FILTER parameters to allow for filtering of spatially constrained data during a BBOX request. In the event that a FILTER

The proposed change will allow the creation of a GetCapabilities request that return only a given sub-set of the layers. Summary