[Tilecache] Tilecache with OL + Sublayers (sublayers) = Bad transparency mask

Paul james pauljame at gmail.com
Mon Apr 12 08:56:12 EDT 2010


Hi...

OUTPUTFORMAT
        NAME aggpng24
        DRIVER AGG/PNG
        MIMETYPE "image/png"
        IMAGEMODE RGB
        EXTENSION "png"
    END

Thanks

On Mon, Apr 12, 2010 at 9:53 AM, Ivan Mincik <ivan.mincik at gmail.com> wrote:

> On Mon, Apr 12, 2010 at 2:16 PM, Paul james <pauljame at gmail.com> wrote:
> > Hello all!
> >
> > I have a Mapserver WMS + Openlayers application, using Geoext sublayers:
> > - LAYER1
> >    - SUBLAYER11
> >    - SUBLAYER12
> > -LAYER2
> >    SUBLAYER21
> > ...
> >
> >
> > But when I try to turn on two or more layer´s sublayers, i got the 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
>
> Can You paste Your OUTPUTFORMAT  configuration for these layers ?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20100412/fe308859/attachment.html


More information about the Tilecache mailing list