[Tilesathome] [PATCH] To delete a tile

Matthias Julius lists at julius-net.net
Sat Jun 9 04:15:14 BST 2007


"Martijn van Oosterhout" <kleptog at gmail.com> writes:

> On 6/8/07, Frederik Ramm <frederik at remote.org> wrote:
>> Personally, I am a bit tired of all sorts of "upload funny tile to
>> achieve desired behaviour in the server" workarounds. There could also
>> be an API to delete tiles, and it wouldn't even be much more code than
>> the handling of special tile uploads, IMHO.
>
> I'm for, but I'm just trying to fit in with what's already there...
>
> However, in this case I think it's a good idea to do it this way,
> since which tiles to delete is going to be determined as part of the
> render process. It seems wierd that at the end of rendering it will
> upload tiles on the one hand and try to establish direct connection to
> the server to delete others...

The client could include a text file in the zip with an empty tile list.

>
>> >> 2. When a client renders a blank area it ends up uploading blank tiles
>> >> for zoom-12 to 17
>>
>> - I always assumed these were optimized in the client, and only the
>> empty z12 tile was uploaded in these cases.
>
> But that doesn't delete all the tiles underneath it, which is what I'm
> trying to do.
>
> The problem I'm trying to solve is that at some point in the past some
> broken client uploaded crap to zoom-12 to 17. Uploading only a blank
> tile to zoom-12 is OK, but won't delete all the broken tiles
> underneath it. That's what my patch is for...

Also, maplint tiles should be overwritten by empty tiles eventually.

Matthias





More information about the Tilesathome mailing list