[Tilesathome] [PATCH] To delete a tile
Martijn van Oosterhout
kleptog at gmail.com
Fri Jun 8 21:36:52 BST 2007
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...
> >> 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...
> I know it can be switched
> off by setting the render-full-tileset option and I don't know if that
> has been switched on in the course of upload-only-full-tilesets, and
> generally have lost track about where we stand, and am not willing to
> participate in experiments as long as I either get no response from dev
> or run the risk of ruining performance for others... so that's why you
> got no response from me ;-)
I havn't been able to workout what the full tileset stuff is, since in
my experience full tilesets tend to be too big and get broken up by
the upload script anyway.
Have a nice day,
--
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
More information about the Tilesathome
mailing list