[Gdal-dev] Merging really large images to one huge

Morten Nielsen mn at blominfo.dk
Fri Sep 2 06:03:09 EDT 2005


Hi there

 

I'm trying to merge some large tiles (~5gb) to one big image (~30gb)
using gdal_merge.py, before I can compile it to ECW.

Here is what happens, when only merging just two of the tiles:

 

D:\>python "c:\Program Files\FWTools0.9.9\bin\gdal_merge.py" -o 6220.tif
6220_1.tif 6220_2.tif

Traceback (most recent call last):

  File "c:\Program Files\FWTools0.9.9\bin\gdal_merge.py", line 468, in ?

    fi.copy_into( t_fh, band, band, nodata )

  File "c:\Program Files\FWTools0.9.9\bin\gdal_merge.py", line 285, in
copy_into

    nodata_arg )

  File "c:\Program Files\FWTools0.9.9\bin\gdal_merge.py", line 118, in
raster_copy

    t_xsize, t_ysize, t_band.DataType )

  File "C:\PROGRA~1\FWTOOL~1.9\pymod\gdal.py", line 845, in ReadRaster

    buf_xsize, buf_ysize,buf_type)

MemoryError

 

The tiles are spatially adjacent.

 

Any ideas are appreciated.

 

Best regards

/Morten Nielsen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20050902/fabfebab/attachment.html


More information about the Gdal-dev mailing list