diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-02-21 11:35:12 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-02-21 11:48:45 +0100 |
| commit | 95ee9fabd268dde1a3c8b51e88bb7dc318e29de1 (patch) | |
| tree | cb5064406dda2eb009fcefa0ca6a94170952b91d | |
| parent | 5c691e7fec7c244b1a1a6b5ef97df2cf69e403df (diff) | |
| download | PROJ-95ee9fabd268dde1a3c8b51e88bb7dc318e29de1.tar.gz PROJ-95ee9fabd268dde1a3c8b51e88bb7dc318e29de1.zip | |
proj.db: add custom entry for 'FVR09 height to ETRS89'
| -rw-r--r-- | data/sql/grid_alternatives.sql | 17 | ||||
| -rw-r--r-- | data/sql/grid_transformation_custom.sql | 13 |
2 files changed, 30 insertions, 0 deletions
diff --git a/data/sql/grid_alternatives.sql b/data/sql/grid_alternatives.sql index dfeb1251..a287012c 100644 --- a/data/sql/grid_alternatives.sql +++ b/data/sql/grid_alternatives.sql @@ -292,6 +292,23 @@ INSERT INTO grid_alternatives(original_grid_name, 'proj-datumgrid-europe', NULL, NULL, NULL, NULL); +-- Faroe islands 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 ('fvr09.gtx', + 'fvr09.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); + -- Sweden height models INSERT INTO grid_alternatives(original_grid_name, diff --git a/data/sql/grid_transformation_custom.sql b/data/sql/grid_transformation_custom.sql index 89234ef7..3c47273e 100644 --- a/data/sql/grid_transformation_custom.sql +++ b/data/sql/grid_transformation_custom.sql @@ -24,6 +24,19 @@ INSERT INTO "grid_transformation" VALUES( 'EPSG','8666','Geoid (height correction) model file','dnn.gtx', NULL,NULL,NULL,NULL,NULL,NULL,0); +-- Faroe Islands + +INSERT INTO "grid_transformation" VALUES( + 'PROJ','EPSG_5317_TO_EPSG_4937','FVR09 height to ETRS89', + NULL,NULL, + 'PROJ','HEIGHT_TO_GEOGRAPHIC3D','GravityRelatedHeight to Geographic3D', + 'EPSG','5317', -- source CRS (FVR09 height) + 'EPSG','4937', -- target CRS (ETRS89) + 'EPSG','3248', -- area of use: Faroe Islands - onshore + NULL, + 'EPSG','8666','Geoid (height correction) model file','fvr09.gtx', + NULL,NULL,NULL,NULL,NULL,NULL,0); + -- Sweden INSERT INTO "grid_transformation" VALUES( |
