[Tilecache] Problem while seeding the cache

Christopher Schmidt crschmidt at metacarta.com
Fri Aug 10 09:10:18 EDT 2007


On Tue, Jul 24, 2007 at 11:14:45AM +0800, Jackey Cheung wrote:
> Greetings!
> 
> I'm building the cache with the client.py, as says in the readme file. But the bbox just go wrong.

Which version of TC is this?

-- Chris

> 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?

> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache


-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list