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

thomas bonfort thomas.bonfort at gmail.com
Wed Jun 9 08:42:08 PDT 2021


Your initial test.tif file needs to be a bigtiff, i.e. have been
created with -co "BIGTIFF=YES". you can then drop the bigtiff config
arguments of your gdaladdo call.

--
thomas

On Wed, Jun 9, 2021 at 5:39 PM <Matt.Wilkie at yukon.ca> wrote:
>
> 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.
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list