Transparent Pixmap Symbol
Randy How
rhow at I3.COM
Fri Aug 24 16:10:48 PDT 2007
Thanks for the response Steve,
I've tried all sorts of variations for PNG and GIF, and it hasn't been
successful.
Any other options for "logo water-marking" maps from MapServer? I was
excited about this approach, but I can't get a transparency for the fill.
Thanks again,
Randy
-----Original Message-----
From: Steve Lime [mailto:Steve.Lime at dnr.state.mn.us]
Sent: Friday, August 24, 2007 4:35 PM
To: rhow at I3.COM; MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] Transparent Pixmap Symbol
Randy: I'm thinking we have a documentation issue here. I'm not sure that
the TRANSPARENT option is even supported anymore. Typically MapServer
respects the transparency of the image itself, so you need to create a
transparent GIF for that to work. Give that a shot and I'll check the source
(and update the docs) to make sure.
Steve
>>> Randy How <rhow at I3.COM> 08/23/07 9:09 PM >>>
I'm attempting to set the background transparency for a symbol that I've
created, but with no success.
My symbol definition
SYMBOL
NAME "logo"
TYPE PIXMAP
IMAGE "h2o_logos/logo.GIF"
TRANSPARENT 0
END
According to the reference setting a color index in the GIF sets the
transparency (i.e. TRANSPARENT 0). Color index is 0 is black, and the
output map layer symbol is not transparent!
http://mapserver.gis.umn.edu/docs/reference/symbology/referencemanual-all-pa
ges
I've looked over this page and it only discusses PNG files. I can't get any
of my PNG file variations to work either.
http://mapserver.gis.umn.edu/docs/howto/cartosymbols
Any help would be greatly appreciated,
Randy
More information about the MapServer-users
mailing list