[Tilecache] whether to use tilecache to serve tiles

Martijn van Oosterhout kleptog at gmail.com
Mon Jan 28 05:47:58 EST 2008


On Jan 28, 2008 11:36 AM, Graham Carlyle <graham.carlyle at maplecroft.com> wrote:
> Is the tilecache disk cache directory structure compliant with a TMS
> url?

No. The problem with the TMS URL is that at high zoom levels there
will be tens of thousands of files per directory, and not all
filesystems handle that equally wel. So TC uses a structure that
limits the files per directory to 1000 and mostly there are less...

> If not then maybe an additional disk cache implementation that did
> achieve this would be useful. That way you could start out just using
> tilecache with on-demand generation and then swap to serving the images
> directly from the cache filesystem if you wanted to.

People have done such tricks using apache rewrite rules. The format is
fairly simple.

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/



More information about the Tilecache mailing list