[Users] Tilecache + GeoExt Sublayers...
Paul james
pauljame at gmail.com
Wed Apr 7 16:29:40 CEST 2010
I put all layers on tilecache.cfg :
[Layer1]
...
[Layer1Label]
...
[Layer2]
...
When I "Turn ON" two or more sublayer together I got that error:
An error occurred: Could not combine images: Is it possible that some layers
are not 8-bit transparent images?
(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)
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
Any idea?
Thanks
On Tue, Apr 6, 2010 at 4:51 PM, Paul james <pauljame at gmail.com> wrote:
> Hello ...
>
>
> I´m started with Tilecache today, and its working fine with single layers :
>
> tilecache.cfg :
>
> [Layer1]
> type=WMS
> url=http://localhost/cgi-bin/mapserv.exe?map=map.map&
> extension=png
>
> How can I configure tilecache.cfg to use with Geoext Sublayers like that
> one:
>
>
> var _layerx = new OpenLayers.Layer.WMS("Test", _mapfile,
> {
> "LAYERS": ['Test1,Test1Label',
> 'Test2,Test2Label',
> 'Test3,Test3Label'],
> transparent: true,
> format: "image/png"
> }, {
> isBaseLayer: false,
> buffer: 0,
> visibility: true
> });
>
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100407/ac25fff2/attachment.htm
More information about the Users
mailing list