GeoServer
  1. GeoServer
  2. GEOS-4245

Response to WFS query on a sql view returns zero for the number of features

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1-beta1
    • Fix Version/s: None
    • Component/s: PostGIS, WFS
    • Labels:
      None
    • Environment:
      Linux/Tomcat 6
    • Number of attachments :
      0

      Description

      The response to a WFS query on a sql view returns zero for the number of features

      /geoserver/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=myns:test_sql_view&maxFeatures=50&outputFormat=GML2

      returns

      <wfs:FeatureCollection numberOfFeatures="0" ...>
      <gml:featureMembers>
      <gml:boundedBy/>
      <myns:test_sql_view gml:id="test_sql_view.fid-7b81134_12ca359e616_db5"/>
      <myns:test_sql_view gml:id="test_sql_view.fid-7b81134_12ca359e616_db6"/>
      ..
      <gml:featureMembers>
      </wfs:FeatureCollection>

        Activity

        Hide
        Charles Galpin added a comment -

        Sorry that was GML3

        Show
        Charles Galpin added a comment - Sorry that was GML3

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Charles Galpin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: