[Tilecache] location of tilecache.cfg

Eric Lemoine Eric.Lemoine at camptocamp.com
Mon Mar 26 17:07:13 EDT 2007


On 3/26/07, Schuyler Erle <sderle at metacarta.com> wrote:
> * On 25-Mar-2007 at  6:40AM EST, Christopher Schmidt said:
> > On Sun, Mar 25, 2007 at 12:25:08PM +0200, Eric Lemoine wrote:
> > > Hi
> > >
> > > FWIU from TileCache code tilecache.cfg must be either in the same dir
> > > as tilecache.cgi or in the tilecache.cgi's parent dir, and there's
> > > currently no way to have the tilecache.cfg in some other location. Can
> > > someone confirm this?
> >
> > For the CGI, with no changes to the code, this is true. If you change:
> >
> >     svc = Service.load(*cfgfiles)
> >
> > to:
> >
> >     svc = Service.load("/location/of/tilecache.cfg")
> >
> > You can load it from somewhere else.
>
> Actually, what I would do is add file paths to the cfgfiles array.

I thought about that too. Thanks for confirming Schuyler.


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Tilecache mailing list