[gdal-dev] not enough disk space for gdal_merge even though I have ~1TB free

Rahkonen Jukka jukka.rahkonen at maanmittauslaitos.fi
Wed Nov 9 23:25:15 PST 2022


Hi,

Maybe the images are far apart and the merged image would need to contain huge amounts of nodata for filling the gap. Please provide gdalinfo from bottom.tif and top.tif.

-Jukka Rahkonen-

Lähettäjä: gdal-dev <gdal-dev-bounces at lists.osgeo.org> Puolesta Terra Frost
Lähetetty: torstai 10. marraskuuta 2022 0.21
Vastaanottaja: gdal-dev at lists.osgeo.org
Aihe: [gdal-dev] not enough disk space for gdal_merge even though I have ~1TB free

When I do "gdal_merge -o result.tif bottom.tif top.tif" I get the following error:

ERROR 3: result.tif: Free disk space available is 1011663560704 bytes, whereas 61588097799713184 are at least necessary. You can disable this check by defining the CHECK_DISK_FREE_SPACE configuration option to FALSE.
Creation failed, terminating gdal_merge.

I don't understand. The two TIFs I'm trying to merge are 1.27GB and 64MB and it's saying 61588097799713184 bytes are needed? That's 61.58 PB. Why would gdal_merge think it'd need 61.58 PB?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20221110/0e1502be/attachment.htm>


More information about the gdal-dev mailing list