featureOfInterest - geoemetry

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

featureOfInterest - geoemetry

Ralf Becker

Hi,

 

is it possible to insert an featureOfInterest with a <gml:LineString> geometry instead of <gml:Point>? Do you have an equivalent to that below for gml:Point?

 

Thanks and best regards,

Ralf

 

<?xml version="1.0" encoding="UTF-8"?>

<sos:InsertObservation service="SOS" version="2.0.0"

    xmlns:sos="http://www.opengis.net/sos/2.0"

    xmlns:swes="http://www.opengis.net/swes/2.0"

    xmlns:swe="http://www.opengis.net/swe/2.0"

    xmlns:sml="http://www.opengis.net/sensorML/1.0.1"

    xmlns:gml="http://www.opengis.net/gml/3.2"

    xmlns:xlink="http://www.w3.org/1999/xlink"

    xmlns:om="http://www.opengis.net/om/2.0"

    xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"

    xmlns:sf="http://www.opengis.net/sampling/2.0"

    xmlns:xs="http://www.w3.org/2001/XMLSchema"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sos/2.0 http://schemas.opengis.net/sos/2.0/sos.xsd          http://www.opengis.net/samplingSpatial/2.0 http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd">

    <!-- multiple offerings are possible -->

    <sos:offering>http://www.52north.org/test/offering/9</sos:offering>

    <sos:observation>

        <om:OM_Observation gml:id="o1">

            <om:type xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_GeometryObservation"/>

            <om:phenomenonTime>

                <gml:TimeInstant gml:id="phenomenonTime">

                    <gml:timePosition>2012-07-31T17:45:15.000+00:00</gml:timePosition>

                </gml:TimeInstant>

            </om:phenomenonTime>

            <om:resultTime xlink:href="#phenomenonTime"/>

            <om:procedure xlink:href="http://www.52north.org/test/procedure/9"/>

            <om:observedProperty xlink:href="http://www.52north.org/test/observableProperty/9_6"/>

            <om:featureOfInterest>

                <sams:SF_SpatialSamplingFeature gml:id="ssf_test_feature_9">

                    <gml:identifier codeSpace="">http://www.52north.org/test/featureOfInterest/9</gml:identifier>

                    <gml:name>52°North</gml:name>

                    <sf:type xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint"/>

                    <sf:sampledFeature xlink:href="http://www.52north.org/test/featureOfInterest/1"/>

                    <sams:shape>

                        <gml:Point gml:id="test_feature_9">

                            <gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">51.935101100104916 7.651968812254194</gml:pos>

                        </gml:Point>

                    </sams:shape>

                </sams:SF_SpatialSamplingFeature>

            </om:featureOfInterest>

            <om:result xsi:type="gml:GeometryPropertyType">

                <gml:Point gml:id="value">

                    <gml:pos srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.9 7.52</gml:pos>

                </gml:Point>

            </om:result>

        </om:OM_Observation>

    </sos:observation>

 

 

--------------------------------------------------------

Dr.-Ing. Ralf Becker

RWTH Aachen University

Geodätisches Institut

Lehrstuhl für Bauinformatik & Geoinformationssysteme

Mies-van-der-Rohe-Straße 1

52074 Aachen

GERMANY

Telefon: +49 (0)241 / 80 - 95288

E-Mail: [hidden email]

 


_______________________________________________
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: featureOfInterest - geoemetry

Christian Autermann-2
Hi Ralf,

yes, that's supported. Just replace the point with an <gml:LineString>:

<?xml version="1.0" encoding="UTF-8"?>
<sos:InsertObservation service="SOS" version="2.0.0"
    xmlns:sos="http://www.opengis.net/sos/2.0"
    xmlns:swes="http://www.opengis.net/swes/2.0"
    xmlns:swe="http://www.opengis.net/swe/2.0"
    xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
    xmlns:gml="http://www.opengis.net/gml/3.2"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:om="http://www.opengis.net/om/2.0"
    xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
    xmlns:sf="http://www.opengis.net/sampling/2.0"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/sos/2.0
http://schemas.opengis.net/sos/2.0/sos.xsd
http://www.opengis.net/samplingSpatial/2.0
http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd">
    <!-- multiple offerings are possible -->
    <sos:offering>http://www.52north.org/test/offering/9</sos:offering>
    <sos:observation>
        <om:OM_Observation gml:id="o1">
            <om:type
xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_GeometryObservation"/>
            <om:phenomenonTime>
                <gml:TimeInstant gml:id="phenomenonTime">

<gml:timePosition>2012-07-31T17:45:15.000+00:00</gml:timePosition>
                </gml:TimeInstant>
            </om:phenomenonTime>
            <om:resultTime xlink:href="#phenomenonTime"/>
            <om:procedure xlink:href="http://www.52north.org/test/procedure/9"/>
            <om:observedProperty
xlink:href="http://www.52north.org/test/observableProperty/9_6"/>
            <om:featureOfInterest>
                <sams:SF_SpatialSamplingFeature gml:id="ssf_test_feature_9">
                    <gml:identifier
codeSpace="">http://www.52north.org/test/featureOfInterest/9</gml:identifier>
                    <gml:name>52°North</gml:name>
                    <sf:type
xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint"/>
                    <sf:sampledFeature
xlink:href="http://www.52north.org/test/featureOfInterest/1"/>
                    <sams:shape>
                        <gml:LineString gml:id="test_feature_9"
srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
                            <gml:posList>
                              -70.8584248 -53.1253874 ... 8.4898739 53.6113709
                            </gml:posList>
                        </gml:LineString>
                    </sams:shape>
                </sams:SF_SpatialSamplingFeature>
            </om:featureOfInterest>
            <om:result xsi:type="gml:GeometryPropertyType">
                <gml:Point gml:id="value">
                    <gml:pos
srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.9
7.52</gml:pos>
                </gml:Point>
            </om:result>
        </om:OM_Observation>
    </sos:observation>

Best,
Christian

--
Christian Autermann
52°North GmbH
Martin-Luther-King-Weg 24
48155 Münster, Germany
Fon: +49 251 396371 - 38
Fax: +49 251 396371 - 11
Web: http://52north.org

General Managers:
Albert Remke, Andreas Wytzisk
Local Court Münster HRB 10849


On Thu, Dec 7, 2017 at 10:42 AM, Ralf Becker
<[hidden email]> wrote:

> Hi,
>
>
>
> is it possible to insert an featureOfInterest with a <gml:LineString>
> geometry instead of <gml:Point>? Do you have an equivalent to that below for
> gml:Point?
>
>
>
> Thanks and best regards,
>
> Ralf
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <sos:InsertObservation service="SOS" version="2.0.0"
>
>     xmlns:sos="http://www.opengis.net/sos/2.0"
>
>     xmlns:swes="http://www.opengis.net/swes/2.0"
>
>     xmlns:swe="http://www.opengis.net/swe/2.0"
>
>     xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
>
>     xmlns:gml="http://www.opengis.net/gml/3.2"
>
>     xmlns:xlink="http://www.w3.org/1999/xlink"
>
>     xmlns:om="http://www.opengis.net/om/2.0"
>
>     xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
>
>     xmlns:sf="http://www.opengis.net/sampling/2.0"
>
>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.opengis.net/sos/2.0
> http://schemas.opengis.net/sos/2.0/sos.xsd
> http://www.opengis.net/samplingSpatial/2.0
> http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd">
>
>     <!-- multiple offerings are possible -->
>
>     <sos:offering>http://www.52north.org/test/offering/9</sos:offering>
>
>     <sos:observation>
>
>         <om:OM_Observation gml:id="o1">
>
>             <om:type
> xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_GeometryObservation"/>
>
>             <om:phenomenonTime>
>
>                 <gml:TimeInstant gml:id="phenomenonTime">
>
>
> <gml:timePosition>2012-07-31T17:45:15.000+00:00</gml:timePosition>
>
>                 </gml:TimeInstant>
>
>             </om:phenomenonTime>
>
>             <om:resultTime xlink:href="#phenomenonTime"/>
>
>             <om:procedure
> xlink:href="http://www.52north.org/test/procedure/9"/>
>
>             <om:observedProperty
> xlink:href="http://www.52north.org/test/observableProperty/9_6"/>
>
>             <om:featureOfInterest>
>
>                 <sams:SF_SpatialSamplingFeature gml:id="ssf_test_feature_9">
>
>                     <gml:identifier
> codeSpace="">http://www.52north.org/test/featureOfInterest/9</gml:identifier>
>
>                     <gml:name>52°North</gml:name>
>
>                     <sf:type
> xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint"/>
>
>                     <sf:sampledFeature
> xlink:href="http://www.52north.org/test/featureOfInterest/1"/>
>
>                     <sams:shape>
>
>                         <gml:Point gml:id="test_feature_9">
>
>                             <gml:pos
> srsName="http://www.opengis.net/def/crs/EPSG/0/4326">51.935101100104916
> 7.651968812254194</gml:pos>
>
>                         </gml:Point>
>
>                     </sams:shape>
>
>                 </sams:SF_SpatialSamplingFeature>
>
>             </om:featureOfInterest>
>
>             <om:result xsi:type="gml:GeometryPropertyType">
>
>                 <gml:Point gml:id="value">
>
>                     <gml:pos
> srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.9 7.52</gml:pos>
>
>                 </gml:Point>
>
>             </om:result>
>
>         </om:OM_Observation>
>
>     </sos:observation>
>
>
>
>
>
> --------------------------------------------------------
>
> Dr.-Ing. Ralf Becker
>
> RWTH Aachen University
>
> Geodätisches Institut
>
> Lehrstuhl für Bauinformatik & Geoinformationssysteme
>
> Mies-van-der-Rohe-Straße 1
>
> 52074 Aachen
>
> GERMANY
>
> Telefon: +49 (0)241 / 80 - 95288
>
> E-Mail: [hidden email]
>
>
>
>
> _______________________________________________
> 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
_______________________________________________
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: featureOfInterest - geoemetry

Christian Autermann-2
Oh, and you have to change the <sf:type>. It should be
'http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingCurve'
--
Christian Autermann
52°North GmbH
Martin-Luther-King-Weg 24
48155 Münster, Germany
Fon: +49 251 396371 - 38
Fax: +49 251 396371 - 11
Web: http://52north.org

General Managers:
Albert Remke, Andreas Wytzisk
Local Court Münster HRB 10849


On Thu, Dec 7, 2017 at 5:15 PM, Christian Autermann
<[hidden email]> wrote:

> Hi Ralf,
>
> yes, that's supported. Just replace the point with an <gml:LineString>:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <sos:InsertObservation service="SOS" version="2.0.0"
>     xmlns:sos="http://www.opengis.net/sos/2.0"
>     xmlns:swes="http://www.opengis.net/swes/2.0"
>     xmlns:swe="http://www.opengis.net/swe/2.0"
>     xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
>     xmlns:gml="http://www.opengis.net/gml/3.2"
>     xmlns:xlink="http://www.w3.org/1999/xlink"
>     xmlns:om="http://www.opengis.net/om/2.0"
>     xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
>     xmlns:sf="http://www.opengis.net/sampling/2.0"
>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.opengis.net/sos/2.0
> http://schemas.opengis.net/sos/2.0/sos.xsd
> http://www.opengis.net/samplingSpatial/2.0
> http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd">
>     <!-- multiple offerings are possible -->
>     <sos:offering>http://www.52north.org/test/offering/9</sos:offering>
>     <sos:observation>
>         <om:OM_Observation gml:id="o1">
>             <om:type
> xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_GeometryObservation"/>
>             <om:phenomenonTime>
>                 <gml:TimeInstant gml:id="phenomenonTime">
>
> <gml:timePosition>2012-07-31T17:45:15.000+00:00</gml:timePosition>
>                 </gml:TimeInstant>
>             </om:phenomenonTime>
>             <om:resultTime xlink:href="#phenomenonTime"/>
>             <om:procedure xlink:href="http://www.52north.org/test/procedure/9"/>
>             <om:observedProperty
> xlink:href="http://www.52north.org/test/observableProperty/9_6"/>
>             <om:featureOfInterest>
>                 <sams:SF_SpatialSamplingFeature gml:id="ssf_test_feature_9">
>                     <gml:identifier
> codeSpace="">http://www.52north.org/test/featureOfInterest/9</gml:identifier>
>                     <gml:name>52°North</gml:name>
>                     <sf:type
> xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint"/>
>                     <sf:sampledFeature
> xlink:href="http://www.52north.org/test/featureOfInterest/1"/>
>                     <sams:shape>
>                         <gml:LineString gml:id="test_feature_9"
> srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
>                             <gml:posList>
>                               -70.8584248 -53.1253874 ... 8.4898739 53.6113709
>                             </gml:posList>
>                         </gml:LineString>
>                     </sams:shape>
>                 </sams:SF_SpatialSamplingFeature>
>             </om:featureOfInterest>
>             <om:result xsi:type="gml:GeometryPropertyType">
>                 <gml:Point gml:id="value">
>                     <gml:pos
> srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.9
> 7.52</gml:pos>
>                 </gml:Point>
>             </om:result>
>         </om:OM_Observation>
>     </sos:observation>
>
> Best,
> Christian
>
> --
> Christian Autermann
> 52°North GmbH
> Martin-Luther-King-Weg 24
> 48155 Münster, Germany
> Fon: +49 251 396371 - 38
> Fax: +49 251 396371 - 11
> Web: http://52north.org
>
> General Managers:
> Albert Remke, Andreas Wytzisk
> Local Court Münster HRB 10849
>
>
> On Thu, Dec 7, 2017 at 10:42 AM, Ralf Becker
> <[hidden email]> wrote:
>> Hi,
>>
>>
>>
>> is it possible to insert an featureOfInterest with a <gml:LineString>
>> geometry instead of <gml:Point>? Do you have an equivalent to that below for
>> gml:Point?
>>
>>
>>
>> Thanks and best regards,
>>
>> Ralf
>>
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <sos:InsertObservation service="SOS" version="2.0.0"
>>
>>     xmlns:sos="http://www.opengis.net/sos/2.0"
>>
>>     xmlns:swes="http://www.opengis.net/swes/2.0"
>>
>>     xmlns:swe="http://www.opengis.net/swe/2.0"
>>
>>     xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
>>
>>     xmlns:gml="http://www.opengis.net/gml/3.2"
>>
>>     xmlns:xlink="http://www.w3.org/1999/xlink"
>>
>>     xmlns:om="http://www.opengis.net/om/2.0"
>>
>>     xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
>>
>>     xmlns:sf="http://www.opengis.net/sampling/2.0"
>>
>>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>>
>>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="http://www.opengis.net/sos/2.0
>> http://schemas.opengis.net/sos/2.0/sos.xsd
>> http://www.opengis.net/samplingSpatial/2.0
>> http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd">
>>
>>     <!-- multiple offerings are possible -->
>>
>>     <sos:offering>http://www.52north.org/test/offering/9</sos:offering>
>>
>>     <sos:observation>
>>
>>         <om:OM_Observation gml:id="o1">
>>
>>             <om:type
>> xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_GeometryObservation"/>
>>
>>             <om:phenomenonTime>
>>
>>                 <gml:TimeInstant gml:id="phenomenonTime">
>>
>>
>> <gml:timePosition>2012-07-31T17:45:15.000+00:00</gml:timePosition>
>>
>>                 </gml:TimeInstant>
>>
>>             </om:phenomenonTime>
>>
>>             <om:resultTime xlink:href="#phenomenonTime"/>
>>
>>             <om:procedure
>> xlink:href="http://www.52north.org/test/procedure/9"/>
>>
>>             <om:observedProperty
>> xlink:href="http://www.52north.org/test/observableProperty/9_6"/>
>>
>>             <om:featureOfInterest>
>>
>>                 <sams:SF_SpatialSamplingFeature gml:id="ssf_test_feature_9">
>>
>>                     <gml:identifier
>> codeSpace="">http://www.52north.org/test/featureOfInterest/9</gml:identifier>
>>
>>                     <gml:name>52°North</gml:name>
>>
>>                     <sf:type
>> xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint"/>
>>
>>                     <sf:sampledFeature
>> xlink:href="http://www.52north.org/test/featureOfInterest/1"/>
>>
>>                     <sams:shape>
>>
>>                         <gml:Point gml:id="test_feature_9">
>>
>>                             <gml:pos
>> srsName="http://www.opengis.net/def/crs/EPSG/0/4326">51.935101100104916
>> 7.651968812254194</gml:pos>
>>
>>                         </gml:Point>
>>
>>                     </sams:shape>
>>
>>                 </sams:SF_SpatialSamplingFeature>
>>
>>             </om:featureOfInterest>
>>
>>             <om:result xsi:type="gml:GeometryPropertyType">
>>
>>                 <gml:Point gml:id="value">
>>
>>                     <gml:pos
>> srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.9 7.52</gml:pos>
>>
>>                 </gml:Point>
>>
>>             </om:result>
>>
>>         </om:OM_Observation>
>>
>>     </sos:observation>
>>
>>
>>
>>
>>
>> --------------------------------------------------------
>>
>> Dr.-Ing. Ralf Becker
>>
>> RWTH Aachen University
>>
>> Geodätisches Institut
>>
>> Lehrstuhl für Bauinformatik & Geoinformationssysteme
>>
>> Mies-van-der-Rohe-Straße 1
>>
>> 52074 Aachen
>>
>> GERMANY
>>
>> Telefon: +49 (0)241 / 80 - 95288
>>
>> E-Mail: [hidden email]
>>
>>
>>
>>
>> _______________________________________________
>> 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
_______________________________________________
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: featureOfInterest - geoemetry

Ralf Becker
Hi Christian,

I am very sorry, but I get the following exception report:

    <?xml version="1.0" encoding="UTF-8"?>
    <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsAll.xsd">
      <ows:Exception exceptionCode="InvalidParameterValue">
        <ows:ExceptionText>Error while parsing the geometry of featureOfInterest parameter
    [EXEPTION]:
    Expected word but found End-of-Stream (line 1)</ows:ExceptionText>
      </ows:Exception>
    </ows:ExceptionReport>

to

<?xml version="1.0" encoding="UTF-8"?>
<sos:InsertObservation service="SOS" version="2.0.0"
    xmlns:sos="http://www.opengis.net/sos/2.0"
    xmlns:swes="http://www.opengis.net/swes/2.0"
    xmlns:swe="http://www.opengis.net/swe/2.0"
    xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
    xmlns:gml="http://www.opengis.net/gml/3.2"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    xmlns:om="http://www.opengis.net/om/2.0"
    xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
    xmlns:sf="http://www.opengis.net/sampling/2.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/sos/2.0 http://schemas.opengis.net/sos/2.0/sos.xsd          http://www.opengis.net/samplingSpatial/2.0 http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd">
    <!-- multiple offerings are possible -->
    <sos:offering>http://www.52north.org/test/offering/9</sos:offering>
    <sos:observation>
        <om:OM_Observation gml:id="o3">
            <gml:description>test description for this observation</gml:description>
            <gml:identifier codeSpace="">http://www.52north.org/test/observation/93</gml:identifier>
            <om:type xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement"/>
            <om:phenomenonTime>
                <gml:TimeInstant gml:id="phenomenonTime">
                    <gml:timePosition>2012-08-31T17:45:15.000+00:00</gml:timePosition>
                </gml:TimeInstant>
            </om:phenomenonTime>
            <om:resultTime xlink:href="#phenomenonTime"/>
            <om:procedure xlink:href="http://www.52north.org/test/procedure/9"/>
            <om:observedProperty xlink:href="http://www.52north.org/test/observableProperty/9_3"/>
            <om:featureOfInterest>
                <sams:SF_SpatialSamplingFeature gml:id="ssf_test_feature_9">
                    <gml:identifier codeSpace="">http://www.52north.org/test/featureOfInterest/9</gml:identifier>
                    <gml:name>52°North</gml:name>
                    <sf:type xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingCurve"/>
                    <sf:sampledFeature xlink:href="http://www.52north.org/test/featureOfInterest/1"/>
                    <sams:shape>
                        <gml:LineString gml:id="test_feature_9"
srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
                            <gml:posList>
                              -70.8584248 -53.1253874 8.4898739 53.6113709
                            </gml:posList>
                        </gml:LineString>
                    </sams:shape>
                </sams:SF_SpatialSamplingFeature>
            </om:featureOfInterest>
            <om:result xsi:type="gml:MeasureType" uom="test_unit_9_3">0.28</om:result>
        </om:OM_Observation>
    </sos:observation>
</sos:InsertObservation>

Best,
Ralf
 

-----Ursprüngliche Nachricht-----
Von: SWE [mailto:[hidden email]] Im Auftrag von Christian Autermann
Gesendet: Donnerstag, 7. Dezember 2017 17:18
An: Sensor Web developer communication
Betreff: Re: [52N SWE] featureOfInterest - geoemetry

Oh, and you have to change the <sf:type>. It should be 'http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingCurve'
--
Christian Autermann
52°North GmbH
Martin-Luther-King-Weg 24
48155 Münster, Germany
Fon: +49 251 396371 - 38
Fax: +49 251 396371 - 11
Web: http://52north.org

General Managers:
Albert Remke, Andreas Wytzisk
Local Court Münster HRB 10849


On Thu, Dec 7, 2017 at 5:15 PM, Christian Autermann <[hidden email]> wrote:

> Hi Ralf,
>
> yes, that's supported. Just replace the point with an <gml:LineString>:
>
> <?xml version="1.0" encoding="UTF-8"?> <sos:InsertObservation
> service="SOS" version="2.0.0"
>     xmlns:sos="http://www.opengis.net/sos/2.0"
>     xmlns:swes="http://www.opengis.net/swes/2.0"
>     xmlns:swe="http://www.opengis.net/swe/2.0"
>     xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
>     xmlns:gml="http://www.opengis.net/gml/3.2"
>     xmlns:xlink="http://www.w3.org/1999/xlink"
>     xmlns:om="http://www.opengis.net/om/2.0"
>     xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
>     xmlns:sf="http://www.opengis.net/sampling/2.0"
>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.opengis.net/sos/2.0
> http://schemas.opengis.net/sos/2.0/sos.xsd
> http://www.opengis.net/samplingSpatial/2.0
> http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd">
>     <!-- multiple offerings are possible -->
>     <sos:offering>http://www.52north.org/test/offering/9</sos:offering>
>     <sos:observation>
>         <om:OM_Observation gml:id="o1">
>             <om:type
> xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_GeometryObservation"/>
>             <om:phenomenonTime>
>                 <gml:TimeInstant gml:id="phenomenonTime">
>
> <gml:timePosition>2012-07-31T17:45:15.000+00:00</gml:timePosition>
>                 </gml:TimeInstant>
>             </om:phenomenonTime>
>             <om:resultTime xlink:href="#phenomenonTime"/>
>             <om:procedure xlink:href="http://www.52north.org/test/procedure/9"/>
>             <om:observedProperty
> xlink:href="http://www.52north.org/test/observableProperty/9_6"/>
>             <om:featureOfInterest>
>                 <sams:SF_SpatialSamplingFeature gml:id="ssf_test_feature_9">
>                     <gml:identifier
> codeSpace="">http://www.52north.org/test/featureOfInterest/9</gml:identifier>
>                     <gml:name>52°North</gml:name>
>                     <sf:type
> xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingPoint"/>
>                     <sf:sampledFeature
> xlink:href="http://www.52north.org/test/featureOfInterest/1"/>
>                     <sams:shape>
>                         <gml:LineString gml:id="test_feature_9"
> srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
>                             <gml:posList>
>                               -70.8584248 -53.1253874 ... 8.4898739 53.6113709
>                             </gml:posList>
>                         </gml:LineString>
>                     </sams:shape>
>                 </sams:SF_SpatialSamplingFeature>
>             </om:featureOfInterest>
>             <om:result xsi:type="gml:GeometryPropertyType">
>                 <gml:Point gml:id="value">
>                     <gml:pos
> srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.9
> 7.52</gml:pos>
>                 </gml:Point>
>             </om:result>
>         </om:OM_Observation>
>     </sos:observation>
>
> Best,
> Christian
>
> --
> Christian Autermann
> 52°North GmbH
> Martin-Luther-King-Weg 24
> 48155 Münster, Germany
> Fon: +49 251 396371 - 38
> Fax: +49 251 396371 - 11
> Web: http://52north.org
>
> General Managers:
> Albert Remke, Andreas Wytzisk
> Local Court Münster HRB 10849
>
>
> On Thu, Dec 7, 2017 at 10:42 AM, Ralf Becker
> <[hidden email]> wrote:
>> Hi,
>>
>>
>>
>> is it possible to insert an featureOfInterest with a <gml:LineString>
>> geometry instead of <gml:Point>? Do you have an equivalent to that
>> below for gml:Point?
>>
>>
>>
>> Thanks and best regards,
>>
>> Ralf
>>
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <sos:InsertObservation service="SOS" version="2.0.0"
>>
>>     xmlns:sos="http://www.opengis.net/sos/2.0"
>>
>>     xmlns:swes="http://www.opengis.net/swes/2.0"
>>
>>     xmlns:swe="http://www.opengis.net/swe/2.0"
>>
>>     xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
>>
>>     xmlns:gml="http://www.opengis.net/gml/3.2"
>>
>>     xmlns:xlink="http://www.w3.org/1999/xlink"
>>
>>     xmlns:om="http://www.opengis.net/om/2.0"
>>
>>     xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
>>
>>     xmlns:sf="http://www.opengis.net/sampling/2.0"
>>
>>     xmlns:xs="http://www.w3.org/2001/XMLSchema"
>>
>>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="http://www.opengis.net/sos/2.0
>> http://schemas.opengis.net/sos/2.0/sos.xsd
>> http://www.opengis.net/samplingSpatial/2.0
>> http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature
>> .xsd">
>>
>>     <!-- multiple offerings are possible -->
>>
>>    
>> <sos:offering>http://www.52north.org/test/offering/9</sos:offering>
>>
>>     <sos:observation>
>>
>>         <om:OM_Observation gml:id="o1">
>>
>>             <om:type
>> xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_
>> GeometryObservation"/>
>>
>>             <om:phenomenonTime>
>>
>>                 <gml:TimeInstant gml:id="phenomenonTime">
>>
>>
>> <gml:timePosition>2012-07-31T17:45:15.000+00:00</gml:timePosition>
>>
>>                 </gml:TimeInstant>
>>
>>             </om:phenomenonTime>
>>
>>             <om:resultTime xlink:href="#phenomenonTime"/>
>>
>>             <om:procedure
>> xlink:href="http://www.52north.org/test/procedure/9"/>
>>
>>             <om:observedProperty
>> xlink:href="http://www.52north.org/test/observableProperty/9_6"/>
>>
>>             <om:featureOfInterest>
>>
>>                 <sams:SF_SpatialSamplingFeature
>> gml:id="ssf_test_feature_9">
>>
>>                     <gml:identifier
>> codeSpace="">http://www.52north.org/test/featureOfInterest/9</gml:ide
>> ntifier>
>>
>>                     <gml:name>52°North</gml:name>
>>
>>                     <sf:type
>> xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0
>> /SF_SamplingPoint"/>
>>
>>                     <sf:sampledFeature
>> xlink:href="http://www.52north.org/test/featureOfInterest/1"/>
>>
>>                     <sams:shape>
>>
>>                         <gml:Point gml:id="test_feature_9">
>>
>>                             <gml:pos
>> srsName="http://www.opengis.net/def/crs/EPSG/0/4326">51.9351011001049
>> 16
>> 7.651968812254194</gml:pos>
>>
>>                         </gml:Point>
>>
>>                     </sams:shape>
>>
>>                 </sams:SF_SpatialSamplingFeature>
>>
>>             </om:featureOfInterest>
>>
>>             <om:result xsi:type="gml:GeometryPropertyType">
>>
>>                 <gml:Point gml:id="value">
>>
>>                     <gml:pos
>> srsName="http://www.opengis.net/def/crs/EPSG/0/4326">52.9
>> 7.52</gml:pos>
>>
>>                 </gml:Point>
>>
>>             </om:result>
>>
>>         </om:OM_Observation>
>>
>>     </sos:observation>
>>
>>
>>
>>
>>
>> --------------------------------------------------------
>>
>> Dr.-Ing. Ralf Becker
>>
>> RWTH Aachen University
>>
>> Geodätisches Institut
>>
>> Lehrstuhl für Bauinformatik & Geoinformationssysteme
>>
>> Mies-van-der-Rohe-Straße 1
>>
>> 52074 Aachen
>>
>> GERMANY
>>
>> Telefon: +49 (0)241 / 80 - 95288
>>
>> E-Mail: [hidden email]
>>
>>
>>
>>
>> _______________________________________________
>> 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
_______________________________________________
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

_______________________________________________
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
|

describeSensor-Answer formatted as observationProcess (WaterML)

Scholten, Daniel
Dear 52north-team,

I want to get a describeSensor-answer formatted as observationProcess (WaterML 2.0). But I get an exception (see attached wrong-parameter.png), which differs from the usual exception when putting an invalid format identifier (see attached invalid-parameter.png). My request was
http://middleware-2:8080/52n-sos-webapp/service?service=SOS&version=2.0.0&request=DescribeSensor&procedureDescriptionFormat=http%3A%2F%2Fwww.opengis.net%2FwaterML%2F2.0%2FobservationProcess&procedure=http://www.niersverband.de/def/procedure/unpublished 

I use the 52n-sos-webapp bundle version 4.4.0 and filled the database manually. To describe the procedures I only filled the tables procedure and proceduredescriptionformat. The latter I changed manually to http://www.opengis.net/waterML/2.0/observationProcess and pressed "Reload Capabilities Cache" for the webapp.

Can you confirm the problem?

Best wishes
Daniel
__________________________________________________
Daniel Scholten

Niersverband
Stabsstelle Informations- und Modelltechnik (IMT)
Sachbereich Softwaretechnik
Am Niersverband 10
41747 Viersen

Tel.: +49 2162 3704 - 460 [(Sekretariat: - 101)]
Fax: +49 2162 3704 - 444
E-Mail: [hidden email]

Körperschaft des öffentlichen Rechts, Sitz: Viersen
Vorsitzender des Verbandsrates: Rolf A. Königs, Vorstand: Prof. Dr.-Ing. Dietmar Schitthelm


_______________________________________________
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

screenshot_invalid-parameter.PNG (49K) Download Attachment
screenshot_wrong-parameter.PNG (52K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: describeSensor-Answer formatted as observationProcess (WaterML)

Carsten Hollmann
Hi Daniel,

the proceduredescriptionformat should be:

  http://www.opengis.net/waterml/2.0/observationProcess

instead of

  http://www.opengis.net/waterML/2.0/observationProcess

The word "waterml" should be in lower case in the database and in the
request.

Best,
Carsten
_______________________________________________
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: featureOfInterest - geoemetry

Carsten Hollmann
In reply to this post by Ralf Becker
Hi Ralf,

currently, the 52N SOS only supports gml:pos-Array as gml:LineString
content.

Here is your example with gml:pos

<?xml version="1.0" encoding="UTF-8"?>
<sos:InsertObservation service="SOS" version="2.0.0"
     xmlns:sos="http://www.opengis.net/sos/2.0"
     xmlns:swes="http://www.opengis.net/swes/2.0"
     xmlns:swe="http://www.opengis.net/swe/2.0"
     xmlns:sml="http://www.opengis.net/sensorML/1.0.1"
     xmlns:gml="http://www.opengis.net/gml/3.2"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     xmlns:om="http://www.opengis.net/om/2.0"
     xmlns:sams="http://www.opengis.net/samplingSpatial/2.0"
     xmlns:sf="http://www.opengis.net/sampling/2.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/sos/2.0 
http://schemas.opengis.net/sos/2.0/sos.xsd 
http://www.opengis.net/samplingSpatial/2.0 
http://schemas.opengis.net/samplingSpatial/2.0/spatialSamplingFeature.xsd">
     <!-- multiple offerings are possible -->
     <sos:offering>http://www.52north.org/test/offering/9</sos:offering>
     <sos:observation>
         <om:OM_Observation gml:id="o3">
             <gml:description>test description for this
observation</gml:description>
             <gml:identifier
codeSpace="">http://www.52north.org/test/observation/93</gml:identifier>
             <om:type
xlink:href="http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement"/>
             <om:phenomenonTime>
                 <gml:TimeInstant gml:id="phenomenonTime">
 
<gml:timePosition>2012-08-31T17:45:15.000+00:00</gml:timePosition>
                 </gml:TimeInstant>
             </om:phenomenonTime>
             <om:resultTime xlink:href="#phenomenonTime"/>
             <om:procedure
xlink:href="http://www.52north.org/test/procedure/9"/>
             <om:observedProperty
xlink:href="http://www.52north.org/test/observableProperty/9_3"/>
             <om:featureOfInterest>
                 <sams:SF_SpatialSamplingFeature
gml:id="ssf_test_feature_9">
                     <gml:identifier
codeSpace="">http://www.52north.org/test/featureOfInterest/9</gml:identifier>
                     <gml:name>52°North</gml:name>
                     <sf:type
xlink:href="http://www.opengis.net/def/samplingFeatureType/OGC-OM/2.0/SF_SamplingCurve"/>
                     <sf:sampledFeature
xlink:href="http://www.52north.org/test/featureOfInterest/1"/>
                     <sams:shape>
                         <gml:LineString gml:id="test_feature_9"
srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
                             <gml:pos>-70.8584248 -53.1253874</gml:pos>
                             <gml:pos>8.4898739 53.6113709</gml:pos>
                         </gml:LineString>
                     </sams:shape>
                 </sams:SF_SpatialSamplingFeature>
             </om:featureOfInterest>
             <om:result xsi:type="gml:MeasureType"
uom="test_unit_9_3">0.28</om:result>
         </om:OM_Observation>
     </sos:observation>
</sos:InsertObservation>

Best,
Carsten
_______________________________________________
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: describeSensor-Answer formatted as observationProcess (WaterML)

Scholten, Daniel
In reply to this post by Carsten Hollmann
Hi Carsten,

thanks, that resolved my problem!

Best wishes,
Daniel
__________________________________________________
Daniel Scholten

Niersverband
Stabsstelle Informations- und Modelltechnik (IMT)
Sachbereich Softwaretechnik
Am Niersverband 10
41747 Viersen

Tel.: +49 2162 3704 - 460 [(Sekretariat: - 101)]
Fax: +49 2162 3704 - 444
E-Mail: [hidden email]

Körperschaft des öffentlichen Rechts, Sitz: Viersen
Vorsitzender des Verbandsrates: Rolf A. Königs, Vorstand: Prof. Dr.-Ing. Dietmar Schitthelm
-----Ursprüngliche Nachricht-----
Von: SWE [mailto:[hidden email]] Im Auftrag von Carsten Hollmann
Gesendet: Mittwoch, 13. Dezember 2017 09:44
An: [hidden email]
Betreff: Re: [52N SWE] describeSensor-Answer formatted as observationProcess (WaterML)

Hi Daniel,

the proceduredescriptionformat should be:

  http://www.opengis.net/waterml/2.0/observationProcess

instead of

  http://www.opengis.net/waterML/2.0/observationProcess

The word "waterml" should be in lower case in the database and in the request.

Best,
Carsten
_______________________________________________
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
_______________________________________________
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