[mapserver-users] CLASS visualization with different attribute value

Simone Frigerio simone.frigerio at univie.ac.at
Mon Jan 17 04:55:56 EST 2011


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



More information about the mapserver-users mailing list