[mapserver-users] Auto- classify by attribute value
Andy Colson
andy at squeakycode.net
Thu Nov 18 09:16:42 PST 2010
On 11/18/2010 10:10 AM, Simone Frigerio wrote:
> Hi,
> I have a vector shp with almost 8000 records.
> Example of table:
> Column1 - Column2 - Column3 - Combi -
> 0 0 0 0_0_0
> 1 0 0 1_0_1
> 0 0 1 0_1_0
> ....
>
> There are 260 combination in attribute value Combi. If I fix a CLASS for
> one like:
> ...
> CLASS
> EXPRESSION "0_0_0"
> STYLE
> COLOR 25 255 255
> OUTLINECOLOR 0 0 0
> END
> END
> ....
>
> can I generate an automatic classification for all the 259 other classes?
> Thanks.
>
> Simone
> --
>
Yes. With a little perl. I do the same thing with my land survey layers.
-Andy
More information about the MapServer-users
mailing list