[Tilesathome] tah refactor - identical file names

spaetz osm at sspaeth.de
Fri Aug 29 06:11:25 BST 2008


On Fri, Aug 29, 2008 at 02:37:13PM +1200, Rob Reid wrote:
> I'm experiencing a similar problem which seems to result in tilesets 
> getting merged  on the client and possibly discarded on the server, it 
> is not fixed by rev 10282 which added the timestamp back in.

> Note that there is 6 tilesets being compressed and only zip 3 files 
> being uploaded.

Right, I can see why that would be happening :-). Timestamps are second-based, so if you compress tilesets containing the same layer within the same second they will be named the same (and one of them will be overwritten).

I will change the zip file naming code to really use LAYERNAME_Z_X_Y.zip which is easier (we could add the client_uuid but hey it's a feature if several clients render the same tileset that the latest would win).

Thanks for notifying.

spaetz




More information about the Tilesathome mailing list