joey: thuban/Extensions/wms layer.py,1.5,1.6

cvs@intevation.de cvs at intevation.de
Thu Dec 9 11:34:06 CET 2004


Author: joey

Update of /thubanrepository/thuban/Extensions/wms
In directory doto:/tmp/cvs-serv14630

Modified Files:
	layer.py 
Log Message:
Improved graphic format priority now that more formats are supported
globally by the render engine.

Index: layer.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/wms/layer.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- layer.py	15 Apr 2004 17:28:04 -0000	1.5
+++ layer.py	9 Dec 2004 10:34:03 -0000	1.6
@@ -229,7 +229,7 @@
         image/wbmp or WBMP which refers to WAP bitmap format and is
         not supported by the included render engine.
         """
-        prio = ['jpeg', 'bmp']
+        prio = ['png', 'gif', 'jpeg', 'bmp']
         for p in prio:
             for f in formats:
                 if f.lower().find(p) > -1:





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)