Hello Carsten,

The classitem is a must be, but in the expression you could query on other
attributes

    CLASSITEM 'PRJNR'

    CLASS
      NAME 'EG GEP'
      EXPRESSION ('[TYP]' = '%GEP%')
      OUTLINECOLOR 0 0 0
      COLOR 255 127 0
    END

    CLASS
      NAME 'EG KNA'
      EXPRESSION ('[TYP]' = '%KNA%')
      OUTLINECOLOR 0 0 0
      COLOR 152 78 163
    END

...
 
This works for me.

Mit freundlichen Grüssen

Arnd Wippermann
http://gis.ibbeck.de/pinguinale/

-----Ursprüngliche Nachricht-----
Von: UMN MapServer Users List [mailto:[EMAIL PROTECTED] Im
Auftrag von Carsten Dewey
Gesendet: Mittwoch, 13. September 2006 09:03
An: [email protected]
Betreff: [UMN_MAPSERVER-USERS] CLASSITEM and logical EXPRESSION based on
more attributes?

Dear list,

I would like to define a CLASS using a logical expression based on different
attributes inside EXPRESSION:

EXPRESSION ("[AR_Auto]"="N" and "[AR_Pedestrians]"="Y" and
"[AR_Trucks]"="N")

What about the CLASSITEM in this case? 
Define the LAYER just without?

Thank you & kind regards
carsten

Reply via email to