SOS server overrides identifier

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

SOS server overrides identifier

Alberto

Hi,
I'm using the last version of SOS.

When I insert an Observation, I specified the observation id: <om:OM_Observation gml:id="o7886575">
but when I get Observation the observation id is different: <om:OM_Observation gml:id="o_1930">, for example.

Is the original id stored somewhere? Why is it changed?

Thanks

_______________________________________________
SWE mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines
Reply | Threaded
Open this post in threaded view
|

Re: SOS server overrides identifier

Carsten Hollmann
Hi Alberto,

the "gml:id" of an om:OM_Observation is not considered by the SOS and it
is not stored in the database.

If you want to insert an observation with an identifier that can be used
in the GetObservationById you have to use the "gml:identifier".

Best,
Carsten

Am 07.07.2016 um 12:45 schrieb Alberto:

>
> Hi,
> I'm using the last version of SOS.
>
> When I insert an Observation, I specified the observation id:
> <om:OM_Observation gml:id="o7886575">
> but when I get Observation the observation id is different:
> <om:OM_Observation gml:id="o_1930">, for example.
>
> Is the original id stored somewhere? Why is it changed?
>
> Thanks
>
>
> _______________________________________________
> SWE mailing list
> [hidden email]
> http://list.52north.org/mailman/listinfo/swe
> http://sensorweb.forum.52north.org
> Please respect our mailing list guidelines:
> http://52north.org/resources/mailing-lists-and-forums/guidelines
>

--
Carsten Hollmann

52°North Initiative for Geospatial Open Source Software GmbH
Martin-Luther-King-Weg 24
48155 Münster, Germany

E-Mail: [hidden email]
Fon: +49 (0)-251-396371-35
Fax: +49 (0)-251-396371-11
http://52north.org/
Twitter: @FiveTwoN

General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
Local Court Muenster HRB 10849
_______________________________________________
SWE mailing list
[hidden email]
http://list.52north.org/mailman/listinfo/swe
http://sensorweb.forum.52north.org
Please respect our mailing list guidelines:
http://52north.org/resources/mailing-lists-and-forums/guidelines