adding a translucent layer

Flavio Hendry flavio at TYDAC.CH
Tue Feb 13 05:45:40 EST 2007


hi mike

see below after TEMPLATE (anywhere in the LAYER section). for help on
mapfiles see http://umn.mapserver.ch.

ciao
flavio

> LAYER
> NAME Districts
> TYPE POLYGON
> STATUS ON
> CONNECTIONTYPE OGR
> CONNECTION "C:\MapBase\Districts.TAB"
> TEMPLATE "ffff"

TRANSPARENCY 50

> #STYLEITEM "AUTO"
> CLASSITEM "HydrantCount"
> CLASS
>       NAME "1to3"
>       EXPRESSION /[1-3]/
>       COLOR 255 0 0
>       OUTLINECOLOR 255 0 0
>       BACKGROUNDCOLOR 255 0 0
> END
> CLASS
>       NAME "4to6"
>       EXPRESSION /[4-6]/
>       COLOR 0 255 0
>       OUTLINECOLOR 0 255 0
>       BACKGROUNDCOLOR 0 255 0
> END
> CLASS
>       NAME "7to9"
>       EXPRESSION /[7-9]/
>       COLOR  0 0 255
>       OUTLINECOLOR  0 0 255
>       BACKGROUNDCOLOR 0 0 255
> END
> END # Layer
> -- 
> View this message in context:
> http://www.nabble.com/adding-a-translucent-layer-tf3219869.html#a8942
> 069
> Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list