[Tilecache] tilecache_seed.py problem

Walter Lorenzetti lorenzetti at gis3w.it
Thu Feb 5 12:02:37 EST 2009


Hi all,

I've a problem with tielcache_seed python script... of tilecache 2.10
My cfg file and the relative layer is:

[mylayer]
type=MapServerLayer
mapfile=mylayer.map
layers=layer1,laeyr2,...
srs=EPSG:3003
extension=png
bbox=1634000,4843000,1654000,4858000
metaTile=true
metaSize=5,5
metaBuffer=20

if a try to use tilcache_seddd.py I obtian the seguent error:

python tilecache_seed.py -f mylayer 1 6
###### (0, 0, 1), (2, 2, 1)
Traceback (most recent call last):
  File "tilecache_seed.py", line 9, in <module>
    TileCache.Client.main()
  File "/var/tilecache.gis3w.it/TileCache/Client.py", line 162, in main
    seed(svc, layer, map(int, args[1:3]), bboxlist , 
padding=options.padding, force = options.force, reverse = options.reverse)
  File "/var/tilecache.gis3w.it/TileCache/Client.py", line 117, in seed
    svc.renderTile(tile,force=force)
  File "/var/tilecache.gis3w.it/TileCache/Service.py", line 140, in 
renderTile
    else: raise Exception("Zero length data returned from layer.")

But if I don't use the metaTiles... it works!!!

by htttp request with metaTile it works to!

Have any idea about?

Thanks in advance
Walter


-- 

Walter Lorenzetti
email: lorenzetti at gis3w.it
skype: aiki74
Cell: (+39) 347-6597931  Tel+Fax: (+39) 0583 926684
Via di Tofori 123a 55010, Camigliano-S.Gemma Lucca
Italy




More information about the Tilecache mailing list