[Tilecache] throwing out bad tiles

Michael Anderson m_anderson14 at hotmail.com
Fri Mar 20 12:17:44 EDT 2009


Hello,

Just started with TileCache today. I'm caching images coming from a WMS service that I have no control over. I got it set up with the extent and resolutions I need, edited index.html to point my cache, and it works great. As I was playing with it, it generated some empty tiles - just a white background.

My first question is, did the remote server return the white images or did it return no image and TileCache made the empty ones. I've used this service for a while and have gotten random errors occasionally that return no image, but I can't remember seeing white images before

My second question is, now I have cached tiles with no imagery. I assume I can manually delete them, zoom to the area again, and it will load new tiles - hopefully with imagery this time. 

The empty images are only 2KB, so I'm thinking I can use that to determine whether a tile has anything in it. Before I try anything I was wondering if anyone has come up with an automated way to throw out bad tiles? 

Thanks.

Mike Anderson

_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®.
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20090320/c5a13907/attachment.html


More information about the Tilecache mailing list