aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-12-17 16:54:16 +0100
committerGitHub <noreply@github.com>2019-12-17 16:54:16 +0100
commit216492df4358c552875d834365857ed3a3dd8d8c (patch)
tree9ae8e5ad9d7202aee9dfbb6b6f77fe7deeff8e60
parent7de0f0931c43056782c73837503f06e5e4e24d7b (diff)
downloadPROJ-216492df4358c552875d834365857ed3a3dd8d8c.tar.gz
PROJ-216492df4358c552875d834365857ed3a3dd8d8c.zip
Database: register SeTa2016.gsb for DHDN to ETRS89 in Saarland (refs https://github.com/OSGeo/proj-datumgrid/pull/89) (#1791)
-rw-r--r--data/sql/grid_alternatives.sql15
-rw-r--r--data/sql/grid_transformation_custom.sql8
2 files changed, 22 insertions, 1 deletions
diff --git a/data/sql/grid_alternatives.sql b/data/sql/grid_alternatives.sql
index ee8760db..86d61ffa 100644
--- a/data/sql/grid_alternatives.sql
+++ b/data/sql/grid_alternatives.sql
@@ -140,6 +140,21 @@ INSERT INTO grid_alternatives(original_grid_name,
inverse_direction,
package_name,
url, direct_download, open_license, directory)
+ VALUES ('SeTa2016.gsb',
+ 'SeTa2016.gsb', -- no change. Just document the package
+ 'NTv2',
+ 'hgridshift',
+ 0,
+ 'proj-datumgrid-europe',
+ NULL, NULL, NULL, NULL);
+
+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 ('NTv2_SN.gsb',
'NTv2_SN.gsb', -- no change. Just document the package
'NTv2',
diff --git a/data/sql/grid_transformation_custom.sql b/data/sql/grid_transformation_custom.sql
index 189b9e50..97434ad8 100644
--- a/data/sql/grid_transformation_custom.sql
+++ b/data/sql/grid_transformation_custom.sql
@@ -56,6 +56,12 @@ INSERT INTO "area" VALUES('PROJ','BWTA2017','Germany - Baden-Wurtemberg','German
-- Advertize a 0.8 accuracy slightly better than the 0.9 of BETA2007 for sort purposes
INSERT INTO "grid_transformation" VALUES('PROJ','BWTA2017','DHDN to ETRS89 (BWTA2017)','DHDN to ETRS89 for Baden-Wurtemberg for ALKIS 2017. Using official BWTA2017 grid but this transformation entry has been created temporarily by PROJ. Accuracy indication not to be considered as authoritative','For applications requiring an accuracy of better than 1 metre.','EPSG','9615','NTv2','EPSG','4314','EPSG','4258','PROJ','BWTA2017',0.89,'EPSG','8656','Latitude and longitude difference file','BWTA2017.gsb',NULL,NULL,NULL,NULL,NULL,NULL,'-',0);
+----- Hopefully temporary entry for SeTa2016.gsb grid -----
+
+INSERT INTO "area" VALUES('PROJ','SETA2016','Germany - Saarland','Germany - Saarland',49.10,49.64,6.345,7.45,0);
+-- Advertize a 0.8 accuracy slightly better than the 0.9 of BETA2007 for sort purposes
+INSERT INTO "grid_transformation" VALUES('PROJ','SETA2016','DHDN to ETRS89 (SETA2016)','DHDN to ETRS89 for Saarland. Using official SETA2016 grid but this transformation entry has been created temporarily by PROJ. Accuracy indication not to be considered as authoritative','For applications requiring an accuracy of better than 1 metre.','EPSG','9615','NTv2','EPSG','4314','EPSG','4258','PROJ','SETA2016',0.89,'EPSG','8656','Latitude and longitude difference file','SeTa2016.gsb',NULL,NULL,NULL,NULL,NULL,NULL,'-',0);
+
-- Iceland
INSERT INTO "grid_transformation" VALUES(
@@ -89,4 +95,4 @@ INSERT INTO "grid_transformation" VALUES(
'EPSG','1120', -- area of use: Iceland - onshore and offshore
NULL,
'EPSG','8666','Geoid (height correction) model file','Icegeoid_ISN2016.gtx',
- NULL,NULL,NULL,NULL,NULL,NULL,NULL,0); \ No newline at end of file
+ NULL,NULL,NULL,NULL,NULL,NULL,NULL,0);