I put all layers on tilecache.cfg :<br><br>[Layer1]<br>...<br>[Layer1Label]<br>...<br>[Layer2]<br>...<br><br>When I "Turn ON" two or more sublayer together I got that error:<br><br>An error occurred: Could not combine images: Is it possible that some layers are not
8-bit transparent images? <br><br>(Error was: bad transparency mask)
File "C:\inetpub\wwwroot\Openlayer\TileCache\Service.py", line 323, in cgiHandler
format, image = service.dispatchRequest( params, path_info, req_method, host )
File "C:\inetpub\wwwroot\Openlayer\TileCache\Service.py", line 234, in dispatchRequest
raise Exception("Could not combine images: Is it possible that some layers are not \n8-bit transparent images? \n(Error was: %s)" % E)
<br><br>Cache miss: -180.0,-90.0,0.0,90.0, Tile: x: 0, y: 0, z: 0, time: 0.828000068665
Cache miss: -180.0,-90.0,0.0,90.0, Tile: x: 0, y: 0, z: 0, time: 0.135999917984<br><br>Any idea?<br><br>Thanks<br><br><div class="gmail_quote">On Tue, Apr 6, 2010 at 4:51 PM, Paul james <span dir="ltr"><<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello ...<br><br><br>I´m started with Tilecache today, and its working fine with single layers :<br>
<br>tilecache.cfg :<br><br>[Layer1]<br>type=WMS<br>url=<a href="http://localhost/cgi-bin/mapserv.exe?map=map.map&" target="_blank">http://localhost/cgi-bin/mapserv.exe?map=map.map&</a><br>
extension=png<br><br>How can I configure tilecache.cfg to use with Geoext Sublayers like that one:<br><br><br> var _layerx = new OpenLayers.Layer.WMS("Test", _mapfile,<br> {<br> "LAYERS": ['Test1,Test1Label',<br>
'Test2,Test2Label', <br> 'Test3,Test3Label'],<br> transparent: true,<br> format: "image/png"<br> }, {<br>
isBaseLayer: false,<br> buffer: 0,<br> visibility: true<br> });<br><br><br>Thanks<br>
</blockquote></div><br>