Mercurial > dive4elements > river
diff flys-backend/contrib/shpimporter/dgm.py @ 5156:f459911fdbfb
Fixed upper and lower conversions in DGM
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 01 Mar 2013 13:28:04 +0100 |
parents | 4f46679e13d0 |
children | 908848b74d7e |
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/dgm.py Fri Mar 01 12:40:15 2013 +0100 +++ b/flys-backend/contrib/shpimporter/dgm.py Fri Mar 01 13:28:04 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",