diff options
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, |
