[mapserver-users] Dynamic expressions in php mapscript 3.6
Dylan Rawlins
dylan at brc21.co.za
Tue Jul 16 13:24:05 PDT 2002
Hi,
I have just updated to 3.6.1 from 3.5 but can't get my dynamic
expressions to work. The expression is:
$Query = "('[DAY]' =~ /$weekday/ AND '[OFFENCE]' =~ /Burglary
Residential/ AND '[MONTH]' =~ /$month/ AND '[TIMECODE]' =~
/$time/)";
$class = $cLayer->getClass(0);
$class->setexpression($Query);
This worked fine in 3.5 but doesn't draw in 3.6.1 even though the
legend picks it up.
Any ideas on how to fix it or a better way of running multiple
attribute expressions?
Thanks
Dylan
http://www.mapserver.co.za
Innovative Geographic Information Systems
More information about the MapServer-users
mailing list