aboutsummaryrefslogtreecommitdiff
path: root/data/sql/commit.sql
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-03-30 14:12:28 +0200
committerGitHub <noreply@github.com>2020-03-30 14:12:28 +0200
commit21bbf920f4a0b02935fbf416b44ad0853f6d5647 (patch)
tree8e4181fbb467a2c41365565d1b28e67bc1ff0c34 /data/sql/commit.sql
parent48db80eb7aaabaf4828193289bcfe72dd4a547ad (diff)
parent71d4232457281984c20fb47133ca361ba731f6ac (diff)
downloadPROJ-21bbf920f4a0b02935fbf416b44ad0853f6d5647.tar.gz
PROJ-21bbf920f4a0b02935fbf416b44ad0853f6d5647.zip
Merge pull request #2114 from PROJ-BOT/backport-2113-to-7.0
[Backport 7.0] Database: fix registration of custom entries of grid_transformation_custom.sql for geoid grids (fixes #2112)
Diffstat (limited to 'data/sql/commit.sql')
-rw-r--r--data/sql/commit.sql13
1 files changed, 0 insertions, 13 deletions
diff --git a/data/sql/commit.sql b/data/sql/commit.sql
index a3028586..d090ccb2 100644
--- a/data/sql/commit.sql
+++ b/data/sql/commit.sql
@@ -63,19 +63,6 @@ FOR EACH ROW BEGIN
(SELECT auth_name || code FROM geodetic_crs
WHERE type = 'geographic 2D'));
- -- check that grids with HEIGHT_TO_GEOGRAPHIC3D method are properly registered
- SELECT RAISE(ABORT, 'One grid_transformation with HEIGHT_TO_GEOGRAPHIC3D has not its source_crs in vertical_crs table')
- WHERE EXISTS (SELECT * FROM grid_transformation g WHERE
- g.method_code = 'HEIGHT_TO_GEOGRAPHIC3D' AND
- g.source_crs_auth_name || g.source_crs_code NOT IN
- (SELECT auth_name || code FROM vertical_crs));
- SELECT RAISE(ABORT, 'One grid_transformation with HEIGHT_TO_GEOGRAPHIC3D has not its target_crs in geodetic_crs table with type = ''geographic 3D''')
- WHERE EXISTS (SELECT * FROM grid_transformation g WHERE
- g.method_code = 'HEIGHT_TO_GEOGRAPHIC3D' AND
- g.target_crs_auth_name || g.target_crs_code NOT IN
- (SELECT auth_name || code FROM geodetic_crs
- WHERE type = 'geographic 3D'));
-
-- check that grids with Geographic3D to GravityRelatedHeight method are properly registered
SELECT RAISE(ABORT, 'One grid_transformation with Geographic3D to GravityRelatedHeight has not its target_crs in vertical_crs table')
WHERE EXISTS (SELECT * FROM grid_transformation g WHERE