[Mapserver-users] solved: Logical expressions in CLASS EXPRESSION

Sean Gillies sgillies at frii.com
Tue Jul 27 14:23:30 EDT 2004


On Jul 27, 2004, at 6:05 AM, Stefanie Weykam wrote:

> Big surprise!
> I stripped everything down to the very essential, even the comments 
> behind
> the EXPRESSION (where I kept all the expressions that I had tried so 
> far) -
> and there it was!
>
> Remember:
>   EXPRESSION ([Riq50] <=1) didn't show while    EXPRESSION  '1' did
>
> Problem identified:
> Any #comment which contains brackets and parenthesis makes the 
> expression
> fail (is apparently not understood as comment) unless the expression 
> itself
> does not contain any brackets and parenthesis.
> For example:
>   EXPRESSION  ([Riq50] >1)    # ([Riq50] >1)    - fails
> and
>  EXPRESSION  ([Riq50] >1)    # ('[Utm50km]' = 'VH4')    - fails
> while
>   EXPRESSION  '1'  # ([Riq50] >1)    - is OK
> and
>  EXPRESSION  ([Riq50] >1)    - is OK
>
> In the first two cases there are parenthesis and brackets, both in the
> expression and in the comment.
> So, this is it. Funny thing.
>
> cheers,
> Stefanie
>

Please report this in the mapserver issue tracker, it's the only 
reliable
way to get attention of developers and get it fixed.

    http://mapserver.gis.umn.edu/bugs/enter_bug.cgi

cheers,
Sean

--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies




More information about the mapserver-users mailing list