[Dive4elements-commits] [PATCH 2 of 2] merge

Wald Commits scm-commit at wald.intevation.org
Fri Mar 1 13:33:38 CET 2013


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1362141183 -3600
# Node ID 074051942f92afcd78c8ad2731c8f35046fad639
# Parent  a9658d43b62121a793d89cf85467f65a350f417a
# Parent  608c6acf74c8cb0f8b1f3a6192c7a3f07a30e759
merge

diff -r a9658d43b621 -r 074051942f92 .hgtags
--- 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
diff -r a9658d43b621 -r 074051942f92 flys-backend/contrib/shpimporter/dgm.py
--- 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",


More information about the Dive4elements-commits mailing list