[Tilecache] Multiple LAYERS support in WMS

Frédéric Junod frederic.junod at camptocamp.com
Thu Jun 19 06:31:13 EDT 2008


Hi,

I needed to have a multiple layer support in tilecache for the WMS service;
something like:

http://www.example.com/tilecache/?LAYERS=a,b,c&SERVICE=WMS&blabla

('a', 'b' and 'c' are layers defined in tilecache.cfg)

I hacked TC and you can find a patch in attachment.

The modification is quite simple: the layer's images are extracted from the
cache and merged with the Python Imaging Library.

Tested with r328 and mod_python on debian etch.

Regards,

fredj

-- 
Frédéric Junod
Camptocamp SA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiple_layers_wms.patch
Type: text/x-patch
Size: 2278 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/tilecache/attachments/20080619/77a53ed0/multiple_layers_wms.bin


More information about the Tilecache mailing list