From eaebbe289af828c922f1fbde05ede71a1cb80f56 Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Thu, 4 Jan 2024 20:19:19 +0100 Subject: [PATCH 1/2] Remove non-EPSG DVR90 transformation from DB This grid transformation is now available from the EPSG-database and can now be removed. --- data/sql/grid_alternatives.sql | 1 - data/sql/grid_transformation_custom.sql | 20 -------------------- 2 files changed, 21 deletions(-) diff --git a/data/sql/grid_alternatives.sql b/data/sql/grid_alternatives.sql index cf2fd2ac51..5f7ee8e3ef 100644 --- a/data/sql/grid_alternatives.sql +++ b/data/sql/grid_alternatives.sql @@ -123,7 +123,6 @@ VALUES -- dk_sdfe - Danish Agency for Data Supply and Efficiency -- Denmark mainland ('dnn.gtx','dk_sdfe_dnn.tif','dnn.gtx','GTiff','geoid_like',0,NULL,'https://cdn.proj.org/dk_sdfe_dnn.tif',1,1,NULL), -('dvr90.gtx','dk_sdfe_dvr90.tif','dvr90.gtx','GTiff','geoid_like',0,NULL,'https://cdn.proj.org/dk_sdfe_dvr90.tif',1,1,NULL), -- Faroe islands height models ('fvr09.gtx','dk_sdfe_fvr09.tif','fvr09.gtx','GTiff','geoid_like',0,NULL,'https://cdn.proj.org/dk_sdfe_fvr09.tif',1,1,NULL), -- Greenland height models diff --git a/data/sql/grid_transformation_custom.sql b/data/sql/grid_transformation_custom.sql index e8f89d0257..94b30a2fc0 100644 --- a/data/sql/grid_transformation_custom.sql +++ b/data/sql/grid_transformation_custom.sql @@ -2,26 +2,6 @@ -- Denmark -INSERT INTO "grid_transformation" VALUES( - 'PROJ','EPSG_4937_TO_EPSG_5799','ETRS89 to DVR90 height', - NULL, - 'EPSG','9665','Geographic3D to GravityRelatedHeight (gtx)', - 'EPSG','4937', -- source CRS (ETRS89) - 'EPSG','5799', -- target CRS (DVR90 height) - NULL, - 'EPSG','8666','Geoid (height correction) model file','dvr90.gtx', - NULL,NULL,NULL,NULL,NULL,NULL,NULL,0); - -INSERT INTO "usage" VALUES( - 'PROJ', - 'EPSG_4937_TO_EPSG_5799_USAGE', - 'grid_transformation', - 'PROJ', - 'EPSG_4937_TO_EPSG_5799', - 'EPSG','3237', -- area of use: Denmark onshore - 'EPSG','1024' -- unknown -); - INSERT INTO "grid_transformation" VALUES( 'PROJ','EPSG_4937_TO_EPSG_5733','ETRS89 to DNN height', NULL, From 5498e6838e41b87ae4bdec4f740ba8ee107322ee Mon Sep 17 00:00:00 2001 From: Kristian Evers Date: Thu, 4 Jan 2024 21:29:39 +0100 Subject: [PATCH 2/2] Update grid_alternatives with new DVR90 grids --- data/sql/grid_alternatives.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/sql/grid_alternatives.sql b/data/sql/grid_alternatives.sql index 5f7ee8e3ef..7ad3af99ab 100644 --- a/data/sql/grid_alternatives.sql +++ b/data/sql/grid_alternatives.sql @@ -138,6 +138,9 @@ VALUES ('s34j_2022.gsb','dk_sdfi_s34j_2022.tif',NULL,'GTiff','hgridshift',0,NULL,'https://cdn.proj.org/dk_sdfi_s34j_2022.tif',1,1,NULL), ('s34s_2022.gsb','dk_sdfi_s34s_2022.tif',NULL,'GTiff','hgridshift',0,NULL,'https://cdn.proj.org/dk_sdfi_s34s_2022.tif',1,1,NULL), ('s45b_2022.gsb','dk_sdfi_s45b_2022.tif',NULL,'GTiff','hgridshift',0,NULL,'https://cdn.proj.org/dk_sdfi_s45b_2022.tif',1,1,NULL), +('dvr90_2002.tif','dk_sdfi_dvr90_2002.tif',NULL,'GTiff','hgridshift',0,NULL,'https://cdn.proj.org/dk_sdfi_dvr90_2002.tif',1,1,NULL), +('dvr90_2013.tif','dk_sdfi_dvr90_2013.tif',NULL,'GTiff','hgridshift',0,NULL,'https://cdn.proj.org/dk_sdfi_dvr90_2013.tif',1,1,NULL), +('dvr90_2023.tif','dk_sdfi_dvr90_2023.tif',NULL,'GTiff','hgridshift',0,NULL,'https://cdn.proj.org/dk_sdfi_dvr90_2023.tif',1,1,NULL), -- es_cat_icgc - Institut Cartogràfic i Geològic de Catalunya (ICGC) ('100800401.gsb','es_cat_icgc_100800401.tif','100800401.gsb','GTiff','hgridshift',0,NULL,'https://cdn.proj.org/es_cat_icgc_100800401.tif',1,1,NULL),