MapFile TRANSPARENCY parameter and WMS GetMap TRANSPARENT argument

Jeff de La Beaujardiere jeff2005 at SVS.GSFC.NASA.GOV
Fri Sep 9 09:35:00 EDT 2005


The Layer object in a mapfile can have a TRANSPARENCY value to control
overall opacity without having to modify the alpha channel in the source
image (GeoTIFF raster in my case). This is very helpful.

Am I correct that there is no way to tie this to the WMS GetMap argument
TRANSPARENT={TRUE|FALSE} such that a user request for TRUE (the default)
would use the opacity percentage specified by TRANSPARENCY whereas a
request for FALSE would act as if 100% opacity had been specified or
simply ignore the TRANSPARENCY value in the mapfile?

-Jeff DLB



More information about the mapserver-users mailing list