[gdal-dev] [gdal_retile]reshape ecw

Tacot cfab13 at hotmail.fr
Wed Oct 20 10:11:50 EDT 2010


Hi,

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

gdal_retile -of ECW -ps 10000 10000 -targetDir C:\GDAL\ECW Image.ecw

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

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/gdal-retile-reshape-ecw-tp5655048p5655048.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20101020/ea5e7907/attachment.html


More information about the gdal-dev mailing list