IndexError: list index out of range

1 message Options
Embed this post
Permalink
Blake Crosby

IndexError: list index out of range

Reply Threaded More More options
Print post
Permalink
Hello,

I'm getting the following error when trying to use tilecache_seed.py:

Traceback (most recent call last):
   File "./tilecache_seed.py", line 9, in <module>
     TileCache.Client.main()
   File "/backup/flightplan/tilecache-2.10/TileCache/Client.py", line
168, in main
     seed(svc, layer, (5, 17), bbox , force = options.force )
   File "/backup/flightplan/tilecache-2.10/TileCache/Client.py", line
89, in seed
     bottomleft = layer.getClosestCell(z, bbox[0:2])
   File "/backup/flightplan/tilecache-2.10/TileCache/Layer.py", line
299, in getClosestCell
     res = self.resolutions[z]
IndexError: list index out of range


I'm using tilecache_seed.py by specifying a layer name, and then
providing a list of points and radii.

This was working fine until I specified a levels=10 in my layer
definition in tilecache.cfg. Then the above error appeared.

Here is what my tilecache.cfg looks like:

[airspace]
type=Mapnik
levels=10
mapfile=/backup/flightplan/mapnik/airspace_layer.xml
metaTile=true
bbox=-17043622,4833266,-2445984,12592146
spherical_mercator=true

Thanks for any help you can provide!
_______________________________________________
Tilecache mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/tilecache