[mapserver-users] layer transparent
Martin, Daniel
DMartin at erac.com
Fri Nov 8 13:27:27 PST 2002
There are two ways to go about that, AFAIK. They are quite different, but
it depends on what effect you are trying to achieve.
One is to use a PIXMAP symbol with a setting for TRANSPARENT:
SYMBOL
NAME 'dither-black-25_percent'
TYPE PIXMAP
IMAGE dither-black-25_Percent.gif
TRANSPARENT 1
END
In that case, the color in the palette index 1 would be transparent.
Newer versions of MapServer (not sure, I think 3.6+) support a setting in
the layer object:
LAYER
NAME "MY LAYER"
TRANSPARENCY 30
This sets the layer at 30% of full.
Hope that helps,
Dan
> -----Original Message-----
> From: Ivan Paoluzzi [mailto:tesimap at hotmail.com]
> Sent: Friday, November 08, 2002 12:39 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [mapserver-users] layer transparent
>
>
> Hi all,
> I have a layer of polygons:
>
> LAYER
> NAME circ_tutte
> DATA circ_tutte
> TYPE POLYGON
> STATUS ON
> CLASS
> COLOR 255 255 208
> OUTLINECOLOR 255 0 0
> END
> END
>
> Is it possible to render your COLOR transparent?
>
> Regards
> Ivan
>
> _________________________________________________________________
> Comunica le tue emozioni in tempo reale con MSN Messenger!
> http://messenger.msn.it
>
More information about the MapServer-users
mailing list