[Dive4elements-commits] [PATCH] Geoimpoter: Use attribute STROVOER, not SOBEK in hydr. boundaries
Wald Commits
scm-commit at wald.intevation.org
Thu Apr 18 09:04:05 CEST 2013
# HG changeset patch
# User Tom Gottfried <tom.gottfried at intevation.de>
# Date 1366268640 -7200
# Node ID 148365ff484d969c11aab213e5b95769aaa45c26
# Parent 2cd8fcec3f007ac44d9f0449865a3e497bb4a38d
Geoimpoter: Use attribute STROVOER, not SOBEK in hydr. boundaries
diff -r 2cd8fcec3f00 -r 148365ff484d flys-backend/contrib/shpimporter/boundaries.py
--- 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"))
More information about the Dive4elements-commits
mailing list