[Mapserver-users] Logical expressions in CLASS EXPRESSION

Tyler Mitchell tylermitchell at shaw.ca
Mon Jul 26 09:30:35 EDT 2004


>  CLASSITEM   "Riq50"
>  CLASS
>     EXPRESSION   ([Riq50]>1)
>     COLOR         255 0 0
>     OUTLINECOLOR  0 0 0
>  END
>
> This expression works:  EXPRESSION   '1'
> This one doesn't:           EXPRESSION   ([Riq50]>1)

I feel your pain, not a simple one to nail down some times.  Try changing your 
field names to upper case in CLASSITEM and EXPRESSION.

Tyler



More information about the mapserver-users mailing list