AW: [mapserver-users] CLASS visualization with different attributevalue
Arnd Wippermann
arnd.wippermann at web.de
Mon Jan 17 09:19:48 PST 2011
And OR instead of AND I would suggest.
Arnd
-----Ursprüngliche Nachricht-----
Von: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von Lime, Steve
D (DNR)
Gesendet: Montag, 17. Januar 2011 17:49
An: Simone Frigerio; mapserver-users at lists.osgeo.org
Betreff: RE: [mapserver-users] CLASS visualization with different
attributevalue
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
_______________________________________________
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