aboutsummaryrefslogtreecommitdiff
path: root/scripts/build_db.py
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-05-16 12:41:07 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-05-16 12:41:07 +0200
commit752696eb8ac0ecb9ff96432ec5849625ed452f74 (patch)
treebe02df416cf02f5fcbda0bdba31444b1cd0d7035 /scripts/build_db.py
parent68a11b77249788fb8090e725792a5f62b4c5068b (diff)
downloadPROJ-752696eb8ac0ecb9ff96432ec5849625ed452f74.tar.gz
PROJ-752696eb8ac0ecb9ff96432ec5849625ed452f74.zip
Database: update to EPSG v10.022
Diffstat (limited to 'scripts/build_db.py')
-rwxr-xr-xscripts/build_db.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build_db.py b/scripts/build_db.py
index 7f17443c..c9f6960b 100755
--- a/scripts/build_db.py
+++ b/scripts/build_db.py
@@ -618,7 +618,8 @@ def fill_grid_transformation(proj_db_cursor):
# 1100: Geog3D to Geog2D+GravityRelatedHeight (PL txt)
# 1101: Vertical Offset by Grid Interpolation (PL txt)
# 1103: Geog3D to Geog2D+GravityRelatedHeight (EGM)
- elif method_code in (1071, 1080, 1081, 1083, 1084, 1085, 1088, 1089, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098, 1100, 1101, 1103) and n_params == 2:
+ # 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:
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