[Dive4elements-commits] [PATCH] Import fixpoints.hpgp also from attribut 'ART'

Wald Commits scm-commit at wald.intevation.org
Tue Apr 9 19:08:31 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1365527307 -7200
# Node ID c0ff14d03f1ff1cfd3f0132c402930721ac334ff
# Parent  0aaed46a88bef10246a6ce13f91cf8e82bb88374
Import fixpoints.hpgp also from attribut 'ART'

diff -r 0aaed46a88be -r c0ff14d03f1f flys-backend/contrib/shpimporter/fixpoints.py
--- a/flys-backend/contrib/shpimporter/fixpoints.py	Tue Apr 09 19:07:20 2013 +0200
+++ b/flys-backend/contrib/shpimporter/fixpoints.py	Tue Apr 09 19:08:27 2013 +0200
@@ -68,6 +68,8 @@
 
         if self.IsFieldSet(feat, "HPGP"):
             newFeat.SetField("HPGP", feat.GetField("HPGP"))
+        elif self.IsFieldSet(feat, "ART"):
+            newFeat.SetField("HPGP", feat.GetField("ART"))
 
         return newFeat
 


More information about the Dive4elements-commits mailing list