[gdal-dev] New Warnings from GTIFF output

Brian mulcahy.brianp at gmail.com
Thu Jan 23 10:26:01 PST 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200123/8edfd49c/attachment.html>


More information about the gdal-dev mailing list