[Tilesathome] Tileset files

Matthias Julius lists at julius-net.net
Tue Sep 16 02:39:20 BST 2008


Lennard <ldp at xs4all.nl> writes:

> Matthias Julius wrote:
>
>> To try it out:
>> 
>>   tilesGen.pl xy xxxx yyyy && tilesGen.pl upload
>
> I'm doing just that. Invoking 'upload' results in 1367 png files going 
> through pngcrush, which takes quite a while.

This is as expected and what it has done previously.  Now, just
instead of creating a zip file it creates a tileset file after that.

>
> -rw-r--r-- 1  24K Sep 16 01:34 captionless_12_2091_1367_951665086.tileset
> -rw-r--r-- 1 863K Sep 16 01:39 maplint_12_2091_1367_951665086.tileset
> -rw-r--r-- 1 4.2M Sep 16 01:39 tile_12_2091_1367_951665086.tileset

Excellent.

>
>> It would be good if someone could verify the validity of the created
>> files.
>
> How would someone do that? Is there a tileset validator script? I'm not 
> keen on diving in there with a hex viewer.

I'm afraid that's the only way (aside from injecting them into a tile
server).  The format is documented at
http://wiki.openstreetmap.org/index.php/Tiles%40home/Tileset_as_one_file

Writing a script would be a good idea, though.

Matthias




More information about the Tilesathome mailing list