[Thuban-commits] r2914 - in trunk/thuban: . Extensions/wms

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Tue Sep 10 16:18:14 CEST 2013


Author: bernhard
Date: 2013-09-10 16:18:14 +0200 (Tue, 10 Sep 2013)
New Revision: 2914

Modified:
   trunk/thuban/ChangeLog
   trunk/thuban/Extensions/wms/layer.py
Log:
Extensions/wms/layer.py: try to get a png with transparency.


Modified: trunk/thuban/ChangeLog
===================================================================
--- trunk/thuban/ChangeLog	2013-09-10 14:14:35 UTC (rev 2913)
+++ trunk/thuban/ChangeLog	2013-09-10 14:18:14 UTC (rev 2914)
@@ -1,7 +1,8 @@
 2013-09-10 Bernhard Reiter <bernhard at intevation.de>
 
   * Extensions/wms/layer.py: Trying the WMS second layer in the list of layers,
-	which often is a real layer. Fallback is the first layer.
+	which often is a real layer. Fallback is the first layer. 
+        Also try to get a png with transparency.
 
 2013-09-08 Bernhard Reiter <bernhard at intevation.de>
 

Modified: trunk/thuban/Extensions/wms/layer.py
===================================================================
--- trunk/thuban/Extensions/wms/layer.py	2013-09-10 14:14:35 UTC (rev 2913)
+++ trunk/thuban/Extensions/wms/layer.py	2013-09-10 14:18:14 UTC (rev 2914)
@@ -354,7 +354,7 @@
                                              bbox=bbox, 
                                              size=(width, height), 
                                              format=self.wmsformat, 
-                                             transparent=False)
+                                             transparent=True)
         self.cached_response = wms_response.read()
 
         ThubanEndBusyCursor()



More information about the Thuban-commits mailing list