Hi,

Maybe your rasters are far apart. Gdal_merge creates a raster with so large 
extent that all the source images fit within it. Even empty pixels take space.

-Jukka Rahkonen-


Lähettäjä: gdal-dev <[email protected]> Puolesta Clive Swan
Lähetetty: maanantai 5. joulukuuta 2022 12.24
Vastaanottaja: [email protected]
Aihe: [gdal-dev] gdal_merge

Hi Even,

Thanks
the –configuration sorted out that issue.
CPL_VSIL_USE_TEMP_FILE_FOR_RANDOM_WRITE is a configuration option /
environment variable, so you have to pass it with --config
CPL_VSIL_USE_TEMP_FILE_FOR_RANDOM_WRITE YES


Now I am getting a memory issue?? << The input files are 6.9 GB + 672 MB
The output should be 7.xx GB


6.9 GB + 672MB

numpy.core._exceptions._ArrayMemoryError: Unable to allocate 377. GiB for an 
array with shape (225000, 450000) and data type float32

Any suggestions appreciated
Kind regards,
Clive


--

 Regards,



Clive Swan

--
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to