[Tilecache] Error seeding Tilecache

David Alda Fernandez de Lezea dalda at ikt.es
Thu May 6 02:16:00 EDT 2010


 Hello,

I was using tilecache_seed.py to generate all the tiles of a raster image (it is in tiff format) and the execution ended with the following message:

Cache miss: 588906.25,4793125.0,590078.125,4794296.875, Tile: x: 110, y: 88, z:
6, time: 0.640000104904
06 (000110, 000088) = (588906.2500 4793125.0000 590078.1250 4794296.8750) [0.640
0s : 1.438/s] 11463/14208
Cache miss: 590078.125,4793125.0,591250.0,4794296.875, Tile: x: 111, y: 88, z: 6
, time: 0.530999898911
06 (000111, 000088) = (590078.1250 4793125.0000 591250.0000 4794296.8750) [0.531
0s : 1.438/s] 11464/14208
Traceback (most recent call last):
  File "c:\ms4w\Apache\cgi-bin\tilecache-2.10\tilecache_seed.py", line 9, in <mo
dule>
    TileCache.Client.main()
  File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Client.py", line 162, in
 main
    seed(svc, layer, map(int, args[1:3]), bboxlist , padding=options.padding, fo
rce = options.force, reverse = options.reverse)
  File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Client.py", line 117, in
 seed
    svc.renderTile(tile,force=force)
  File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Service.py", line 138, i
n renderTile
    data = layer.render(tile, force=force)
  File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Layer.py", line 443, in
render
    return self.renderTile(tile)
  File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Layers\WMS.py", line 29,
 in renderTile
    tile.data, response = wms.fetch()
  File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Client.py", line 68, in
fetch
    raise Exception("Did not get image data back. \nURL: %s\nContent-Type Header
: %s\nResponse: \n%s" % (self.url(), ctype, data))
Exception: Did not get image data back.
URL: http://192.168.1.65/cgi-bin/mapserv.exe?map=../htdocs/MFD/ejemplo_wms.map&l
ayers=mapaPapel0&styles=&service=WMS&width=256&format=image%2Fpng&request=GetMap
&height=256&srs=EPSG%3A23030&version=1.1.1&bbox=591250.0%2C4793125.0%2C592421.87
5%2C4794296.875
Content-Type Header: application/vnd.ogc.se_xml
Response:
<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/ex
ception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException>
msDrawMap(): Image handling error. Failed to draw layer named &#39;mapaPapel0&#3
9;.
IReadBlock failed at X offset 0, Y offset 1824: Unable to access file. GDALRaste
rIO() failed: drawGDAL()
</ServiceException>
</ServiceExceptionReport>

I executed the following line:

> Tilecache_seed.py mapaPapel0 0 16

It has made all the tiles until zoom 9, the rest isn't done.

Any ideas about the error?

Thanks in advance.

 
 
Un saludo,
 
··················································································

David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
 
IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)

··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: dalda at ikt.es                                web: www.ikt.es
··················································································


More information about the Tilecache mailing list