<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=gb2312>
<STYLE></STYLE>

<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY id=MailContainerBody 
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FONT-SIZE: 10pt; COLOR: #000000; PADDING-TOP: 15px; FONT-FAMILY: Arial" 
bgColor=#d4d0c8 leftMargin=0 topMargin=0 CanvasTabStop="true" acc_role="text" 
name="Compose message area">
<DIV>Greetings!</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm building the cache with the client.py, as says in the readme file. But 
the bbox just go wrong.</DIV>
<DIV>&nbsp;</DIV>
<DIV>in tilecache.cfg:</DIV>
<DIV>[en]<BR>type=WMSLayer<BR>url=http://192.168.0.12/cgi-bin/mapserv?map=/map/maps/en.map&amp;<BR>bbox=-180,-90,180,90<BR>maxResolution=.00068359375<BR>layers=China_HongKong_Road<BR>extension=png<BR>metaTile=yes</DIV>
<DIV>&nbsp;</DIV>
<DIV>then I issued:</DIV>
<DIV>c:\python25\python client.py 
"<A>http://</A>192.168.0.12/cgi-bin/tilecache/tilecache.cgi?" en 0 12 
"113,22,115,23"</DIV>
<DIV>to seed a small area of the map.</DIV>
<DIV>&nbsp;</DIV>
<DIV>However, it came out:</DIV>
<DIV>###### (1674, 640, 0), (1685, 645, 0)<BR>00 (001674, 000640) = (112.9500 
22.0000 113.1250 22.1750) [0.1250s : 7.994/s] 1/<BR>72</DIV>
<DIV>...</DIV>
<DIV>...</DIV>
<DIV>...</DIV>
<DIV>###### (1674, 640, 0), (1685, 645, 0)<BR>01 (001674, 000640) = (-33.5250 
-34.0000 -33.4375 -33.9125) [0.1250s : 7.994/s]<BR>1/72<BR>01 (001675, 000640) = 
(-33.4375 -34.0000 -33.3500 -33.9125) [0.1250s : 7.997/s]<BR>2/72</DIV>
<DIV>...</DIV>
<DIV>...</DIV>
<DIV>..</DIV>
<DIV>...</DIV>
<DIV>&nbsp;</DIV>
<DIV>the first part (zoom level 0) is quite normal, but starts from the zoom 
level 1, it goes completely out of the area.</DIV>
<DIV>&nbsp;</DIV>
<DIV>What is the problem here?</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>