Hi,

I try to cut an image in several tiles.
I use this command:

<b>gdal_retile -of ECW -ps 10000 10000 -targetDir C:\GDAL\ECW Image.ecw</b>

I obtain 4 tiles, but after I've got this message:

"Traceback (most recent call last):
  File "C:\PROGRA~1\FWTOOL~1.7\bin\gdal_retile.py", line 941, in ?
    sys.exit(main(sys.argv))
  File "C:\PROGRA~1\FWTOOL~1.7\bin\gdal_retile.py", line 858, in main
    dsCreatedTileIndex = tileImage(minfo,ti)
  File "C:\PROGRA~1\FWTOOL~1.7\bin\gdal_retile.py", line 336, in tileImage
    createTile(minfo, offsetX, offsetY, width, height,tilename,OGRDS)
  File "C:\PROGRA~1\FWTOOL~1.7\bin\gdal_retile.py", line 507, in createTile
    data = s_band.ReadRaster( 0,0,readX,readY,readX,readY,  t_band.DataType )
  File "C:\PROGRA~1\FWTOOL~1.7\pymod\gdal.py", line 851, in ReadRaster
    buf_xsize, buf_ysize,buf_type)
MemoryError"

So I guess that's a memory's problem.
So Is there a means to by-pass it?

Thanks

<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/gdal-retile-reshape-ecw-tp5655048p5655048.html">[gdal_retile]reshape ecw</a><br>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/GDAL-Dev-f2022644.html">GDAL - Dev mailing list archive</a> at Nabble.com.<br>