[Tilesathome] Proposal: Keeping tileset as one file

spaetz osm at sspaeth.de
Mon Jun 30 18:47:27 BST 2008


On Mon, Jun 30, 2008 at 08:42:31AM +0100, Kai Krueger wrote:

> The thing I potentially see as biggest hurdle though is how to deal with 
> deleting the old files. Although my current approach should work 
> correctly without deleting files, that would then double the overall 
> storage requirements, which can't work long term. On the other hand if 
> you need to check each of the old tiles and delete them in the upload 
> handler, then I could imagine a big portion of the benefits of having a 
> single file per tileset is lost. Perhaps it could work to have a 
> clean-up daemon periodically go through the list of recently uploaded 
> tilesets and clean up duplicate files and recombine incomplete tilesets 
> with individual tiles. Do people have other suggestions for this issue?

A clean-up task that runs from time to time sounds feasable. serving should happen as quick as possible, I don't think it should do maintenance work inbetween.

> How does the current client deal with entire z12 being empty?

not different from any other blank tile. It just doesn't store any file and looks up the blank tile data base.

spaetz




More information about the Tilesathome mailing list