[MapProxy] Merging two transparent layers
olt at omniscale.de
Wed Mar 13 02:07:20 PDT 2013
On 09.03.2013, at 16:32, Tobias Lohner wrote:
> i'm trying to merge two transparent layers with MapProxy into one (/service?layers=layer1,layer2&transparent=true), but somehow the lower of the two layers get's very transparent.
PIL doesn't support alpha compositing. See this thread http://lists.osgeo.org/pipermail/mapproxy/2012-January/000938.html
There is a fix in Pillow (the soon-to-be replacement of PIL) and a fix for MapProxy to use alpha compositing when available.
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.com
http://mapproxy.org | https://github.com/olt | @oltonn
More information about the MapProxy