From 95ee9fabd268dde1a3c8b51e88bb7dc318e29de1 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 21 Feb 2019 11:35:12 +0100 Subject: proj.db: add custom entry for 'FVR09 height to ETRS89' --- data/sql/grid_alternatives.sql | 17 +++++++++++++++++ data/sql/grid_transformation_custom.sql | 13 +++++++++++++ 2 files changed, 30 insertions(+) (limited to 'data/sql') 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( -- cgit v1.2.3