gdal_fillnodata.py sometimes fails due to use of small-tiff for mask
|Reported by:||warmerdam||Owned by:||warmerdam|
I'm facing a problem related to BigTiff? support in experimental FWTools3 on Linux. BigTiff? support works fine with all compiled programs (e.g. gdal_translate, gdalwarp) but not with the python script gdal_fillnodata.py. For instance, executing:
gdal_fillnodata.py -md 10 unfilled.tif filled.tif
is terminated by the message:
ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded ERROR 1: An error occured while writing a dirty block ERROR 1: TIFFAppendToStrip:Maximum TIFF file size exceeded ...
I have tested with versions 3.0.2 and 3.0.6 under 32 and 64 bit Ubuntus.
Any hint what is going wrong?
It turns out the problem is that the temporary file created by the GDALFillNodata() function is created with LZW compression but not forced to BIGTIFF and it is overflowing the small tiff file.