[MapProxy] Merging two transparent layers
Oliver Tonnhofer
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[1] in Pillow (the soon-to-be replacement of PIL) and a fix for MapProxy to use alpha compositing when available[2].
[1] https://github.com/python-imaging/Pillow/pull/23
[2] https://github.com/mapproxy/mapproxy/pull/47
Regards,
Oliver
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.com
http://mapproxy.org | https://github.com/olt | @oltonn
More information about the MapProxy
mailing list