[mapserver-users] WMS on top of Google maps API
Hans Wapenaar (GIS Innovations)
hans.wapenaar at gis-innovations.nl
Thu Mar 10 10:32:26 PST 2011
Hi Michal,
To get a map transparent I use TRANSPARENT ON in MAP or OUTPUT section and
TRANSPARANT XX in the LAYERS section.
Probably you won't need IMAGECOLOR anymore.
May be it helps,
Hans Wapenaar
MAP
NAME "XXXX"
STATUS ON
IMAGETYPE PNG
UNITS METERS
TRANSPARENT ON
....
OUTPUTFORMAT
NAME "png"
MIMETYPE "image/png"
DRIVER AGG/PNG
IMAGEMODE RGBA
EXTENSION "png"
TRANSPARENT ON
END
LAYER
...
STATUS ON
TRANSPARENCY 30
TYPE POLYGON
...
END
Van: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] Namens Michal Drozdz
Verzonden: donderdag 10 maart 2011 18:20
Aan: mapserver-users
Onderwerp: [mapserver-users] WMS on top of Google maps API
Hallo list!
I have a problem with mapserver WMS and google maps API
http://www.examples.geostrona.pl/WMS_on_top_of_google/
When I am adding WMS layer everything outside national park become white (is
is an IMAGECOLOR in mapfile value). How to set transparency for it? I want
to have only national park geometry displayed...
here is a copy of mapfile:
http://www.examples.geostrona.pl/WMS_on_top_of_google/np.map
Thanks for help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110310/94d3f440/attachment.htm>
More information about the MapServer-users
mailing list