On lundi 19 décembre 2016 13:38:04 CET Even Rouault wrote: > Nikolai, > > > I’ve got an 8-bit 3-band (RGB) GeoTiff file created in ArcGIS and it has a > > mask file (myfile.tif.msk) along with it, indicating which pixels have > > "nodata" value. When viewing it in ArcMap, I get “nodata” for masked > > pixels. But when viewing in QGIS, I get an unmasked raster and masked > > pixels return pixel values of R G and B bands. Gdalinfo doesn’t return a > > .tif.msk file in a list of dataset files (however it does return > > .aux.xml)
Actually looking at the code and experimenting, that's super weird. The .msk file should always be listed in the file list, even if there are no INTERNAL_MASK_FLAGS_x metadata item. Does gdalinfo on the .msk file succeed ? -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
