aboutsummaryrefslogtreecommitdiff
path: root/scripts/build_db_from_esri.py
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-10-11 19:50:09 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-10-11 19:50:09 +0200
commitad80dc88a70032e1d96812b574b2d4d22e223394 (patch)
treebe61efbce545fc2940861e218e2e1f448f1bb66f /scripts/build_db_from_esri.py
parentacd1cf3278a532b56f3f621e27a8895b3db3cb75 (diff)
downloadPROJ-ad80dc88a70032e1d96812b574b2d4d22e223394.tar.gz
PROJ-ad80dc88a70032e1d96812b574b2d4d22e223394.zip
Database: add a frame_reference_epoch column in vertical_datum to be able to handle dynamic vertical datums, and instanciate them properly from database
Diffstat (limited to 'scripts/build_db_from_esri.py')
-rwxr-xr-xscripts/build_db_from_esri.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build_db_from_esri.py b/scripts/build_db_from_esri.py
index dbef495e..2c1c5883 100755
--- a/scripts/build_db_from_esri.py
+++ b/scripts/build_db_from_esri.py
@@ -1259,7 +1259,7 @@ def import_vertcs():
datum_written.add(datum_code)
p = map_vdatum_esri_to_parameters[datum_code]
- sql = """INSERT INTO "vertical_datum" VALUES('ESRI','%s','%s',NULL,NULL,NULL,%d);""" % (
+ sql = """INSERT INTO "vertical_datum" VALUES('ESRI','%s','%s',NULL,NULL,NULL,NULL,%d);""" % (
datum_code, p['esri_name'], p['deprecated'])
all_sql.append(sql)
sql = """INSERT INTO "usage" VALUES('ESRI', '%s_USAGE','vertical_datum','ESRI','%s','%s','%s','%s','%s');""" % (datum_code, datum_code, extent_auth_name, extent_code, 'EPSG', '1024')