[Mapserver-users] Expression parser error

Jan Hartmann jhart at frw.uva.nl
Thu Mar 27 08:28:24 PST 2003


Right! Thanks Daniel for pointing it out. It has to be without quotes 
and with matching parentheses:


EXPRESSION ([GEO] < 120)

Puneet's solution should work too:

(([GEO]) < 120),

Jan


Daniel Morissette wrote:
> 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.
> 




More information about the MapServer-users mailing list