[mapserver-users] Re: Logical expression
Daniel Morissette
morissette at dmsolutions.ca
Tue Dec 4 04:09:07 PST 2001
Silvia Berti wrote:
>
> I use mapserver 3.4 and i try to use a logical expressions of class obiect.
> This is my map file's fragment:
>
...
> class
> color 0 255 255
> expression "([Code] > 1)"
> name "Rivers"
> end
Try removing the double quotes around the expression. The way your
expression is setup now (enclosed in double quotes), MapServer thinks
that it is a constant value. The following should work:
expression ([Code] > 1)
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
Don't put for tomorrow what you can do today, because if
you enjoy it today you can do it again tomorrow.
More information about the MapServer-users
mailing list