Mercurial > dive4elements > river
diff flys-backend/contrib/shpimporter/fixpoints.py @ 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 | a5291a126e24 |
children |
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