[Tilecache] MetaTile issue

Matthew Doyle M.Doyle at bom.gov.au
Thu Feb 19 01:15:40 EST 2009


Hi all,

I am using TileCache to load WMS layers which contain quite long labels. As
far as i'm aware, the consensus solution is to use metaTile=true and
metaBuffer set to a high enough value to solve this. To get around the slow
initial loading times, i also run a seeding script which pre-caches all the
tiles in question.

I am now experiencing very slow loading times (compared with direct access
to MapServer) even after seeding, and terrible lag panning the map in a
circle with either of these layers activated. I had believed that once all
the tiles were seeded that these requests would be simple http image
requests but instead it seems as though the metaTiling is requested time and
time again.

Are there any other settings i can tinker with to gain better performance
with metaTile? Am i missing something important here?

I sincerely hope anyone can shed some light on the situation as i am at a
dead end! 
Best regards,
Matt

A snippet of my tilecache.cfg is as follows:

[rainfall_stations]
type=WMS
url=http://.../cgi-bin/reg/ws/gis/users/bureau/cdio?TRANSPARENT=true
layers=rainfall_stations
extension=gif
size=256,256
bbox=45.0,-74.0,200.0,5.0
maxResolution=0.1513671875
srs=EPSG:4283
metaTile=true
metaBuffer=140
extent_type=loose

[dwo_sites_open_closed]
type=WMS
url=http://.../cgi-bin/reg/ws/gis/users/bureau/cdio?TRANSPARENT=true
layers=dwo_sites_open_closed
extension=gif
bbox=45.0,-74.0,200.0,5.0
maxResolution=0.1513671875
srs=EPSG:4283
metaTile=true
metaBuffer=140
extent_type=loose

My seeding script is as follows

./tilecache_seed.py http://.../cgi-bin/ol/tilecache-2.02/tilecache.cgi?
rainfall_stations 0 8 110.0,-45.0,156.0,-8.0
./tilecache_seed.py http://.../cgi-bin/ol/tilecache-2.02/tilecache.cgi?
dwo_sites_open_closed 0 8 110.0,-45.0,156.0,-8.0


-- 
View this message in context: http://n2.nabble.com/MetaTile-issue-tp2351477p2351477.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list