[mapserver-users] mapscript question
Murty Maganti
MMaganti at oriongis.com
Fri Mar 6 12:11:58 PST 2009
Hi
What is the best way to retrieve all records of a layer. Some options I
see is
1. calling queryByRect(mapObj.extents) - But this will not get all
records if map extents are smaller than layer extents
2. layer.whichShapes() - But this will apply filter set on the
layer. I want to get all records.
3. call queryByAttribute() and pass some expression that will
select everything
Or, is there any more straight forward API to get all records.
Thanks
Murty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090306/2e1f8d30/attachment.htm>
More information about the MapServer-users
mailing list