changeset 5851:d5e95f926d13

use correct attribute name STROVOER also for polygon boundaries
author Tom Gottfried <tom.gottfried@intevation.de>
date Fri, 26 Apr 2013 13:12:29 +0200
parents 1830dae8cb9b
children 8c777c044025
files backend/contrib/shpimporter/boundaries.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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"))

http://dive4elements.wald.intevation.org