[FWTools] GDAL_RETILE

Fab P cfab13 at hotmail.fr
Mon Oct 18 03:54:01 EST 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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20101018/dcc32b5f/attachment.htm 


More information about the FWTools mailing list