opengeospatial / geoedge-plugfest

Repository for Geospatial to the Edge Interoperability Plugfest
http://www.github.com/opengeospatial/geoedge-plugfest
0 stars 2 forks source link

Cannot retrieve built up areas, building points and administrative subdivision areas from WFS Neptune source #5

Closed robinhoutmeyers closed 6 years ago

robinhoutmeyers commented 6 years ago

Client G was not able to perform the following queries:

Scenario to reproduce:

Open the following GetFeature query for the built_up_area_p feature type in the browser:

http://cloudsdi.geo-solutions.it/geoserver/geoedge/ows?service=wfs&version=2.0.0&request=GetFeature&TYPENAMES=geoedge:built_up_area_p

This generates the following service exception report:

java.lang.RuntimeException: Failed to get property: {http://www.opengis.net/wfs/2.0}boundedBy Failed to get property: {http://www.opengis.net/wfs/2.0}boundedBy The specified reader cannot be sorted, either the sorting properties are not comparable or the attributes are not serializable The same holds for the geoedge:building_p and geoedge:administrative_subdivision_s feature types.
nmco commented 6 years ago

I just give it a try to request:

http://cloudsdi.geo-solutions.it/geoserver/geoedge/ows?service=wfs&version=2.0.0&request=GetFeature&TYPENAMES=geoedge:built_up_area_p

... and I get a GML output:

<?xml version="1.0" encoding="UTF-8"?>
<wfs:FeatureCollection
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:wfs="http://www.opengis.net/wfs/2.0"
    xmlns:gml="http://www.opengis.net/gml/3.2"
    xmlns:geoedge="http://www.opengeospatial.org/projects/initiatives/geoedgeplugfest"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" numberMatched="2480" numberReturned="2480" timeStamp="2018-07-13T17:27:14.109Z" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd http://www.opengeospatial.org/projects/initiatives/geoedgeplugfest http://cloudsdi.geo-solutions.it:80/geoserver/geoedge/wfs?service=WFS&amp;version=2.0.0&amp;request=DescribeFeatureType&amp;typeName=geoedge%3Abuilt_up_area_p http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd">
    <wfs:boundedBy>
        <gml:Envelope>
            <gml:lowerCorner>17.938 -67.2635</gml:lowerCorner>
            <gml:upperCorner>18.5063 -65.3004</gml:upperCorner>
        </gml:Envelope>
    </wfs:boundedBy>
    <wfs:member>
        <geoedge:built_up_area_p gml:id="built_up_area_p.1">
            <gml:description>description-1</gml:description>
            <gml:identifier codeSpace="http://www.opengeospatial.org/projects/initiatives/geoedgeplugfest">built_up_area_p.1</gml:identifier>
            <gml:name>name-1</gml:name>
            <gml:boundedBy>
                <gml:Envelope srsName="urn:ogc:def:crs:EPSG::4326">
                    <gml:lowerCorner>18.3733 -65.7232</gml:lowerCorner>
                    <gml:upperCorner>18.3733 -65.7232</gml:upperCorner>
                </gml:Envelope>
            </gml:boundedBy>
            <geoedge:aoo>-999999.0</geoedge:aoo>
            <geoedge:ara>-999999.0</geoedge:ara>
            <geoedge:bac>-999999</geoedge:bac>
            <geoedge:ben>noInformation</geoedge:ben>
            <geoedge:bnf>-999999</geoedge:bnf>
            <geoedge:caa>-999999</geoedge:caa>
            <geoedge:cncp>noInformation</geoedge:cncp>
            <geoedge:cos>-999999</geoedge:cos>
            <geoedge:dne>-999999</geoedge:dne>
            <geoedge:f_code>AL020</geoedge:f_code>
            <geoedge:ffn>-999999</geoedge:ffn>
            <geoedge:ffn2>-999999</geoedge:ffn2>
            <geoedge:ffn3>-999999</geoedge:ffn3>
            <geoedge:fufi>1992395</geoedge:fufi>
            <geoedge:furl>noInformation</geoedge:furl>
            <geoedge:gdbv>7</geoedge:gdbv>
            <geoedge:hgt>51.0</geoedge:hgt>
(...)

Could you give it another try ?

robinhoutmeyers commented 6 years ago

Yes, it now works as expected! Thanks!