diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-11-06 18:18:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-06 18:18:58 +0100 |
| commit | b9809123252f0fd74e36cedb06866824aca9a124 (patch) | |
| tree | ac998d803f1a1954e659bdf7b047c45ca2bc1305 /scripts | |
| parent | b71bee7b60b07d27d39b8a3366433ae123bcd633 (diff) | |
| parent | d76d1adffded8a734e36a0017601dee9d892b7f7 (diff) | |
| download | PROJ-b9809123252f0fd74e36cedb06866824aca9a124.tar.gz PROJ-b9809123252f0fd74e36cedb06866824aca9a124.zip | |
Merge pull request #2923 from OSGeo/backport-2921-to-8.2
[Backport 8.2] Database: update to EPSG v10.039
Diffstat (limited to 'scripts')
| -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, |
