[Tilecache] TileCache to TMS URL format

Christopher Schmidt crschmidt at metacarta.com
Mon Jan 11 13:55:59 EST 2010


On Mon, Jan 11, 2010 at 11:43:28AM -0700, Jacob Marble wrote:
> Use GoogleDisk.  It's just like Disk, but it uses the z/x/y format.
> Also, set tms_type=google.  Give me a moment, I'll show you my
> TileCache and Apache config.

Note that this is *not* a good idea with large tilesets on some filesystems.
ext3 (a common linux filesystem) has a limit of 32000 child directories;
if you are looking at a large cache of the whole world, you will exceed
this limit with a standard 16-zoom world, and obviously it's far more likely
if you have more zoom levels than that.

-- Chris

> On Mon, Jan 11, 2010 at 6:08 AM, Tyler Durden <tylersticky at gmail.com> wrote:
> > Hi,
> > I'm using a layer in OpenLayers that makes requests with the TileCache
> > format. And I want to redirect(in my webserver) to a TMS server as
> > fallback when the file(tile) does not exists in the cache.
> >
> > Example:
> > http://myserver/cache/base/00/000/000/037/000/000/049.png
> > to
> > http://myserver/1.0.0/base/0/37/49.png
> >
> > There's a way(algorithm) for converting this URL's in Python or something else?
> >
> > Thanks,
> > Tyler
> > _______________________________________________
> > Tilecache mailing list
> > Tilecache at openlayers.org
> > http://openlayers.org/mailman/listinfo/tilecache
> >
> 
> 
> 
> -- 
> Jacob Marble
> 435 760 4321
> jacobmarble at gmail.com
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache

-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list