Hi Folks, with gdal 2.4.0 I get errors doing the following:
gdal_translate \ -co COMPRESS=PACKBITS \ -co NBITS=1 \ -co PHOTOMETRIC=MINISWHITE \ -co PROFILE=GeoTIFF \ -a_srs epsg:25832 \ src.tif \ dst.tif<CR> Input file size is 4000, 4000 ERROR 6: dst.tif, band 1: SetOffset() not supported on this raster band. ERROR 6: dst.tif, band 1: SetScale() not supported on this raster band. ERROR 6: dst.tif, band 1: SetUnitType() not supported on this raster band. 0...10...20...30...40...50...60...70...80...90...100 - done. src.tif is also GeoTIFF with NBITS=1, COMPRESS=PACKBITS etc. but dst.tif seems to be the problem. A search showed me that I can prevent the errors by setting: export GDAL_PAM_ENABLED=YES Is this intended? At least with version 2.1.1 there were no errors without this setting. Thanks in advance Uwe _______________________________________________ gdal-dev mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/gdal-dev
