[Tilecache] Seeding Error: x value too far from tile corner x

Dara Dowd dara.dowd at vertexsys.co.jp
Wed Jul 25 20:18:47 EDT 2007


Hello,

I am able to get Tilecache working with OpenLayers but I'm having trouble
with tilecache_seed.py.


When trying to run 

 python tilecache_seed.py "http://x.x.x.x/tilecache/tilecache.py?"
CityRegion 0 1  "135.857890,33.720600,136.990800,35.254501"

with the following setup in tilecache.cfg

[CityRegion]
type=MapServerLayer
mapfile=/websites/test/dara/include/maps/testprojection.map
layers=City_Region
extension=jpeg
bbox=135.857890,33.720600,136.990800,35.254501
resolutions=0.0031747816880420914, 0.0015873908440210457,
0.0007936954220105229, 0.00031747816880420905, 0.00015873908440210453,
0.00007936954220105226, 0.000031747816880420904, 0.000015873908440210452
debug=on

I get the following error:

Traceback (most recent call last):
  File "tilecache_seed.py", line 9, in ?
    TileCache.Client.main()
  File "/usr/local/apache/htdocs/tilecache/TileCache/Client.py", line 112,
in main
    seed(base, layer, map(int, sys.argv[3:5]), map(float,
sys.argv[5].split(",")))
  File "/usr/local/apache/htdocs/tilecache/TileCache/Client.py", line 86, in
seed
    topright   = layer.getClosestCell(z, bbox[2:4])
  File "/usr/local/apache/htdocs/tilecache/TileCache/Layer.py", line 170, in
getClosestCell
    return self.getCell((minx, miny, maxx, maxy), False)
  File "/usr/local/apache/htdocs/tilecache/TileCache/Layer.py", line 159, in
getCell
    raise TileCacheException("Current x value %f is too far from tile corner
x %f" % (minx, tilex))
TileCache.Service.TileCacheException: Current x value 136.990800 is too far
from tile corner x 136.670634

I am using tilecache-RC-1.9.

I'd be grateful if someone could point out where I'm going wrong.

Thanks,

Dara


-- 
View this message in context: http://www.nabble.com/Seeding-Error%3A-x-value-too-far-from-tile-corner-x-tf4141340.html#a11780118
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list