[OSM-dev] converting mod-tile dir to flat files?
Philipp Borgers
borgers at mi.fu-berlin.de
Mon Apr 16 11:02:11 BST 2012
On Sun, 2012-04-15 at 17:27 +0000, Sven Geggus wrote:
> Hello,
>
> I have a local mod-tile+ tirex installation running on my desktop at
> home.
>
> Now to publish this tiles on a machine without mod-tile I would like
> to convert this stuff to a flat file layout z/x/y.png
>
> I already found convert_meta which will produce the required png
> files but not the z/x/y directory layout.
>
> What is the magic with this? How can I convert something like
> 11/0/0/66/61/112.png
Take a look at path_to_xyz()
http://svn.openstreetmap.org/applications/utils/mod_tile/dir_utils.c
I'm not aware of any script but it shouldn't be a problem to write one
that creates a "normal" structure from hashed directories.
>
> Sven
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20120416/6c8f060d/attachment.pgp>
More information about the dev
mailing list