The expression is invalid since 0_2_0_4_5 isn't quoted and isn't a number. Try:
EXPRESSION ("[Combis]" = "0_2_0_4_5" AND "[Combis]" = "1_2_3_4_5")
Steve
________________________________________
From: [email protected]
[[email protected]] On Behalf Of Simone Frigerio
[[email protected]]
Sent: Monday, January 17, 2011 3:55 AM
To: [email protected]
Subject: [mapserver-users] CLASS visualization with different attribute value
Hello,
I need to visualize a POLYGON with one class composed by different values
of the same attribute. This is the string I used, but no visualizations
occour.
LAYER
NAME "COMBI_DF_RF_SL"
TYPE POLYGON
..
CLASSITEM "Combis"
CLASS
NAME "PROVA2"
EXPRESSION ([Combis] = 0_2_0_4_5 AND [Combis] = 1_2_3_4_5)
STYLE
COLOR 251 25 11
...
END
END
END
The attribute "Combis" has thousands of recordsand different values. Could
be possible aggregate in a EXPRESSION string like i did with pixel value
for raster?
Thanks!
Simone
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users