[Tilecache] tilecache_seed.py problem

Christopher Schmidt crschmidt at metacarta.com
Thu Sep 6 09:06:46 EDT 2007


On Thu, Sep 06, 2007 at 01:28:05PM +0100, Tyler Durden wrote:
> 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"

This should be fixed in trunk or 1.9RC5. What are you using?

-- Chris

> 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
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
> 

-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list