diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-11-05 11:39:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-05 11:39:11 +0100 |
| commit | 76dfefe8fc9191bf2df8a232e379b85ca09c7d7d (patch) | |
| tree | 2234e39587176a861fec79aad97527e5e7628f0a /scripts/build_db.py | |
| parent | 792884b035b9ed6f4e4b674e059231957f8a72f2 (diff) | |
| parent | b2acc54e5f6997426b1a21ff2b35067969bcc6aa (diff) | |
| download | PROJ-76dfefe8fc9191bf2df8a232e379b85ca09c7d7d.tar.gz PROJ-76dfefe8fc9191bf2df8a232e379b85ca09c7d7d.zip | |
Merge pull request #2921 from rouault/epsg_10_039
Database: update to EPSG v10.039
Diffstat (limited to 'scripts/build_db.py')
| -rwxr-xr-x | scripts/build_db.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build_db.py b/scripts/build_db.py index df7cdcba..f1920c6d 100755 --- a/scripts/build_db.py +++ b/scripts/build_db.py @@ -622,7 +622,8 @@ def fill_grid_transformation(proj_db_cursor): # 1101: Vertical Offset by Grid Interpolation (PL txt) # 1103: Geog3D to Geog2D+GravityRelatedHeight (EGM) # 1105: Geog3D to Geog2D+GravityRelatedHeight (ITAL2005) - elif method_code in (1071, 1080, 1081, 1083, 1084, 1085, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1100, 1101, 1103, 1105) and n_params == 2: + # 1110: Geog3D to Geog2D+Depth (Gravsoft) + elif method_code in (1071, 1080, 1081, 1083, 1084, 1085, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1100, 1101, 1103, 1105, 1110) and n_params == 2: assert param_code[1] == 1048, (code, method_code, param_code[1]) interpolation_crs_auth_name = EPSG_AUTHORITY interpolation_crs_code = str(int(param_value[1])) # needed to avoid codes like XXXX.0 @@ -633,7 +634,7 @@ def fill_grid_transformation(proj_db_cursor): interpolation_crs_code = str(int(param_value[1])) # needed to avoid codes like XXXX.0 # ignoring parameter 2 Standard CT code else: - assert n_params == 1, (code, method_code) + assert n_params == 1, (code, name, method_code) arg = (EPSG_AUTHORITY, code, name, |
