getFilter() & setFilter() with PHP Mapscript

Andreas Albarello andreas.albarello at TERRITORIUMONLINE.COM
Thu Nov 16 16:09:39 EST 2006


Armin Burger wrote:
> So that's not working:
> 
>   $mylayer->setFilter("field_1 = 2 AND field_2 = 2004");
> 
> That's working:
> 
>   $mylayer->setFilter('"field_1 = 2 AND field_2 = 2004"');
> 
> I wonder if this is an intended 'feature'.

Armin,

this has been fixed in the meantime:

http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1948

Best regards,
-- 
--------------------------------------------------------------------
Andreas Albarello
Analysis & SW Development

Territorium Online srl/GmbH
Via Buozzi/Buozzistraße 12 - I 39100 Bolzano/Bozen
email: andreas.albarello at territoriumonline.com
web:   www.territoriumonline.com
--------------------------------------------------------------------



More information about the mapserver-users mailing list