[gdal-dev] gdaladdo bigtiff err but --config BIGTIFF was used

Matt.Wilkie at yukon.ca Matt.Wilkie at yukon.ca
Wed Jun 9 08:39:17 PDT 2021


I am getting tiff file size exceeded error but am using bigtiff creation options.

~~~
$ gdaladdo -r gauss ^
--config COMPRESS_OVERVIEW WEBP ^
--config PHOTOMETRIC_OVERVIEW YCBCR ^
--config INTERLEAVE_OVERVIEW PIXEL ^
--config QUALITY 87 ^
--config BIGTIFF YES ^
--config BIGTIFF_OVERVIEW YES ^
test.tif

0...10...20...ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded. Use BIGTIFF=YES creation option.
ERROR 1: An error occurred while writing a dirty block from GDALRasterBand::RasterIO
ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded. Use BIGTIFF=YES creation option.
ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded. Use BIGTIFF=YES creation option.
ERROR 1: WriteEncodedTile/Strip() failed.
30...40...50...60...70...80...90...100 - done.
~~~

~~~
2021-06-09  08:35 AM     4,294,967,034 test.tif
2021-03-16  09:14 AM        21,765,697 test.tif.msk
~~~

Gdalinfo report attached.

GDAL 3.1.4, released 2020/10/20, Win10.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210609/bce7b223/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.tif.info.txt
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210609/bce7b223/attachment.txt>


More information about the gdal-dev mailing list