Does the current SDE driver in MapServer support logical and regular expressio

Hong ljfong at SDF.LONESTAR.ORG
Mon Jan 29 13:35:45 EST 2007


Thanks Andreas, it works now!

On Sat, Jan 27, 2007 at 09:44:55AM +0100, Andreas Albarello wrote:
> Hong wrote:
> >Then I guess I had the expression wrong then, here was the layer I had been
> >trying to display with multiple classifications:
> >
> >LAYER # 9
> >    NAME "Census Groups"[...]
> 
> [...]
> 
> >    CLASSITEM "POP2000"
> >    CLASS
> >        EXPRESSION "[POP2000] >= 0 AND [POP2000] <= 400"
> >        STYLE
> >            COLOR 112 247 38
> >        END
> >    END
> 
> [...]
> 
> Hong,
> 
> your expressions are syntactically correct, you only need to wrap them 
> in brackets instead of quotes, so they are actually considered as 
> expressions and not as strings.
> 
> EXPRESSION ([POP2000] >= 0 AND [POP2000] <= 400)
> 
> should therefore just work fine.
> 
> Best regards,
> -- 
> --------------------------------------------------------------------
> Andreas Albarello
> Analysis & SW Development
> 
> Territorium Online srl/GmbH
> Via Buozzi/Buozzistra?e 12 - I 39100 Bolzano/Bozen
> email: andreas.albarello at territoriumonline.com
> web:   www.territoriumonline.com
> --------------------------------------------------------------------



More information about the mapserver-users mailing list