aboutsummaryrefslogtreecommitdiff
path: root/data/sql/proj_db_table_defs.sql
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-03-19 11:26:39 +0100
committerEven Rouault <even.rouault@spatialys.com>2021-03-19 11:26:42 +0100
commit76906029f3798ecaeb0a3f61d140d7714cc8524d (patch)
tree6af078145e233b5d29b608b5e8b683e9249bd010 /data/sql/proj_db_table_defs.sql
parent663a77095defb6a3a96faf75995a77e1964c9843 (diff)
downloadPROJ-76906029f3798ecaeb0a3f61d140d7714cc8524d.tar.gz
PROJ-76906029f3798ecaeb0a3f61d140d7714cc8524d.zip
Database: relax trigger check when inserting a conversion to accept any conversion method in the PROJ namespace
Helps for example to use CRS definitions using the non-EPSG codified Sinusoidal method.
Diffstat (limited to 'data/sql/proj_db_table_defs.sql')
-rw-r--r--data/sql/proj_db_table_defs.sql4
1 files changed, 1 insertions, 3 deletions
diff --git a/data/sql/proj_db_table_defs.sql b/data/sql/proj_db_table_defs.sql
index 037e2b6d..e43dfad4 100644
--- a/data/sql/proj_db_table_defs.sql
+++ b/data/sql/proj_db_table_defs.sql
@@ -534,9 +534,7 @@ BEGIN
'EPSG_9842_Equidistant Cylindrical',
'EPSG_9843_Axis Order Reversal (2D)',
'EPSG_9844_Axis Order Reversal (Geographic3D horizontal)',
- 'EPSG_9827_Bonne',
- 'PROJ_gstm_Gauss Schreiber Transverse Mercator',
- 'PROJ_mill_PROJ mill');
+ 'EPSG_9827_Bonne') AND NEW.auth_name != 'PROJ';
END;
CREATE TRIGGER conversion_table_insert_trigger