diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2022-01-08 13:49:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-08 13:49:04 +0100 |
| commit | b34fabe4c577aa7cd2d9f6cfdbd20cfafc732f91 (patch) | |
| tree | 729d694f3378ba60f4e84dae6d315194c53873f2 /scripts/build_db.py | |
| parent | a03d3c16222ed4aed121d26bdf6db5fbf72ddeb0 (diff) | |
| parent | 804783fbd4b4ea6dbedc3de1d072512c6e4bd83c (diff) | |
| download | PROJ-b34fabe4c577aa7cd2d9f6cfdbd20cfafc732f91.tar.gz PROJ-b34fabe4c577aa7cd2d9f6cfdbd20cfafc732f91.zip | |
Merge pull request #3016 from rouault/epsg_10_047
Database: update to EPSG 10.047
Diffstat (limited to 'scripts/build_db.py')
| -rwxr-xr-x | scripts/build_db.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/build_db.py b/scripts/build_db.py index f93617bb..263756c9 100755 --- a/scripts/build_db.py +++ b/scripts/build_db.py @@ -282,9 +282,6 @@ def fill_geodetic_crs(proj_db_cursor): # they lacked a datum code. We will continue to ignore them. proj_db_cursor.execute("INSERT INTO geodetic_crs SELECT ?, coord_ref_sys_code, coord_ref_sys_name, NULL, coord_ref_sys_kind, ?, coord_sys_code, ?, datum_code, NULL, deprecated FROM epsg.epsg_coordinatereferencesystem WHERE coord_ref_sys_kind IN ('geographic 2D', 'geographic 3D', 'geocentric') AND datum_code IS NOT NULL AND NOT (coord_ref_sys_code > 61000000 AND deprecated)", (EPSG_AUTHORITY, EPSG_AUTHORITY, EPSG_AUTHORITY)) - # FIXME: remove me for EPSG > 10.044 where the issue with EPSG:4181 and EPSG:9893 having a null datum_code has been solved. - proj_db_cursor.execute("INSERT INTO geodetic_crs SELECT ?, coord_ref_sys_code, coord_ref_sys_name, NULL, coord_ref_sys_kind, ?, coord_sys_code, ?, 6181, NULL, deprecated FROM epsg.epsg_coordinatereferencesystem WHERE coord_ref_sys_kind IN ('geographic 2D', 'geographic 3D', 'geocentric') AND datum_code IS NULL AND coord_ref_sys_code IN (4181, 9893)", (EPSG_AUTHORITY, EPSG_AUTHORITY, EPSG_AUTHORITY)) - def fill_vertical_crs(proj_db_cursor): #proj_db_cursor.execute( |
