[52N SWE] Registering new sensors

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[52N SWE] Registering new sensors

cparent
Hello, I have a question regarding the RegisterSensor capability of the SOS service. Based on what I read in the SOS specification, it is the SOS's responsibility to generate a unique ID for the sensor.  How does one achieve this when submitting a SensorML document? The SOS service seems to require that the unique ID be present in the request.  Here is an excerpt of the request I'm sending in. 

Please correct me if I am wrong, but is the SOS responsible for generating the unique ID? How do I do this?

Thank you
Chris


<RegisterSensor service="SOS" version="1.0.0" xmlns="http://www.opengis.net/sos/1.0" xmlns:swe="http://www.opengis.net/swe/1.0.1" xmlns:ows="http://www.opengeospatial.net/ows" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:om="http://www.opengis.net/om/1.0" xmlns:sml="http://www.opengis.net/sensorML/1.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sos/1.0 http://schemas.opengis.net/sos/1.0.0/sosRegisterSensor.xsd http://www.opengis.net/om/1.0 http://schemas.opengis.net/om/1.0.0/extensions/observationSpecialization_override.xsd" >
    <SensorDescription>
        <sml:SensorML version="1.0.1">
            <sml:member>
                <sml:System>
                    <sml:identification>
                        <sml:IdentifierList>
                            <sml:identifier name="uniqueID">
                                <sml:Term definition="urn:ogc:def:identifier:OGC:uniqueID">
                                    <sml:value>urn:ogc:object:feature:OSIRIS-HWS:a1ef1094-c201-4f9f-8f2e-0ff97bf65f03</sml:value>
                                </sml:Term>
                            </sml:identifier>

_______________________________________________
SWE mailing list
[hidden email]
http://www2.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org
Reply | Threaded
Open this post in threaded view
|

Re: [52N SWE] Registering new sensors

Carsten Hollmann-3
Hi Chris,

the SOS only checks the unique ID, included in the RegisterSensor
request. It is not implemented to generate a unique ID by the SOS. If
the unique ID already exists an exception response returned. Otherwise,
if the registration was succesful, the RegisterSensorResponse contains a
AssignedSensorID which is the unique ID from the RegisterSensor request.
The advantage over a automativ generated unique ID is, the producer can
define the whole urn depending on his needs.

Briefly: In a RegisterSensor request you have to define a unique Id for
the procedure.

Regards,
Carsten
-----

Carsten Hollmann

IfGI - Institute for Geoinformatics
University of Muenster

Mail: [hidden email]

Am 17.09.2010 01:07, schrieb Christopher Parent:

>   Hello, I have a question regarding the RegisterSensor capability of
> the SOS service. Based on what I read in the SOS specification, it is
> the SOS's responsibility to generate a unique ID for the sensor. How
> does one achieve this when submitting a SensorML document? The SOS
> service seems to require that the unique ID be present in the request.
> Here is an excerpt of the request I'm sending in.
>
> Please correct me if I am wrong, but is the SOS responsible for
> generating the unique ID? How do I do this?
>
> Thank you
> Chris
>
>
> <RegisterSensor service="SOS" version="1.0.0"
> xmlns="http://www.opengis.net/sos/1.0"
> xmlns:swe="http://www.opengis.net/swe/1.0.1"
> xmlns:ows="http://www.opengeospatial.net/ows"
> xmlns:xlink="http://www.w3.org/1999/xlink"
> xmlns:gml="http://www.opengis.net/gml"
> xmlns:ogc="http://www.opengis.net/ogc"
> xmlns:om="http://www.opengis.net/om/1.0"
> xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.opengis.net/sos/1.0
> http://schemas.opengis.net/sos/1.0.0/sosRegisterSensor.xsd
> http://www.opengis.net/om/1.0
> http://schemas.opengis.net/om/1.0.0/extensions/observationSpecialization_override.xsd"
>  >
> <SensorDescription>
> <sml:SensorML version="1.0.1">
> <sml:member>
> <sml:System>
> <sml:identification>
> <sml:IdentifierList>
> <sml:identifier name="uniqueID">
> <sml:Term definition="urn:ogc:def:identifier:OGC:uniqueID">
> <sml:value>urn:ogc:object:feature:OSIRIS-HWS:a1ef1094-c201-4f9f-8f2e-0ff97bf65f03</sml:value>
> </sml:Term>
> </sml:identifier>
>
>
>
> _______________________________________________
> SWE mailing list
> [hidden email]
> http://www2.52north.org/mailman/listinfo/swe
> http://sensorweb.forum.52north.org
_______________________________________________
SWE mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org