[Tilecache] locating bad tiles...
Tim Schaub
noreply at geocartic.com
Fri May 4 16:18:42 EDT 2007
John Cole wrote:
> I've tried the IDLE shell, command line, cgi :-) I'm afraid I'm going to
> need a few quick instructions on how to execute this with one of my image
> url's
Put the TileUtil.py script in the same directory as your TileCache
directory (right next to tilecache.cgi). Then get yourself to that
directory and fire up python (run python from the command line). From
the python command line,
>>> import TileUtil
>>> TileUtil.forceRefresh("http://host/path/to/tilecache.cgi?query")
Note that this is not a "real" tilecache utility, just a quick solution
to address the same issue you are having.
Tim
>
> Thanks!
>
> John
>
> -----Original Message-----
> From: tilecache-bounces at openlayers.org
> [mailto:tilecache-bounces at openlayers.org] On Behalf Of Tim Schaub
> Sent: Friday, May 04, 2007 11:12 AM
> To: tilecache at openlayers.org
> Subject: Re: [Tilecache] locating bad tiles...
>
> John Cole wrote:
>> I have a few tiles that apparently have bad image files behind them (TC
>> returns very slowly, and the tiles show up white instead of pink). It
> would
>> be nice to be able to set an option in the config file to overlay the
>> filename of the tile somehow so I can find the few, seemingly random tiles
>> and remove them, without deleting the entire zoom level.
>
> See attached (quick hack) TileUtil.py.
>
> If you can right-click a tile to get the URL, you can
>
> TileUtil.forceRefresh(url)
>
> to trash the bad one and request a new one.
>
> Tim
>
>
>> With the addition of the watermarking feature, could it also do this?
>>
>> Thanks,
>>
>> John
>>
>> No virus found in this outgoing message.
>> Checked by AVG Free Edition.
>> Version: 7.5.467 / Virus Database: 269.6.2/785 - Release Date: 5/2/2007
> 2:16
>> PM
>>
>> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify the sender. This
> message contains confidential information and is intended only for the
> individual named. If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail.
>> _______________________________________________
>> Tilecache mailing list
>> Tilecache at openlayers.org
>> http://openlayers.org/mailman/listinfo/tilecache
>
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 5/3/2007 2:11
> PM
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 5/3/2007 2:11
> PM
>
> This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
More information about the Tilecache
mailing list