Currently using the master and received these warnings when running
gdal_translate

"Warning 1: TIFFReadDirectory:Invalid data type for tag TileByteCounts
Warning 1: TIFFReadDirectory:Invalid data type for tag TileOffsets"

The exact command was
gdal_translate -stats raster_trans.tif raster_cog.tif -co TILED=YES -co
BLOCKXSIZE=256 -co BLOCKYSIZE=256 -co NUM_THREADS=ALL_CPUS -co
BIGTIFF=IF_SAFER -co COMPRESS=DEFLATE -co COPY_SRC_OVERVIEWS=YES --config
GDAL_TIFF_OVR_BLOCKSIZE 256

Is there anyway to suppress warnings and only return errors?
These warnings did not show up in 2.4.0 and 3.1.0 (is that equal to 3.0.1)?
I can try to send the raw data used if needed.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to