[Tilecache] Problem while seeding the cache

Jackey Cheung cheung.jackey at gmail.com
Mon Jul 23 23:14:45 EDT 2007


Greetings!

I'm building the cache with the client.py, as says in the readme file. But the bbox just go wrong.

in tilecache.cfg:
[en]
type=WMSLayer
url=http://192.168.0.12/cgi-bin/mapserv?map=/map/maps/en.map&
bbox=-180,-90,180,90
maxResolution=.00068359375
layers=China_HongKong_Road
extension=png
metaTile=yes

then I issued:
c:\python25\python client.py "http://192.168.0.12/cgi-bin/tilecache/tilecache.cgi?" en 0 12 "113,22,115,23"
to seed a small area of the map.

However, it came out:
###### (1674, 640, 0), (1685, 645, 0)
00 (001674, 000640) = (112.9500 22.0000 113.1250 22.1750) [0.1250s : 7.994/s] 1/
72
...
...
...
###### (1674, 640, 0), (1685, 645, 0)
01 (001674, 000640) = (-33.5250 -34.0000 -33.4375 -33.9125) [0.1250s : 7.994/s]
1/72
01 (001675, 000640) = (-33.4375 -34.0000 -33.3500 -33.9125) [0.1250s : 7.997/s]
2/72
...
...
..
...

the first part (zoom level 0) is quite normal, but starts from the zoom level 1, it goes completely out of the area.

What is the problem here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20070724/cac83a99/attachment.html


More information about the Tilecache mailing list