[Tilesathome] [PATCH] To delete a tile
Martijn van Oosterhout
kleptog at gmail.com
Mon Jun 11 15:07:48 BST 2007
On 6/11/07, Matthias Julius <lists at julius-net.net> wrote:
> I just wanted to mention that very regularly maplint tiles (should)
> become empty (because of people fixing problems). So it is important
> that the deletion of all sub-tiles works if an empty z12 maplint tile
> gets uploaded. The mechanisms are off course the same as for the
> default layer.
Ah, now I finally realise what the RenderFullTileset option is for.
And I think it's a bad idea. Based on some flag you want the server to
delete subtiles (it doesn't work as far as I can tell or at least I
can't find the code for it). It's a bit of a pain for the server to
work this out, why not just have the client indicate which tiles need
to be deleted and have the server delete them (which is what my patch
did).
Basically, I feel having it specified as an extra flag is too fragile.
You have the problem where it doesn't survive the zip being repacked
due to being oversize, this problem doesn't occur if you specifiy the
to be deleted files directly.
But that's just my opinion I guess. What are the stated advantages?
Have a nice day,
--
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
More information about the Tilesathome
mailing list