[OpenLayers-Users] RGBA PNG images an transparency?

Gregor at HostGIS gregor at hostgis.com
Tue Aug 24 21:42:42 EDT 2010


On 8/24/2010 6:23 PM, Stephen Woodbridge wrote:
> Does anyone know what the trick to getting this to work correctly?

What does your OUTPUTFORMAT block look like? We use this one (below) 
with transparency all the time. In particular, the TRANSPARENT had to be 
set to "on" for our case.

OUTPUTFORMAT
   NAME "png"
   MIMETYPE "image/png"
   DRIVER "AGG/PNG"
   EXTENSION "png"
   IMAGEMODE RGBA
   TRANSPARENT on
   FORMATOPTION "INTERLACE=OFF"
END

-- 
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
    Network+   Server+   A+   Security+   Linux+
    PHP   PostgreSQL   MySQL   DHTML/JavaScript/AJAX

"No one cares if you can back up — only if you can recover."



More information about the Users mailing list