Thanks for support, Steve. In the middle I tried also the expression: CLASS NAME "PROVA7" GROUP "group7" EXPRESSION /0_2_0_4_5|1_2_3_4_5/ STYLE SYMBOL "vertical-DF" SIZE 10 ....
It is working. Is it conceptually the same? Thanks. s On Mon, January 17, 2011 17:49, Lime, Steve D (DNR) wrote: > 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-boun...@lists.osgeo.org > [mapserver-users-boun...@lists.osgeo.org] On Behalf Of Simone Frigerio > [simone.frige...@univie.ac.at] > Sent: Monday, January 17, 2011 3:55 AM > To: mapserver-users@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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > > > > -- Simone Frigerio Department of Geography and Regional Research University of Vienna Universitaetsstr. 7 A-1010 Vienna AUSTRIA _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users