Mercurial > dive4elements > river
diff flys-backend/contrib/shpimporter/fixpoints.py @ 5302:71a24278322c
fixed import of fixpoints and hydraulic boundaries (made by A. Heinecke)
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Thu, 14 Mar 2013 15:31:29 +0100 |
parents | edba92337204 |
children | a5291a126e24 |
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/fixpoints.py Thu Mar 14 15:01:36 2013 +0100 +++ b/flys-backend/contrib/shpimporter/fixpoints.py Thu Mar 14 15:31:29 2013 +0100 @@ -52,6 +52,7 @@ elif self.IsFieldSet(feat, "ELBE_KM"): newFeat.SetField("km", feat.GetFieldAsDouble("ELBE_KM")) else: + global fixpoints_no_km_logged if not fixpoints_no_km_logged: logger.error("Could not find KM attribute") fixpoints_no_km_logged = True