Hi, I'm trying to wrap my head around how gdal handles nodata values. In an image with this gdalinfo exceprt:
Band 1 Block=512x512 Type=Byte, ColorInterp=Red NoData Value=0 Band 2 Block=512x512 Type=Byte, ColorInterp=Green NoData Value=0 Band 3 Block=512x512 Type=Byte, ColorInterp=Blue NoData Value=0 and using software based on gdal (e.g. qgis), it seems that a pixel is considered nodata if any of the three pixel bands are zero (even just one). I could swear I saw some gdal specific way to embed metadata saying "if all three bands are zero, then the pixel is nodata" (pull pixel as opposed band per band treatment), but I cannot find it anymore. Did I imagine it? If existing, do you have a feeling of how well supported that is in common software? Cheers Andrea -- == GeoServer Professional Services from the experts! Visit http://goo.gl/NWWaa2 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 gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev