aboutsummaryrefslogtreecommitdiff
path: root/data/sql/commit.sql
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-30 14:14:12 +0100
committerEven Rouault <even.rouault@spatialys.com>2020-01-30 14:14:12 +0100
commita1b1c4312e1270b2f5dcb44e2ba2727711cbb80f (patch)
tree55e0de5253a0baec10481e16cbfb7b9868f7d89a /data/sql/commit.sql
parent91c40b654bb2b07ae79367a683e45c86d29ba0a4 (diff)
downloadPROJ-a1b1c4312e1270b2f5dcb44e2ba2727711cbb80f.tar.gz
PROJ-a1b1c4312e1270b2f5dcb44e2ba2727711cbb80f.zip
Database: add a custom concatenated_operation for NTF (Paris) to RGF93, using the non-deprecated EPSG:9327 for the geocentric translation
Diffstat (limited to 'data/sql/commit.sql')
-rw-r--r--data/sql/commit.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/sql/commit.sql b/data/sql/commit.sql
index a3028586..943bda78 100644
--- a/data/sql/commit.sql
+++ b/data/sql/commit.sql
@@ -137,6 +137,10 @@ FOR EACH ROW BEGIN
SELECT RAISE(ABORT, 'missing au_ga_AUSGeoid98.tif')
WHERE NOT EXISTS(SELECT 1 FROM grid_alternatives WHERE proj_grid_name = 'au_ga_AUSGeoid98.tif');
+ -- detect if PROJ:NTF_PARIS_TO_RGF93_GEOCENTRIC_TRANSLATION can be removed
+ SELECT RAISE(ABORT, 'PROJ:NTF_PARIS_TO_RGF93_GEOCENTRIC_TRANSLATION can probably be removed')
+ WHERE EXISTS(SELECT 1 FROM concatenated_operation_step WHERE operation_auth_name = 'EPSG' AND step_number = 2 AND step_auth_name = 'EPSG' AND step_code = '9327');
+
END;
INSERT INTO dummy DEFAULT VALUES;
DROP TRIGGER final_checks;