[Tilecache] ImageLayer and ArcXML errors in trunk - was Caching a raster saved on the local disk

Fredrik Lundh fredrik at pythonware.com
Tue May 6 10:17:13 EDT 2008


>     return self.renderTile(tile)
>   File "C:\Inetpub\wwwroot\ts\TileCache\TileCache\Layers\Image.py", line 51,
>  in
>  renderTile
>     sub = self.image.transform(crop_size, PILImage.EXTENT, (min_x, min_y,
>  max_x,
>   max_y))
>   File "C:\Python25\lib\site-packages\PIL\Image.py", line 1570, in transform
>     im = new(self.mode, size, None)
>   File "C:\Python25\lib\site-packages\PIL\Image.py", line 1702, in new
>     return Image()._new(core.new(mode, size))
>  MemoryError

this means that the process doesn't have enough memory to hold the tile.

what tile size are you using?

</F>



More information about the Tilecache mailing list