[Dive4elements-commits] [PATCH 5 of 5] Set river_id for jetties

Wald Commits scm-commit at wald.intevation.org
Tue Mar 26 17:35:48 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1364315739 -3600
# Node ID 91b14ade214971aa6d4e30d04aaf61a730d5fb08
# Parent  b582df0c7b00279a155a147c78e72fc140c3b5aa
Set river_id for jetties

diff -r b582df0c7b00 -r 91b14ade2149 flys-backend/contrib/shpimporter/jetties.py
--- a/flys-backend/contrib/shpimporter/jetties.py	Tue Mar 26 17:31:55 2013 +0100
+++ b/flys-backend/contrib/shpimporter/jetties.py	Tue Mar 26 17:35:39 2013 +0100
@@ -68,6 +68,8 @@
 
         newFeat.SetGeometry(geometry)
 
+        newFeat.SetField("river_id", self.river_id)
+
         artname = self.searchField("^type$")
         if self.IsFieldSet(feat, artname):
             self.handled(artname)


More information about the Dive4elements-commits mailing list