[Tilecache] Converting from Tilecache filenames to Google x, y,
randre at gmail.com
Wed Sep 17 18:40:59 EDT 2008
Thanks, the GoogleDisk cache is exactly what I need. We have a home-baked
naming convention that concats the x_y_zoom values into something that looks
like this - tile_4_2_2.png. I'll still have to write a script to move and
rename the tiles, but the structure of the GoogleDisk cache will be easier
for me to convert from. I'm using V2.04, but I didn't know about this cache
On Wed, Sep 17, 2008 at 3:03 PM, Christopher Schmidt <
crschmidt at metacarta.com> wrote:
> On Wed, Sep 17, 2008 at 02:40:14PM -0700, Roger André wrote:
> > I've been asked to generate a tileset to feed an existing Google Maps
> > implementation. In order to do this, I need to rename the tiles
> > by Tilecache into a name that contains the x_y_zoom values of the tile.
> Or use the GoogleDisk cache instead of the Disk cache? That's what it
> was written for. Though apparently you want some kind of odd file naming
> format I don't understand; GoogleDisk uses z/x/y.extension.
> > Is there an easy way to figure out how to map from the existing
> > tilecache names, back to the Google Map name, or will I need to hack
> > Cache.py and create a new tileset?
> Ah, perhaps you are using an old TileCache. I recommend upgrading to the
> latest, which has solved this problem for you.
> The answer to your question is "there is a way, but I wouldn't call it
> Christopher Schmidt
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tilecache