[Tilecache] embed tilecache

Guillaume Sueur guillaume.sueur at neogeo-online.net
Sun Sep 7 17:15:14 EDT 2008


ok, that'll be tomorrow business !

thanks very much

PS: I'm not sure to understand clearly your last comment. Do you mean I
won't be able to create new "layers" in tilecache.cfg and use them
without restarting Apache ? Sorry for my poor understanding.

Regards,

Guillaume


Christopher Schmidt a écrit :
> On Sun, Sep 07, 2008 at 03:49:40PM +0200, Guillaume Sueur wrote:
>> Hi Chris,
>>
>> I wasn't probably clear enough.
>>
>> My django app acts as an authentication proxy for WMS layers (not only,
>> but on the delivering images job, it does) :
>>
>> client -->  django = auth + mapscript.py --> drawImage
>> client				<--
>>
>> What I would like is the same for tilecache configured layers :
>> client --> django auth --> layer isTilecached  ? --> getTheTile
>> client				<---
> 
> Okay. You want to craft a service dynamically (see doc/Examples.py) and
> then call service_obj.dispatchRequest(); check
> 'pydoc TileCache.Service.dispatchRequest' for more. (And patches to
> include docstrings are welcome.)  
> 
>> So basically it would mean adding something from tilecache inside my
>> django app, to be able to retrieve the tile or generate it if not yet.
> 
>> Good to read your last lines too !
> 
> They're unlikely to help you, sine you want to work below the mod_python
> abstraction barrier.
> 





More information about the Tilecache mailing list