changeset 5159:074051942f92

merge
author Tom Gottfried <tom@intevation.de>
date Fri, 01 Mar 2013 13:33:03 +0100
parents a9658d43b621 (current diff) 608c6acf74c8 (diff)
children 0dae9e77c5da
files
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgtags	Fri Mar 01 13:28:45 2013 +0100
+++ b/.hgtags	Fri Mar 01 13:33:03 2013 +0100
@@ -26,3 +26,4 @@
 859278918eb14a8687fef60f2b33dcf89fe71f90 2.9.9
 859278918eb14a8687fef60f2b33dcf89fe71f90 2.9.9
 53be7313310416e1f8c3e0ec414684ca9c6c71df 2.9.9
+f459911fdbfbe2b2d23e06faba4e338514dd7b54 2.9.10
--- a/flys-backend/contrib/shpimporter/dgm.py	Fri Mar 01 13:28:45 2013 +0100
+++ b/flys-backend/contrib/shpimporter/dgm.py	Fri Mar 01 13:33:03 2013 +0100
@@ -8,8 +8,8 @@
 
 # <dbfield> : (<csvfield>, conversion function)
 DGM_MAP = {
-    "lower"           : ("km_von", lambda x: int(x)),
-    "upper"           : ("km_bis", lambda x: int(x)),
+    "lower"           : ("km_von", lambda x: float(x)),
+    "upper"           : ("km_bis", lambda x: float(x)),
     "year_from"       : "Jahr_von",
     "year_to"         : "Jahr_bis",
     "projection"      : "Projektion",

http://dive4elements.wald.intevation.org