[mapserver-users] legend
Stepan Kafka
stepan.kafka at centrum.cz
Thu Apr 4 23:49:50 PST 2002
Please, specify NAME for the classes you want to be shown in the legend.
Stepan Kafka
> -----Pùvodní zpráva-----
> Od: owner-mapserver-users at lists.gis.umn.edu
> [mailto:owner-mapserver-users at lists.gis.umn.edu]za uivatele Patricio
> Gigoux
> Odesláno: 4. dubna 2002 21:24
> Komu: mapserver-users at lists.gis.umn.edu
> Pøedmìt: [mapserver-users] legend
>
>
> I have the next in map file
>
> LEGEND
> KEYSIZE 18 12
> LABEL
> TYPE BITMAP
> SIZE MEDIUM
> COLOR 255 255 255
> END
> STATUS ON
> END
>
> and I define the next layers
> LAYER
> NAME pred
> TYPE POLYGON
> MAXSCALE 25000
> DATA pred
> STATUS On
> CLASSITEM 'cod'
> CLASS
> NAME "pred"
> OUTLINECOLOR 181 181 145
> END
> TOLERANCE 3
> END
>
> and
>
> LAYER
> NAME pr1
> TYPE POLYGON
> STATUS On
> DATA prc01
> CLASSITEM 'cl_zna'
> CLASS
> EXPRESSION "A"
> COLOR 79 6 97
> END
> CLASS
> EXPRESSION "A1"
> COLOR 79 6 97
> END
>
> the problem is when I draw legend apear only first layer
> What is my wrong?
>
> Thank in advance
> Patricio
>
>
More information about the MapServer-users
mailing list