[Mapserver-users] Expression parser error

Daniel Morissette morissette at dmsolutions.ca
Thu Mar 27 07:30:38 PST 2003


Jan Hartmann wrote:
> 
> You have to put the EXPRESSION between quotes, whenever it contains spaces.
> 
> EXPRESSION  "([GEO]) < 120)"
> 
> Generally it is safer to put everything after a keyword between quotes.
> 

Actually, using quotes is safer for everything except expressions. 
Unless I'm mistaken, putting an expression between quotes like this
results in a constant expression, so the logical expression would never
be evaluated.  The problem here is what Puneet reported in another
email: a missing parenthesis.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the MapServer-users mailing list