<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">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.&nbsp; Comparatively, if I run a map draw, the FILTER works correctly and draws the shapes that meet the criteria.&nbsp; Do I need to use mapscript to set the filter or something? Thanks
<DIV><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif">----- Original Message ----<BR>From: Steve Lime &lt;Steve.Lime@dnr.state.mn.us&gt;<BR>To: mapserver-users@lists.osgeo.org; jjschlafley@yahoo.com<BR>Sent: Wednesday, July 2, 2008 9:29:06 PM<BR>Subject: Re: [mapserver-users] Mapscript whichshapes attribute query<BR><BR>Which shapes applies the layer FILTER definition if it exists. That FILTER must be set prior to calling whichshapes.<BR><BR>Steve<BR><BR>&gt;&gt;&gt; "J.J. Schlafley" &lt;<A href="mailto:jjschlafley@yahoo.com" ymailto="mailto:jjschlafley@yahoo.com">jjschlafley@yahoo.com</A>&gt; 07/02/08 12:22 PM &gt;&gt;&gt;<BR>The mapscript documentation for the method (LayerObj) whichshapes claims you can quote: "Performs a spatial, and optionally an attribute based feature search."&nbsp; How and where is the attribute based search query included in this method? <BR>JJ<BR><BR><BR>&nbsp; &nbsp; &nbsp; <BR></DIV></DIV></div><br>

      </body></html>