diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-01-22 22:09:26 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-01-23 19:05:48 +0100 |
| commit | ae1a0324fb51c8a357b24991c3627d5c2414a784 (patch) | |
| tree | 15570cf7eb0fa9bd28ecbcd096b807f2a1b859a4 /scripts | |
| parent | a217239fa55b5c7002d37a5b17fb41117dfb4b64 (diff) | |
| download | PROJ-ae1a0324fb51c8a357b24991c3627d5c2414a784.tar.gz PROJ-ae1a0324fb51c8a357b24991c3627d5c2414a784.zip | |
Database: update to EPSG v9.8.6
Fixes #1867
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/build_db.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/build_db.py b/scripts/build_db.py index dbb1c727..37b503ef 100755 --- a/scripts/build_db.py +++ b/scripts/build_db.py @@ -395,8 +395,12 @@ def fill_grid_transformation(proj_db_cursor): grid2_param_code = param_code[1] grid2_param_name = param_name[1] grid2_value = param_value[1] - elif method_code == 1071: # Vertical Offset by Grid Interpolation (NZLVD) - assert param_code[1] == 1048, param_code[1] + # 1071: Vertical Offset by Grid Interpolation (NZLVD) + # 1080: Vertical Offset by Grid Interpolation (BEV AT) + # 1081: Geographic3D to GravityRelatedHeight (BEV AT) + # 1084: Vertical Offset by Grid Interpolation (gtx) + elif method_code in (1071, 1080, 1081, 1084) 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 else: |
