diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-02-20 22:16:13 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-02-21 11:48:25 +0100 |
| commit | 2620701a4bb51a20d49e869acddce2167ba791d0 (patch) | |
| tree | 6364efcf7aed0bee5d8cc099b6db23685ae19c82 /data | |
| parent | f5a78058c9d8e633e34e6b0979c79cb7d17b1a93 (diff) | |
| download | PROJ-2620701a4bb51a20d49e869acddce2167ba791d0.tar.gz PROJ-2620701a4bb51a20d49e869acddce2167ba791d0.zip | |
proj.db: add custom entry for 'RH2000 height to SWEREF99'
Diffstat (limited to 'data')
| -rw-r--r-- | data/sql/grid_alternatives.sql | 17 | ||||
| -rw-r--r-- | data/sql/grid_transformation_custom.sql | 15 |
2 files changed, 32 insertions, 0 deletions
diff --git a/data/sql/grid_alternatives.sql b/data/sql/grid_alternatives.sql index 99f20d0e..6cee2aca 100644 --- a/data/sql/grid_alternatives.sql +++ b/data/sql/grid_alternatives.sql @@ -286,6 +286,23 @@ INSERT INTO grid_alternatives(original_grid_name, 'proj-datumgrid-europe', NULL, NULL, NULL, NULL); +-- Sweden height models + +INSERT INTO grid_alternatives(original_grid_name, + proj_grid_name, + proj_grid_format, + proj_method, + inverse_direction, + package_name, + url, direct_download, open_license, directory) + VALUES ('SWEN17_RH2000.gtx', + 'SWEN17_RH2000.gtx', -- no change. Just document the package + 'GTX', + 'vgridshift', + 0, -- do not reverse here as grid_transformation_custom does reference from VerticalCRS height to Geographic height + 'proj-datumgrid-europe', + NULL, NULL, NULL, NULL); + ---------------------------- -- US GEOID12B height models ---------------------------- diff --git a/data/sql/grid_transformation_custom.sql b/data/sql/grid_transformation_custom.sql index a43312fe..89234ef7 100644 --- a/data/sql/grid_transformation_custom.sql +++ b/data/sql/grid_transformation_custom.sql @@ -1,5 +1,7 @@ -- This file is hand generated. +-- Denmark + INSERT INTO "grid_transformation" VALUES( 'PROJ','EPSG_5799_TO_EPSG_4937','DVR90 height to ETRS89', NULL,NULL, @@ -21,3 +23,16 @@ INSERT INTO "grid_transformation" VALUES( NULL, 'EPSG','8666','Geoid (height correction) model file','dnn.gtx', NULL,NULL,NULL,NULL,NULL,NULL,0); + +-- Sweden + +INSERT INTO "grid_transformation" VALUES( + 'PROJ','EPSG_5613_TO_EPSG_4377','RH2000 height to SWEREF99', + NULL,NULL, + 'PROJ','HEIGHT_TO_GEOGRAPHIC3D','GravityRelatedHeight to Geographic3D', + 'EPSG','5613', -- source CRS (RH2000 height) + 'EPSG','4377', -- target CRS (SWEREF99) + 'EPSG','3313', -- area of use: Sweden onshore + NULL, + 'EPSG','8666','Geoid (height correction) model file','SWEN17_RH2000.gtx', + NULL,NULL,NULL,NULL,NULL,NULL,0); |
