[Geoserver-devel] [jira] Created: (GEOS-3807) The maxFeature parameter doesn't work properly with denormalized views

The maxFeature parameter doesn't work properly with denormalized views
----------------------------------------------------------------------

                 Key: GEOS-3807
                 URL: http://jira.codehaus.org/browse/GEOS-3807
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
         Environment: GeoServer 2.1 trunk
            Reporter: Pavel Golodoniuc
            Assignee: Andrea Aime

I have the following denormalized view, which should be served as a complex feature in GeoServer.

||GML_ID||GML_NAME||GML_NAME_CODESPACE||COMMODITYNAME||
|er.commodity.S0000001.121|urn:cgi:feature:GSWA:Commodity:S0000001:121|http://www.ietf.org/rfc/rfc2141 |urn:cgi:classifier:GA:commodity:Au|
|er.commodity.S0000001.121|Gold (Au) |http://services.auscope.org/gswa-earthresource|urn:cgi:classifier:GA:commodity:Au|
|er.commodity.S0000002.121|urn:cgi:feature:GSWA:Commodity:S0000002:121|http://www.ietf.org/rfc/rfc2141 |urn:cgi:classifier:GA:commodity:Au|
|er.commodity.S0000002.121|Gold (Au) |http://services.auscope.org/gswa-earthresource|urn:cgi:classifier:GA:commodity:Au|
|er.commodity.S0000005.121|urn:cgi:feature:GSWA:Commodity:S0000005:121|http://www.ietf.org/rfc/rfc2141 |urn:cgi:classifier:GA:commodity:Au|
|er.commodity.S0000005.121|Gold (Au) |http://services.auscope.org/gswa-earthresource|urn:cgi:classifier:GA:commodity:Au|

In the configuration file GML_NAME attribute is marked as isMultiple.

The problem is that when querying for 50 features (http://localhost:9090/geoserver/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=er:Commodity&maxFeatures=50) it returns the first 50 records, not features. In this configuration each feature is represented by 2 records as shown above.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira