Re: [Geoserver-users] Transparent background in ImagePyramid

2014-07-21 Thread DanielV
Oops, spoke too soon. The problem was identified, that is, since I'm using a custom rasterstyle, raster transparency is not respected. But I can't alter the sld in order for the transparency to work (at least I don't know how). I also tried setting 0 as nodata in every pyramid granule but it did no

Re: [Geoserver-users] Transparent background in ImagePyramid

2014-07-21 Thread DanielV
Hi Simone, Think I discovered the problem. I was using a custom style for the piramid and since I'm not an expert in setting those rasterstyle parameters, I probably forgot to put the alpha band on the SLD file. I've changed to the default raster style that comes with Geoserver and /voila/, no mor

Re: [Geoserver-users] Transparent background in ImagePyramid

2014-07-20 Thread Simone Giannecchini
Ciao Daniel, can you provide a sample dataset? Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://goo.gl/NWWaa2 for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa

Re: [Geoserver-users] Transparent background in ImagePyramid

2014-07-18 Thread DanielV
An update. Loading the WMS layer in QGis will also show the black background, even though it recognizes the alpha band with correct values (0 for areas that should be transparent and 255 for the rest) -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Transparent-background-in

Re: [Geoserver-users] Transparent background in ImagePyramid

2014-07-18 Thread DanielV
Hi Simone, Thanks for your attention. I'm using GeoServer 2.4.0 and right now I'm trying to use Background value=0 InputTransparentColor=00 But when I open the openlayer image preview in Geoserver, I still see the black border around the image. One thing I noticed is that by using the InputTr

Re: [Geoserver-users] Transparent background in ImagePyramid

2014-07-18 Thread Simone Giannecchini
Dear Daniele, the transparent trick can be done using either OutputTransparentColor or InputTransparentColor. As a start could you to paste here the output of gdalinfo on a typical element of your pyramid? I would also report the version of GeoServer as well as the combination you used for transp

[Geoserver-users] Transparent background in ImagePyramid

2014-07-18 Thread DanielV
I've a large imagepyramid that has an area of nodata (value 0) which is currently being shown as black. I'd like to set the background to transparent. I tried changing BackgroundValues; InputTransparentColor and OutputTransparentColor but nothing seemed to work. Is it possible to have transparent b