On Tue, Feb 1, 2011 at 5:28 PM, Alan Mangan <[email protected]> wrote: > hi, > > > > I'm having problems getting maxFeatures to work. I'm running Geoserver 2.0.2 > under Tomcat 6.0.29 on 64 bit CentOS 5.5 (Final), java 1.6.0_22 (build > 1.6.0_22-b04, Java HotSpot 64-Bit Server VM (build 17.1-b03, mixed mode)). I > have a point layer defined with about 75 data points. If I try to limit the > number of points using maxFeatures I still get all of the data points, and > not the number defined by maxFeatures (in my case 10). I haven't found any > references looking online other than already fixed bugs. Can anyone shed > some light on what might be going on please? >
Sure seems to work here: http://demo.opengeo.org/geoserver/wfs?service=wfs&version=1.0.0&request=GetFeature&typeName=topp:states&maxFeatures=2 Try out a nightly build: http://gridlock.opengeo.org/geoserver/2.0.x/ If that does not work either it may be due to the specific data source: where is the data coming from? Cheers Andrea -- Ing. Andrea Aime Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
