[mapserver-users] limits on ITEMNQUERY

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Thu Aug 8 09:32:49 PDT 2013


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: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Mark Volz
Sent: Thursday, August 08, 2013 11:16 AM
To: mapserver-users at lists.osgeo.org
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
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list