diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2022-02-13 11:26:05 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2022-02-13 11:26:05 +0100 |
| commit | 9e6dc013e9b2d3db82eaf5d9a3a57eaff2c027c5 (patch) | |
| tree | fc5357711e9e5ba75e2ac0847d5cf906cfb74089 /scripts/build_db.py | |
| parent | a9ce8aa28f0ccf775f238b2ca1bafca0c7616bcf (diff) | |
| download | PROJ-9e6dc013e9b2d3db82eaf5d9a3a57eaff2c027c5.tar.gz PROJ-9e6dc013e9b2d3db82eaf5d9a3a57eaff2c027c5.zip | |
Database: update to EPSG v10.054
Diffstat (limited to 'scripts/build_db.py')
| -rwxr-xr-x | scripts/build_db.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/build_db.py b/scripts/build_db.py index e221c057..263756c9 100755 --- a/scripts/build_db.py +++ b/scripts/build_db.py @@ -432,10 +432,6 @@ def fill_compound_crs(proj_db_cursor): proj_db_cursor.execute("SELECT ?, coord_ref_sys_code, coord_ref_sys_name, NULL, ?, cmpd_horizcrs_code, ?, cmpd_vertcrs_code, deprecated FROM epsg.epsg_coordinatereferencesystem WHERE coord_ref_sys_kind IN ('compound') AND cmpd_horizcrs_code NOT IN (SELECT coord_ref_sys_code FROM epsg.epsg_coordinatereferencesystem WHERE coord_ref_sys_kind = 'engineering')", (EPSG_AUTHORITY, EPSG_AUTHORITY, EPSG_AUTHORITY)) for auth_name, code, name, description, horiz_auth_name, horiz_code, vert_auth_name, vert_code, deprecated in proj_db_cursor.fetchall(): try: - # FIXME: dummy test record of EPSG 10.051 that should be removed in later versoins - if code == 9912 and name == 'test': - print('Skip EPSG:9912 test record') - continue proj_db_cursor.execute("INSERT INTO compound_crs VALUES (?,?,?,?,?,?,?,?,?)", (auth_name, code, name, description, horiz_auth_name, horiz_code, vert_auth_name, vert_code, deprecated)) except sqlite3.IntegrityError as e: print(e) |
