[mapserver-users] Mapscript whichshapes attribute query

J.J. Schlafley jjschlafley at yahoo.com
Thu Jul 3 09:50:14 EDT 2008


If I have a FILTER and FILTERITEM set in my map file for a layer....when I call a whichshapes on that layer I get zero shapes.  Comparatively, if I run a map draw, the FILTER works correctly and draws the shapes that meet the criteria.  Do I need to use mapscript to set the filter or something? Thanks



----- Original Message ----
From: Steve Lime <Steve.Lime at dnr.state.mn.us>
To: mapserver-users at lists.osgeo.org; jjschlafley at yahoo.com
Sent: Wednesday, July 2, 2008 9:29:06 PM
Subject: Re: [mapserver-users] Mapscript whichshapes attribute query

Which shapes applies the layer FILTER definition if it exists. That FILTER must be set prior to calling whichshapes.

Steve

>>> "J.J. Schlafley" <jjschlafley at yahoo.com> 07/02/08 12:22 PM >>>
The mapscript documentation for the method (LayerObj) whichshapes claims you can quote: "Performs a spatial, and optionally an attribute based feature search."  How and where is the attribute based search query included in this method? 
JJ


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080703/e6c0f304/attachment.html


More information about the mapserver-users mailing list