aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-10-07 13:27:55 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-10-07 13:27:55 +0200
commit7be04dedc2b23d6836f994c9bc1412d6a23a7267 (patch)
tree55850b2586a94f81230e3653c4d1917180c164a4
parentb0a98226795d22248c5fb19f8e949a347d7552c7 (diff)
downloadPROJ-7be04dedc2b23d6836f994c9bc1412d6a23a7267.tar.gz
PROJ-7be04dedc2b23d6836f994c9bc1412d6a23a7267.zip
scripts/build_db.py: fix due to recent changes
-rwxr-xr-xscripts/build_db.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build_db.py b/scripts/build_db.py
index a11fc14b..df7cdcba 100755
--- a/scripts/build_db.py
+++ b/scripts/build_db.py
@@ -899,6 +899,7 @@ proj_db_cursor = proj_db_conn.cursor()
proj_db_cursor.execute('PRAGMA foreign_keys = 1;')
ingest_sqlite_dump(proj_db_cursor, os.path.join(sql_dir_name, 'proj_db_table_defs.sql'))
+proj_db_cursor.execute("INSERT INTO celestial_body VALUES('PROJ', 'EARTH', 'Earth', 6378137.0);")
# A bit messy, but to avoid churn in our existing .sql files, we temporarily
# recreate the original conversion and helmert_transformation tables