[FWTools] Gdal_merge on large (50Gb) file
Shaun Kolomeitz
shaun.kolomeitz at epa.qld.gov.au
Sun Apr 9 21:07:17 EDT 2006
Dear FWtools list,
I am having problems getting a large merge fire-up using the gdal_merge command.
I have three IMG (HFA format) files in the same projection (lat/lon) each 22Gb, 20Gb and 6Gb that I am trying to merge into a single image.
I keep getting the following -
Q:\satimages>gdal_merge -o qldg.img -of HFA -v z54gclip.img z55gclip.img z56gclip.img
Filename: z54gclip.img
File Size: 48826x154049x3
Pixel Size: 0.000130 x -0.000130
UL:(137.590396,-9.999789) LR:(143.918997,-29.966909)
Copy 0,0,48826,154049 to 0,0,48826,154049.
Traceback (most recent call last):
File "C:\PROGRA~1\FWTOOL~1.0B2\bin\gdal_merge.py", line 488, in ?
fi.copy_into( t_fh, band, band, nodata )
File "C:\PROGRA~1\FWTOOL~1.0B2\bin\gdal_merge.py", line 297, in copy_into
nodata_arg )
File "C:\PROGRA~1\FWTOOL~1.0B2\bin\gdal_merge.py", line 130, in raster_copy
t_xsize, t_ysize, t_band.DataType )
File "C:\PROGRA~1\FWTOOL~1.0B2\pymod\gdal.py", line 845, in ReadRaster
buf_xsize, buf_ysize,buf_type)
MemoryError
Any suggestions ?
With regards,
Shaun Kolomeitz
Senior Technical Officer
Systems & Support Branch
Parks Division
___________________________
Disclaimer
This e-mail, including attachments if any, has originated from a Queensland government agency and may contain information that is confidential, or covered by legal professional privilege, and is intended for the named recipient(s) only. If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer system network.
Any form of disclosure, modification, distribution and/or publication of this e-mail, including attachments is prohibited. Unless otherwise stated, this e-mail, including attachments represents the views of the sender and not the views of the Environmental Protection Agency.
Although this e-mail has been checked for the presence of computer viruses, the Environmental Protection Agency provides no warranty that all possible viruses have been detected and cleaned. Any use of this e-mail could harm your computer system.
___________________________
More information about the FWTools
mailing list