[mapserver-users] WFS MAXFEATURES error in mapserver?

Sture Dingsøyr candalt at online.no
Mon Jun 29 04:59:06 EDT 2009


Hi

Running some WFS services with Mapserver 5.4.0. 

Wat to restrict the number of returned features, and therefore added the wfs_maxfeatures metadata to ny layer definition e.g:
"wfs_maxfeatures"		"1"

But when i run the WFS service with a GetFeature request, the wfs_maxfeatures seems not to be used.

If i add the MAXFEATURES=1 in my request URL, the number of returned features is correct.

Have tested on both a ESRI SHAPE and PostGIS layer...

Is this a bug?


Cheers
Sture 


More information about the mapserver-users mailing list