[Geoserver-devel] [JIRA] (GEOS-8677) Allow self joining GetFeature without aliases

Andrea Aime created an issue

GeoServer / ImprovementGEOS-8677

Allow self joining GetFeature without aliases

Issue Type:

ImprovementImprovement

Assignee:

Unassigned

Components:

WFS

Created:

06/Apr/18 7:57 PM

Priority:

MediumMedium

Reporter:

Andrea Aime

The CITE tests are issuing a self joining request without using aliases, as follows:

XML Input:

<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs/2.0" count="10" service="WFS" startIndex="0" version="2.0.0"> <wfs:Query xmlns:ns99="http://cite.opengeospatial.org/gmlsf" typeNames="ns99:PrimitiveGeoFeature ns99:PrimitiveGeoFeature"> <Filter xmlns="http://www.opengis.net/fes/2.0"> <Intersects> <ValueReference>ns99:PrimitiveGeoFeature/ns99:surfaceProperty</ValueReference> <ValueReference>ns99:PrimitiveGeoFeature/ns99:curveProperty</ValueReference> </Intersects> </Filter> </wfs:Query> </wfs:GetFeature>
Output: select all tree view raw view
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs/2.0" count="10" service="WFS" startIndex="0" version="2.0.0">
    <wfs:Query xmlns:ns99="http://cite.opengeospatial.org/gmlsf" typeNames="ns99:PrimitiveGeoFeature ns99:PrimitiveGeoFeature">
        <Filter xmlns="http://www.opengis.net/fes/2.0">
            <Intersects>
                <ValueReference>
                    ns99:PrimitiveGeoFeature/ns99:surfaceProperty
                </ValueReference>
                <ValueReference>
                    ns99:PrimitiveGeoFeature/ns99:curveProperty
                </ValueReference>
            </Intersects>
        </Filter>
    </wfs:Query>
</wfs:GetFeature>

Discussion on whether this is valid or not has stalled, so I’m making GeoServer understand the above regardless…

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100082-sha1:6ec6ea5)

Atlassian logo