[Greater-commits] r3711 - in branches/3.0.0-all-models/GREAT-ER: . Greater/Modules

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Jul 27 13:04:14 CEST 2011


Author: aheinecke
Date: 2011-07-27 13:04:13 +0200 (Wed, 27 Jul 2011)
New Revision: 3711

Modified:
   branches/3.0.0-all-models/GREAT-ER/ChangeLog
   branches/3.0.0-all-models/GREAT-ER/Greater/Modules/analysis.py
Log:
Update changelog and remove setfields usage from sediment_extensions_results too


Modified: branches/3.0.0-all-models/GREAT-ER/ChangeLog
===================================================================
--- branches/3.0.0-all-models/GREAT-ER/ChangeLog	2011-07-27 10:57:05 UTC (rev 3710)
+++ branches/3.0.0-all-models/GREAT-ER/ChangeLog	2011-07-27 11:04:13 UTC (rev 3711)
@@ -1,7 +1,10 @@
 2011-07-27  Andre Heinecke <aheinecke at intevation.de>
 
-	*  Greater/Modules/analysis.py (sediment_extension_results):
+	* Greater/Modules/analysis.py (sediment_extension_results):
 		- Switch to new style ramps and generate_quantiles
+		- Access fields through classification columns
+	* Greater/UI/session.py (update_map):
+		- Use correct classifications
 
 2011-07-26  Andre Heinecke <aheinecke at intevation.de>
 

Modified: branches/3.0.0-all-models/GREAT-ER/Greater/Modules/analysis.py
===================================================================
--- branches/3.0.0-all-models/GREAT-ER/Greater/Modules/analysis.py	2011-07-27 10:57:05 UTC (rev 3710)
+++ branches/3.0.0-all-models/GREAT-ER/Greater/Modules/analysis.py	2011-07-27 11:04:13 UTC (rev 3711)
@@ -232,7 +232,7 @@
                                           [ 0.25, 0.50, 0.75, 1.0 ],
                                           green_to_red_ramp,
                                           Range(']0;oo['))
-            clazz.SetField(colname)
+            layer.SetClassificationColumn(colname)
             dg = clazz.GetDefaultGroup()
             dg.GetProperties().SetLineColor(Color(0,0,1))
             dg.SetLabel('0')



More information about the Greater-commits mailing list