changeset 5750:148365ff484d

Geoimpoter: Use attribute STROVOER, not SOBEK in hydr. boundaries
author Tom Gottfried <tom.gottfried@intevation.de>
date Thu, 18 Apr 2013 09:04:00 +0200
parents 2cd8fcec3f00
children 37c0b35e0fb5
files flys-backend/contrib/shpimporter/boundaries.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/boundaries.py	Wed Apr 17 19:41:12 2013 +0200
+++ b/flys-backend/contrib/shpimporter/boundaries.py	Thu Apr 18 09:04:00 2013 +0200
@@ -60,8 +60,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