error for om:parameter

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

error for om:parameter

debard
Hi,
When i send a insertObservation a got an exception with the om:parameter. I
used the client of 52°north and my parameter is geometry type.

            <om:parameter>
                <om:NamedValue>
                    <om:name
xlink:href="http://www.opengis.net/def/param-name/OGC-OM/2.0/samplingGeometry"/>
                    <om:value>
                       <gml:Point gml:id="SamplingPoint">
                <gml:pos srsName="urn:ogc:def:crs:EPSG:4326">-60.95186
14.69292</gml:pos>
            </gml:Point>
                    </om:value>
                </om:NamedValue>
            </om:parameter>


the message is:
<ows:ExceptionText>null can not be decoded by
org.n52.sos.decode.OmDecoderv20 because it is not yet
implemented!</ows:ExceptionText>

could you help me
many thanks
Stéphane




--
Sent from: http://sensorweb.forum.52north.org/
_______________________________________________
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: error for om:parameter

Eike Hinderk Jürrens
Am 06.09.2017 um 18:17 schrieb debard:
Hi,
When i send a insertObservation a got an exception with the om:parameter. I
used the client of 52°north and my parameter is geometry type.

            <om:parameter>
                <om:NamedValue>
                    <om:name
xlink:href="http://www.opengis.net/def/param-name/OGC-OM/2.0/samplingGeometry"/>
                    <om:value>
                       <gml:Point gml:id="SamplingPoint">
               				 <gml:pos srsName="urn:ogc:def:crs:EPSG:4326">-60.95186
14.69292</gml:pos>
            					</gml:Point>
                    </om:value>
                </om:NamedValue>
            </om:parameter>


the message is:
<ows:ExceptionText>null can not be decoded by
org.n52.sos.decode.OmDecoderv20 because it is not yet
implemented!</ows:ExceptionText>

could you help me 
many thanks
Stéphane

Hi Stephane,
you might adjust your xml here. Is it generated by a lib or a template created by hand?
I was able to insert the observation after adding the following to the <om:value> tag: xsi:type="gml:GeometryPropertyType"

Hope this helps and kind regards,
Eike

-- 
Eike Hinderk Jürrens
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-33
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
Reply | Threaded
Open this post in threaded view
|

Re: error for om:parameter

debard
Hi Eike,
yes it's really better like this
Regards




--
Sent from: http://sensorweb.forum.52north.org/
_______________________________________________
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