[Tilecache] dynamic config
Christopher Schmidt
crschmidt at metacarta.com
Wed Feb 13 08:27:06 EST 2008
On Wed, Feb 13, 2008 at 06:40:51AM +0100, Eric Lemoine wrote:
> Hi Attila
>
> On Feb 12, 2008 10:33 PM, Attila Csipa <plists at prometheus.org.yu> wrote:
> > I needed to do some dynamic config generation for tilecache (add new layers on
> > the fly, per user layers, etc), so here is the option to include additional
> > config files, or, recursively, whole directories.
>
> I'm wondering: if you run TileCache under mod_python, will it be able
> to see new config files added to tilecache.conf.d between two Apache
> reloads?
Nope. load(), which calls loadFromSection(), is only called if the
config isn't defined. There is no notion of expiring it (though there's
no reason there couldn't be; for example, a mod time check on the
config).
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Tilecache
mailing list