Uploaded image for project: 'GeoServer'
  1. GEOS-8677

Allow self joining GetFeature without aliases

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.13.1, 2.14-RC
    • Component/s: WFS
    • Labels:
      None

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              aaime Andrea Aime
              Reporter:
              aaime Andrea Aime
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: