[Tilecache] TileCache to TMS URL format

Christopher Schmidt crschmidt at metacarta.com
Mon Jan 11 16:05:18 EST 2010


On Mon, Jan 11, 2010 at 11:56:48AM -0700, Jacob Marble wrote:
> I've thought about this, what is a good workaround?  Reiser?

Using the TileCache disk structure.

> On Mon, Jan 11, 2010 at 11:55 AM, Christopher Schmidt
> <crschmidt at metacarta.com> wrote:
> > 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
> >
> 
> 
> 
> -- 
> Jacob Marble
> 435 760 4321
> jacobmarble at gmail.com

-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list