[Dive4elements-commits] [PATCH 1 of 2] use correct attribute name STROVOER also for polygon boundaries

Wald Commits scm-commit at wald.intevation.org
Fri Apr 26 13:13:30 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1366974749 -7200
# Node ID d5e95f926d13efb8891623a644e5acf2b33bc1c9
# Parent  1830dae8cb9b4c93810aca53dcba87f047f96907
use correct attribute name STROVOER also for polygon boundaries

diff -r 1830dae8cb9b -r d5e95f926d13 backend/contrib/shpimporter/boundaries.py
--- a/backend/contrib/shpimporter/boundaries.py	Fri Apr 26 08:52:18 2013 +0200
+++ b/backend/contrib/shpimporter/boundaries.py	Fri Apr 26 13:12:29 2013 +0200
@@ -103,8 +103,8 @@
         if self.IsFieldSet(feat, "SECTIE"):
             newFeat.SetField("sectie", feat.GetField("SECTIE"))
 
-        if self.IsFieldSet(feat, "SOBEK"):
-            newFeat.SetField("sobek", feat.GetField("SOBEK"))
+        if self.IsFieldSet(feat, "STROVOER"):
+            newFeat.SetField("sobek", feat.GetField("STROVOER"))
 
         if self.IsFieldSet(feat, "river_id"):
             newFeat.SetField("river_id", feat.GetField("river_id"))


More information about the Dive4elements-commits mailing list