Depending on version there are a couple of ways to do this.

  - set MAXFEATURES in the mapfile
  - use the limit attribute when presenting results using new-style templates 
(e.g [feature limit="10]) tag

Neither of these can be controlled by the client. WFS allows this though.

Steve

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Mark Volz
Sent: Thursday, August 08, 2013 11:16 AM
To: [email protected]
Subject: [mapserver-users] limits on ITEMNQUERY

Hello,

I would like to limit the number of results that are returned with a query.  
When I added  LIMIT=10 on an ITEMNQUERY request mapserver still returned many 
results back.  

Questions:

1) Is LIMIT is the correct keyword to limit the number of results from 
ITEMNQUERY?
2) Can LIMIT be part of the request from a user, or does the limit need to bet 
set in the mapfile?

Thank You

Mark Volz, GISP
GIS Specialist

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to