[mapserver-users] WFS in MapServer?

saka royban sakaroyban at yahoo.com
Wed May 8 08:01:32 PDT 2013


I was nearly going mad. I couldn't understand why mapserver (=MS4W) does not
understands MAXFEATURES parameter correctly.
No matter MAXFEATURES specified by client or in map file and no matter what
number specified for MAXFEATURES , mapserver always returns less features
than MAXFEATURES (in response to GetFeature request). 
If i use MAXFEATURES without any filter, mapserver acts correctly and
returned features exactly equals MAXFEATURES. But when i specify a filter,
the problem shows up. If i don't use MAXFEATURES parameter, mapserver
returns all records which satisfy the filter. If i use a MAXFEATURES in
client request (wheter it's a direct GET request or a request made by
OpenLayers), or if i use MAXFEATURES in Layer level, or if i use
wfs_MAXFEATURES in Web object (in Map level or Layer level), the returned
result by mapserver always is less than the number specified for MAXFEATURES
(I'm sure that more features satisfy the filter). There is no error in debug
file. I've also changed the data source (to another shapefile) but again no
help.
Then, i decided to test prevoius versions of MSW. I transfered my app from
MS4W 3.0.6 (mapserver 6.0.2) to MS4W 3.0.1 (mapserver 5.6.6) and IT WORKED.
It takes me a long time to understand that the problem goes back to windows
version of mapserver, not my configurations.
It sounds a bug for MS4W. I'm a novince and unaware of procedures for bug
submitting. So, someone professional inform those guys (maybe Jeff Mckenna)
at mapTools about it instead, please.

Best Regards




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WFS-in-MapServer-tp5050005p5052119.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list