diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-10-07 13:27:55 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-10-07 13:27:55 +0200 |
| commit | 7be04dedc2b23d6836f994c9bc1412d6a23a7267 (patch) | |
| tree | 55850b2586a94f81230e3653c4d1917180c164a4 /scripts/build_db.py | |
| parent | b0a98226795d22248c5fb19f8e949a347d7552c7 (diff) | |
| download | PROJ-7be04dedc2b23d6836f994c9bc1412d6a23a7267.tar.gz PROJ-7be04dedc2b23d6836f994c9bc1412d6a23a7267.zip | |
scripts/build_db.py: fix due to recent changes
Diffstat (limited to 'scripts/build_db.py')
| -rwxr-xr-x | scripts/build_db.py | 1 |
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 |
