diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-09-09 22:28:41 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-09-09 22:28:41 +0200 |
| commit | b69aa99cab3fd8c6d99e7429901fecd68cf7cd9d (patch) | |
| tree | 4675874a0c4fee254c08529bfcea9aeb532cf153 /scripts | |
| parent | af2ab20b508fd1a1ac64c2599ec9507aeb7aa2f0 (diff) | |
| download | PROJ-b69aa99cab3fd8c6d99e7429901fecd68cf7cd9d.tar.gz PROJ-b69aa99cab3fd8c6d99e7429901fecd68cf7cd9d.zip | |
Database: update to EPSG 9.9
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/build_db.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build_db.py b/scripts/build_db.py index 709914d8..8f312955 100755 --- a/scripts/build_db.py +++ b/scripts/build_db.py @@ -398,19 +398,19 @@ def fill_grid_transformation(proj_db_cursor): # 1071: Vertical Offset by Grid Interpolation (NZLVD) # 1080: Vertical Offset by Grid Interpolation (BEV AT) # 1081: Geographic3D to GravityRelatedHeight (BEV AT) + # 1083: Geog3D to Geog2D+Vertical (AUSGeoid v2) # 1084: Vertical Offset by Grid Interpolation (gtx) - elif method_code in (1071, 1080, 1081, 1084) and n_params == 2: + # 1085: Vertical Offset by Grid Interpolation (asc) + elif method_code in (1071, 1080, 1081, 1083, 1084, 1085) 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 - elif method_name == 'Geocentric translation by Grid Interpolation (IGN)': - 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 - elif method_code == 1085: # Vertical Offset by Grid Interpolation (asc) + # 1087: Geocentric translation by Grid Interpolation (IGN) + elif method_code in (1087, ) and n_params == 3: 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 + # ignoring parameter 2 Standard CT code else: assert n_params == 1, (code, method_code) |
