[Tilecache] TileCache-2.0ish refactor

Graham Carlyle graham.carlyle at maplecroft.com
Thu Dec 6 04:45:42 EST 2007


On Wed, 2007-12-05 at 01:29 -0500, Christopher Schmidt wrote: 
> A request a couple weeks ago from Graham Carlyle
> (http://openlayers.org/pipermail/tilecache/2007-November/000575.html)
> has been integrated into this design: Graham, this means you can
> probably use trunk of TileCache now without changing anything on your
> setup. (There is a way in the tilecache config to ad paths to your
> sys.path if that's neccesary for you.) 

Cool, sounds good.

Another need that I think I'll have to patch the code for is to generate
layer availability dynamically. 

So instead of having all the layers defined explicitly in tilecache.cfg
I want to do some of this programmatically. Some of the layer
availability info I've got lives in a database and I don't really want
to duplicate that in tilecache.cfg.

Giving the code a quick scan I think I'd need to encapsulate the layer
loading thats done using ConfigParser and stored in the Service.layers
dictionary. 

Maybe this is too obscure a use-case for anyone else to care about but
when I get round to it implementing maybe I'll post a patch.

cheers,
Graham




More information about the Tilecache mailing list