On Thu, Jan 27, 2011 at 7:26 PM, Joel Carranza <[email protected]> wrote: > Hi all, > > I'm working with GeoServer (2.1-beta3) for the first time and attempting to > display a raster weather layer via WMS. The layer displays fine but I would > like to display the layer at reduced opacity, say 50%. I've created a new > style based on the default "raster" style and modified the opacity value > accordingly, then assigned the layer that default style. > > However, my raster does not appear translucent. The underlying raster layer > has fully transparent pixels which display correctly, but the opaque part of > my raster remains entirely opaque. I'm viewing the layer via WMS with a PNG > format, and I've observed that the PNG is an 8-bit PNG with RGB channels > only, no alpha channel, which is what would be required to display > correctly. Does geoserver support writing out PNGs with RGBA?
Ah, this is a regression in the direct raster path... you should be able to get it working, taking a toll in raster generation scalability and performance, by disabling the direct raster path by passing to the JVM the following system variable: -Dorg.geoserver.render.raster.direct.disable=true Don't remember if that flag was already available in RC1, but it's definitely there in any nightly build. Ah, also opened a jira to track this issue: http://jira.codehaus.org/browse/GEOS-4337 Cheers Andrea -- Ing. Andrea Aime Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584962313 fax: +39 0584962313 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf ----------------------------------------------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
