[MapProxy] more opacity questions

DeDuikertjes DeDuikertjes at xs4all.nl
Sat Jan 7 14:27:26 EST 2012


Here you can find some example images in different shades of black-opaque:

At the moment I cannot reproduce the white-opaque images.

Op 7-1-2012 18:10, Jeffrey Warren schreef:
> Can you post links to your result images?
> On Jan 7, 2012 10:08 AM, "DeDuikertjes" <DeDuikertjes at xs4all.nl 
> <mailto:DeDuikertjes at xs4all.nl>> wrote:
>     List,
>     Now that I have opacity working I'm getting some strange results.
>     The opacity of the features is always ok (semi-opaque as set).
>     However, the transparency in between the features behave very
>     strange.
>     For the same layer I get tiles where the area around the features
>     is black-semi-opaque as well as tiles where the area around the
>     features is white-semi-opaque
>     I've done some investigating. I came to these findings:
>     - It doesn't matter how image mode is specified on source or
>     cache. All tiles are stored in indexed 8 bit.
>     - stored tiles do have transparent background
>     - the features in the caches tiles are opaque
>     - So: the image opacity is not applied on storage of the tiles,
>     but  when tiles are requested.
>     - is doesn't matter what image mode I set, I always get the same
>     result:
>       semi opaque features as set with image opacity
>       area around the features not transparent but semi-opaque white
>     or semi-opaque black.
>     Any one have a clue how to solve this?
>     Any help again greatly appreciated, MArco
>     _______________________________________________
>     MapProxy mailing list
>     MapProxy at lists.osgeo.org <mailto:MapProxy at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/mapproxy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20120107/940550b0/attachment.html

More information about the MapProxy mailing list