changeset 5624:c0ff14d03f1f

Import fixpoints.hpgp also from attribut 'ART'
author Tom Gottfried <tom@intevation.de>
date Tue, 09 Apr 2013 19:08:27 +0200
parents 0aaed46a88be
children a8cc4ebdd0bb
files flys-backend/contrib/shpimporter/fixpoints.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
 

http://dive4elements.wald.intevation.org