[Pywps-commits] r1130 - trunk/pywps/Wps/Execute

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Feb 23 17:46:26 CET 2011


Author: jesus
Date: 2011-02-23 17:46:25 +0100 (Wed, 23 Feb 2011)
New Revision: 1130

Modified:
   trunk/pywps/Wps/Execute/UMN.py
Log:
mimetype bug key in getMapServerWCS()

Modified: trunk/pywps/Wps/Execute/UMN.py
===================================================================
--- trunk/pywps/Wps/Execute/UMN.py	2011-02-22 08:52:31 UTC (rev 1129)
+++ trunk/pywps/Wps/Execute/UMN.py	2011-02-23 16:46:25 UTC (rev 1130)
@@ -308,7 +308,7 @@
                 "&SERVICE=WCS"+ "&REQUEST=GetCoverage"+ "&VERSION=1.0.0"+
                 "&COVERAGE="+output.identifier+"&CRS="+output.projection.replace("+init=","")+
                 "&BBOX=%s,%s,%s,%s"%(output.bbox[0],output.bbox[1],output.bbox[2],output.bbox[3])+
-                "&HEIGHT=%s" %(output.height)+"&WIDTH=%s"%(output.width)+"&FORMAT=%s"%output.format["mimeType"])
+                "&HEIGHT=%s" %(output.height)+"&WIDTH=%s"%(output.width)+"&FORMAT=%s"%output.format["mimetype"])
 
     def getMapServerWFS(self,output):
         """Get the URL for mapserver WFS request of the output"""



More information about the Pywps-commits mailing list