[mapserver-users] CLASS visualization with different attribute value
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Mon Jan 17 08:49:12 PST 2011
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: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] On Behalf Of Simone Frigerio [simone.frigerio at univie.ac.at]
Sent: Monday, January 17, 2011 3:55 AM
To: mapserver-users at lists.osgeo.org
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
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list