Mercurial > dive4elements > river
changeset 4993:71e1b96f4794 dami
Add srid field
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Thu, 14 Feb 2013 17:45:13 +0100 |
parents | ecc6fd57b630 |
children | 998b29c8d2fd |
files | flys-backend/contrib/shpimporter/dgm.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/contrib/shpimporter/dgm.py Thu Feb 14 17:38:34 2013 +0100 +++ b/flys-backend/contrib/shpimporter/dgm.py Thu Feb 14 17:45:13 2013 +0100 @@ -20,12 +20,12 @@ lambda x: True if x.lower() == "Ja" else False), "resolution" : (latin("Auflösung"), lambda x: x), # "description" : -# : "SRID", + "srid" : "SRID", "path" : ("Pfad_Bestand", lambda x: x), } SQL_INSERT_DGT = "INSERT INTO dem (river_id, " + ", ".join(DGM_MAP.keys()) + \ - ") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)" + ") VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)" def insertRiverDgm(dbconn, dgmfile, river_name, dry_run): with codecs.open(dgmfile, "r", "latin1") as csvfile: