[Tilecache] tilecache_seed.py problem

Tyler Durden tylersticky at gmail.com
Thu Sep 6 08:28:05 EDT 2007


Hi,
I'm trying to generate all tiles with tilecache_seed.py, but I've this problem:

$ tilecache_seed.py "http://localhost:8080/" continente 0 11
"-11.535,36.095,-4.535,43.095"

Traceback (most recent call last):
  File "/usr/bin/tilecache_seed.py", line 9, in ?
    TileCache.Client.main()
  File "/usr/lib/python2.4/site-packages/TileCache/Client.py", line 112, in main
    seed(base, layer, map(int, sys.argv[3:5]), map(float,
sys.argv[5].split(",")))
  File "/usr/lib/python2.4/site-packages/TileCache/Client.py", line 86, in seed
    topright   = layer.getClosestCell(z, bbox[2:4])
  File "/usr/lib/python2.4/site-packages/TileCache/Layer.py", line
162, in getClosestCell
    return self.getCell((minx, miny, maxx, maxy), False)
  File "/usr/lib/python2.4/site-packages/TileCache/Layer.py", line
151, in getCell
    raise TileCacheException("Current x value %f is too far from tile
corner x %f" % (minx, tilex))
TileCache.Service.TileCacheException: Current x value -4.535000 is too
far from tile corner x -3.500000

tilecache.cfg:
==========

[cache]
type=DiskCache
base=/tmp/tilecache/cache

[continente]
type=MapnikLayer
layers=streets, hidro,cp
mapfile=......./osm.xml
bbox=-11.535,36.095,-4.535,43.095
maxResolution=0.015693359375
extent_type=loose
levels=12
extension=png
srs=EPSG:4326
debug=on
metaTile=yes
metaBuffer=40

Any ideas,
Thanks,
Tyler



More information about the Tilecache mailing list