[Chameleon] LocateByAttribute and FILTER parameter in Map file

Julien-Samuel Lacroix jlacroix at mapgears.com
Mon Jan 4 09:33:26 EST 2010


Hi,

The FILTER item of a layer is ignore by the queryByAttributes function. See:
http://mapserver.org/mapscript/php/index.html#layerobj-class

You should include your FILTER in the query or put it in your classes 
EXPRESSION.

Julien

Andreas Douvalis wrote:
> Please Help:
>  
>  
> 
> Who can I make LocateByAttribute widget taking into account "filter" 
> parameter of Map file?
> 
>  
> 
> For example when I use LocateByAttribute widget with layers that I have 
> made with FILTER and FILTERITEM parameters in Map file (so the source of 
> the data  is the same shapefile) then the results come from all data of 
> shapefile and filter is ignored.
> 
>  
> 
> The same problem I have when I use "class expression'. The results 
> include all data of shapefile.
> 
>  
> Any help?
> 
> 
> ------------------------------------------------------------------------
> Χρησιμοποιείτε Yahoo!
> Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την 
> καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
> http://login.yahoo.com/config/mail?.intl=gr
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list