aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-11-04 20:48:12 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-11-04 20:48:12 +0100
commitb2acc54e5f6997426b1a21ff2b35067969bcc6aa (patch)
tree253e016503bd497ec03ff7af210bd770900df3f9 /scripts
parentf133b42e1c2e44279751ab6fe04cd0481470875b (diff)
downloadPROJ-b2acc54e5f6997426b1a21ff2b35067969bcc6aa.tar.gz
PROJ-b2acc54e5f6997426b1a21ff2b35067969bcc6aa.zip
Database: update to EPSG v10.039
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_db.py5
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,