Hi list,

It's great to see the WFS 2.0 paging/sorting implemented for WFS 1.0/1.1 in GeoServer!

I've had a play with it and it works great. I did find a couple of problems though:

1) When *not* specifying the "service=WFS" KVP in the GET request (/geoserver/wfs?...), I get the following error:

   java.lang.ClassCastException: java.lang.Integer cannot be cast to
   java.math.BigInteger
   java.lang.Integer cannot be cast to java.math.BigInteger

Whether or not "service=WFS" should be included in /geoserver/wfs might be a separate discussion. Fact is that the error is confusing.

2) I've had trouble getting the sorting/paging to work with XML POST requests. It looks like sortBy gets ignored:

   <wfs:GetFeature service="WFS" version="1.0.0" maxFeatures="100"
   startIndex="0" sortBy="topp:STATE_NAME" ...

jgarnett on IRC seemed to think that the schema might not have been modified when backporting this functionality to WFS 1.x.
Is this a bug or a feature and should KVP always be used?
POSTing KVPs works fine btw, so this is a possible workaround.

Thanks, Roald

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to