[MapProxy] Transparency Issue with MapProxy and QGIS Server
linus.lambrecht at reutlingen.de
linus.lambrecht at reutlingen.de
Wed Jan 15 05:57:42 PST 2025
Dear MapProxy Community,
we are experiencing an issue with MapProxy when using QGIS Server as a WMS
source for seeding and caching. The problem occurs when transparency is
enabled.
If transparency is activated in MapProxy, colors in the WMS and WMTS
output from MapProxy are altered. Specifically, gray (#ededed) turns into
pink (#ffeaf4) when the areas surrounding the gray regions are pink. It
appears that gray is first interpreted as transparent and then incorrectly
replaced with pink, likely due to how transparency is handled.
We have already set the transparent_color_tolerance to zero, but
unfortunately, this did not resolve the issue. Here is the relevant part
of our YAML configuration:
sources:
ALKIS:
coverage: *mycoverage
type: wms
req:
url:
http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?VERSION=1.3.0&map=E:%5Cqgis_wms%5CALKIS_farbig_test.qgz
layers: ALKIS_farbig
transparent: true
transparent_color: '#ffffff'
transparent_color_tolerance: 0
Has anyone encountered a similar issue, or does anyone have suggestions on
how to fix this?
Thank you in advance for your help!
Best regards
------------------------------------------------------------------------
Kontakt:
STADT REUTLINGEN
Amt für Stadtentwicklung und Vermessung / Geoinfosystem
mailto:linus.lambrecht at reutlingen.de
Tel: 07121/303-2692
Fax: 07121/303-2281
https://www.reutlingen.de
Test Plaintext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20250115/85d1f13b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Signatur familienfreundlicher Betrieb-mit Link.jpg
Type: image/jpeg
Size: 12223 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20250115/85d1f13b/attachment.jpg>
More information about the MapProxy
mailing list