On Wed, Apr 13, 2011 at 3:55 AM, Justin Deoliveira <[email protected]> wrote: > Hi all, > As most know the next version of the wfs spec (2.0) brings paging into the > mix which just boils down to the parameters startIndex and count on a > GetFeature request. While it looks quite promising that wfs 2.0 will > becoming to geoserver in the next few weeks / months, we have a client > currently that requires paging functionality via WFS. So I have put together > a patch that implements paging for all wfs versions. > http://jira.codehaus.org/browse/GEOS-4485 > Feedback welcome.
Hi Justin, I did not review deeply, just had a quick walk over the patch sources, but it looks pretty much like what I was expecting (one tricky part that we might want to double check, maybe with some more tests, it's the wfs 1.0 feature counting). So I'm wondering about count/maxFeatures. Are they basically going to be aliases with the same meaning? So that one can do ...&startIndex=10&maxFeatures=5&... or ...&startIndex=10&count=5&... and the result will be the same? I'm also wondering about paging stability. The current setup will return incoherent results if someone deletes or updates a feature while we page. Not complaining, doing a full dump of the results just for the sake of paging in a stable way would be a massive overhead, just wondering if the problem had been considered. Also curious about sorting... I remember something like sorting by default on the feature id while paging, but my memories of it are foggy, we discussed this with Gabriel a loong time ago (when the paging machinery was added to GeoTools). Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 333 8128928 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ------------------------------------------------------- ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
