[MapProxy] How do I get these tile sets overlayed with transparency?
Michael Heerdegen
michael_heerdegen at web.de
Wed Dec 4 06:14:07 PST 2024
Daniel Cebulla via MapProxy <mapproxy at lists.osgeo.org> writes:
> Is there a chance, that the term you are looking for in your use case
> is "opacity" instead?? ...
Of course. Thank you for mentioning that point.
> From the docs:
>
> opacity
> Configures the opacity of a layer or cache. This value is used when the source or cache
> is placed on other layers and it can be used to overlay non-transparent images. It does
> not alter the image itself, and only effects when multiple layers are merged to one
> image. The value should be between 0.0 (full transparent) and 1.0 (opaque, i.e. the
> layers below will not be rendered).
I played with it for quite a while and didn't get it work. Specifying
opacity is not rejected (don't get a warning) but it has no effect.
There are opacity related bugs, but maybe I'm trying wrong. Tried a
lot, though.
There are also "transparent_color" and "transparent_color_tolerance",
but also these don't have an effect. Tried different combinations with
different numbers of caches.
I attach the end result of my today's trials, if somebody wants to play
with it... Is there something obviously wrong?
Thx, Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my-basemapwms-cp.yaml
Type: application/octet-stream
Size: 1212 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20241204/22156e3a/attachment.obj>
More information about the MapProxy
mailing list