[Pywps-commits] r1165 - trunk/pywps/Wps/Execute
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jul 6 10:46:31 CEST 2011
Author: jesus
Date: 2011-07-06 10:46:31 +0200 (Wed, 06 Jul 2011)
New Revision: 1165
Modified:
trunk/pywps/Wps/Execute/__init__.py
Log:
BUG: BBOX lineage wasnt working. _lineageBBOXInput() changed before restructure of BBOX object
Modified: trunk/pywps/Wps/Execute/__init__.py
===================================================================
--- trunk/pywps/Wps/Execute/__init__.py 2011-07-06 08:44:59 UTC (rev 1164)
+++ trunk/pywps/Wps/Execute/__init__.py 2011-07-06 08:46:31 UTC (rev 1165)
@@ -802,10 +802,16 @@
bboxInput["bboxdata"] = 1
bboxInput["crss"] = [input.crs]
bboxInput["dimensions"] = input.dimensions
- bboxInput["minx"] = input.minx
- bboxInput["miny"] = input.miny
- bboxInput["maxx"] = input.maxx
- bboxInput["maxy"] = input.maxy
+ #bboxInput["minx"] = input.minx
+ #bboxInput["miny"] = input.miny
+ #bboxInput["maxx"] = input.maxx
+ #bboxInput["maxy"] = input.maxy
+
+ #((minx,miny),(maxx, maxy))
+ bboxInput["minx"] = input.value.coords[0][0]
+ bboxInput["miny"] = input.value.coords[0][1]
+ bboxInput["maxx"] = input.value.coords[1][0]
+ bboxInput["maxy"] = input.value.coords[1][1]
return bboxInput
def outputDefinitions(self):
More information about the Pywps-commits
mailing list