On Sun, Feb 10, 2013 at 8:54 PM, Paul Meems <[email protected]> wrote:
> Thanks Andrea, > > I didn't understand that the first time. > So there is no way to have the raster on top of another layer without > getting white areas? > In that case I will upload the smaller tiff file ;) > I've tried just to see what happens, GeoServer ends up thinking the mask is an overview and displays it when zoomed out, showing the actual data when zoomed in. It should be possible to modify the TIFF reader to handle the transparency mask accordingly, but it's going to take some work. Another option could have been to set the "input transparent color" in the raster configuration to white, but unfortunately the jpeg compression alters pixels and you'll get many almost white pixels in the jpeg file that won't be masked this way. The image mosaic code also has the ability to support "footprint" files in wkb format (so, as vector masks), but that's an undocumented functionality, one that I don't know if it's user accessible, or must be setup programmatically (the only times I've seen it used, the footprints were programmatically loaded into the mosaic API). Long story short, I don't believe there is an easy way to get what you want, without making some changes to the way GeoServer reads TIFF files. Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it -------------------------------------------------------
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
