<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT size=2><FONT size=3><SPAN>Hi all, </SPAN><BR><BR><SPAN>After having 
successfully managed to get TileCache working with my WMS layers i am now trying 
to include a layer which has labels. These labels aren't getting drawn when they 
are near the edge of any tile, a problem i see a few users have come across. 
</SPAN><BR><BR><SPAN>The solution has always been something like adding the 
following to one's tilecache.cfg: </SPAN><BR><SPAN><B 
class=highlight>metaTile</B>=<SPAN 
class=723572905-28052008>true</SPAN></SPAN><BR><SPAN>metaBuffer=40 
</SPAN><BR><BR><SPAN>I have now tried this, and I receive the following error 
from any tile through Firebug. </SPAN><BR><BR><SPAN>An error occurred: No module 
named Image </SPAN><BR><SPAN>&nbsp;File 
"/web/50006/cgi-bin/tilecache-2.02/TileCache/Service.py", line 283, in 
cgiHandler </SPAN><BR><SPAN>&nbsp; &nbsp; format, image = 
service.dispatchRequest( params, path_info, req_method, host ) 
</SPAN><BR><SPAN>&nbsp; File 
"/web/50006/cgi-bin/tilecache-2.02/TileCache/Service.py", line 201, in 
dispatchRequest </SPAN><BR><SPAN>&nbsp; &nbsp; return self.renderTile(tile, 
params.has_key('FORCE')) </SPAN><BR><SPAN>&nbsp; File 
"/web/50006/cgi-bin/tilecache-2.02/TileCache/Service.py", line 134, in 
renderTile </SPAN><BR><SPAN>&nbsp; &nbsp; data = layer.render(tile) 
</SPAN><BR><SPAN>&nbsp; File 
"/web/50006/cgi-bin/tilecache-2.02/TileCache/Layer.py", line 377, in render 
</SPAN><BR><SPAN>&nbsp; &nbsp; image = self.renderMetaTile(<B 
class=highlight>metatile</B>, tile) </SPAN><BR><SPAN>&nbsp; File 
"/web/50006/cgi-bin/tilecache-2.02/TileCache/Layer.py", line 337, in 
renderMetaTile </SPAN><BR><SPAN>&nbsp; &nbsp; import StringIO, Image 
</SPAN><BR><BR><BR><SPAN>My tilecache.cfg file is as follows (i have forced all 
the bbox extents to match the base layer - free_elevation. Is this good/common 
practice?): </SPAN><BR><BR><SPAN>[free_elevation] </SPAN><BR><SPAN>type=WMS 
</SPAN><BR><SPAN>url=</SPAN></FONT><A 
href="http://ows.bom.gov.au/cgi-bin/mapserver/users/ncc000/latest" target=_top 
rel=nofollow><SPAN><FONT 
size=3>http://ows.bom.gov.au/cgi-bin/mapserver/users/ncc000/latest</FONT></SPAN></A><BR><FONT 
size=3><SPAN>layers=free_elevation </SPAN><BR><SPAN>extension=png 
</SPAN><BR><SPAN>size=256,256 
</SPAN><BR><SPAN>bbox=112.919,-43.741,153.641,-8.999 
</SPAN><BR><SPAN>maxResolution=0.07953515625 </SPAN><BR><SPAN>srs=EPSG:4326 
</SPAN><BR><SPAN>extent_type=loose </SPAN><BR><BR><SPAN>[free_australia_line] 
</SPAN><BR><SPAN>type=WMS </SPAN><BR><SPAN>url=</SPAN></FONT><A 
href="http://ows.bom.gov.au/cgi-bin/mapserver/users/ncc000/latest?TRANSPARENT=true" 
target=_top rel=nofollow><SPAN><FONT 
size=3>http://ows.bom.gov.au/cgi-bin/mapserver/users/ncc000/latest?TRANSPARENT=true</FONT></SPAN></A><BR><FONT 
size=3><SPAN>layers=free_australia_line </SPAN><BR><SPAN>extension=gif 
</SPAN><BR><SPAN>size=256,256 
</SPAN><BR><SPAN>bbox=112.919,-43.741,153.641,-8.999 
</SPAN><BR><SPAN>maxResolution=0.07953515625 </SPAN><BR><SPAN>srs=EPSG:4326 
</SPAN><BR><SPAN>extent_type=loose </SPAN><BR><BR><SPAN>[cdio_stations] 
</SPAN><BR><SPAN>type=WMS </SPAN><BR><SPAN>url=</SPAN></FONT><A 
href="http://ows.bom.gov.au/cgi-bin/mapserver/users/ncc000/latest?TRANSPARENT=true" 
target=_top rel=nofollow><SPAN><FONT 
size=3>http://ows.bom.gov.au/cgi-bin/mapserver/users/ncc000/latest?TRANSPARENT=true</FONT></SPAN></A><BR></FONT><FONT 
size=3><SPAN>layers=cdio_stations </SPAN><BR><SPAN>extension=gif 
</SPAN><BR><SPAN>bbox=112.919,-43.741,153.641,-8.999 
</SPAN><BR><SPAN>maxResolution=0.07953515625 </SPAN><BR><SPAN>srs=EPSG:4326 
</SPAN><BR><SPAN><B class=highlight>metaTile</B>=<SPAN 
class=723572905-28052008>true</SPAN> </SPAN><BR><SPAN>metaBuffer=40 
</SPAN><BR><SPAN>extent_type=loose </SPAN><BR><SPAN>#metaSize=5,5 ---- i have 
commented this out - don't think its needed. Still, the same error appears. 
</SPAN><BR><BR><BR><SPAN>Any help would be greatly appreciated and rewarded with 
beer. </SPAN><BR><BR><SPAN>Cheers and regards, </SPAN><BR><SPAN>Matt 
</SPAN></FONT></DIV></BODY></HTML>