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

WFS 2 GetFeatureById stored query returns feature inside a FeatureCollection

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 2.4.2, 2.9.0
    • Fix Version/s: 2.13-beta
    • Component/s: None
    • Labels:
      None

      Description

      If I send the query:

      http://localhost:8080/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&storedquery_id=urn:ogc:def:query:OGC-WFS::GetFeatureById&id=archsites.1& - http://localhost:8080/geoserver/ows?service=wfs&version=2.0.0&request=GetFeature&storedquery_id=urn:ogc:def:query:OGC-WFS::GetFeatureById&id=archsites.1&

      to a freshly installed GeoServer with the default shipped demo data sets the response is wrapped in a wfs:FeatureCollection.

      Para 11.3.5 of the WFS 2.0.0 standard says that for the GetFeatureById stored query:

      "The response shall only contain the feature XML without any of the normal containing elements generated as a result of executing a GetFeature operation..."

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              harrison.grundy codehaus (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Stride room