[Greater-commits] r3847 - trunk/GREAT-ER/Greater/Modules

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Dec 1 10:01:47 CET 2011


Author: aheinecke
Date: 2011-12-01 10:01:47 +0100 (Thu, 01 Dec 2011)
New Revision: 3847

Modified:
   trunk/GREAT-ER/Greater/Modules/analysis.py
Log:
Classifications no longer have a GetField function.
The fieldname is the column name of the layer


Modified: trunk/GREAT-ER/Greater/Modules/analysis.py
===================================================================
--- trunk/GREAT-ER/Greater/Modules/analysis.py	2011-11-30 09:48:18 UTC (rev 3846)
+++ trunk/GREAT-ER/Greater/Modules/analysis.py	2011-12-01 09:01:47 UTC (rev 3847)
@@ -1304,7 +1304,7 @@
 
     wxBeginBusyCursor()
     try:
-        fieldname = layer.GetClassification().GetField()
+        fieldname = layer.GetClassificationColumn()
         ylabel     = layer.Title()
         table = layer.ShapeStore().Table()
         # only the table stored with the catchment contains the full



More information about the Greater-commits mailing list