aboutsummaryrefslogtreecommitdiff
path: root/data/sql/customizations.sql
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-10-15 21:05:36 +0200
committerEven Rouault <even.rouault@spatialys.com>2019-10-15 21:05:36 +0200
commit0c487cda1ef70a89d8acefcfc0be658932a1e412 (patch)
treed4c49b9e66725c3396f931efbfb044f25debff95 /data/sql/customizations.sql
parentd4245b06db73c95c70b4b82dd00e9815dcae04d8 (diff)
downloadPROJ-0c487cda1ef70a89d8acefcfc0be658932a1e412.tar.gz
PROJ-0c487cda1ef70a89d8acefcfc0be658932a1e412.zip
Database: update to EPSG v9.8.3
Note: a hack has been added into customizations.sql to cancel deprecatation of USA geoid2012 grids by geoid2018 grids, as the later are not yet available in proj-datumgrid-northamerica (https://github.com/OSGeo/proj-datumgrid/issues/55)
Diffstat (limited to 'data/sql/customizations.sql')
-rw-r--r--data/sql/customizations.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/sql/customizations.sql b/data/sql/customizations.sql
index 98633045..99891dc1 100644
--- a/data/sql/customizations.sql
+++ b/data/sql/customizations.sql
@@ -82,3 +82,16 @@ INSERT INTO "helmert_transformation" VALUES('PROJ','WGS84_TO_WGS84_G1150','WGS 8
INSERT INTO "helmert_transformation" VALUES('PROJ','WGS84_TO_WGS84_G1674','WGS 84 to WGS 84 (G1674)','','Accuracy 2m','EPSG','9603','Geocentric translations (geog2D domain)','EPSG','4326','EPSG','9056','EPSG','1262',2.0,0,0,0,'EPSG','9001',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',0);
INSERT INTO "helmert_transformation" VALUES('PROJ','WGS84_TO_WGS84_G1762','WGS 84 to WGS 84 (G1762)','','Accuracy 2m','EPSG','9603','Geocentric translations (geog2D domain)','EPSG','4326','EPSG','9057','EPSG','1262',2.0,0,0,0,'EPSG','9001',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',0);
INSERT INTO "helmert_transformation" VALUES('PROJ','WGS84_TO_WGS84_TRANSIT','WGS 84 to WGS 84 (Transit)','','Accuracy 2m','EPSG','9603','Geocentric translations (geog2D domain)','EPSG','4326','EPSG','8888','EPSG','1262',2.0,0,0,0,'EPSG','9001',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',0);
+
+--- Remove a few supersessions ---
+
+-- TODO: remove this once https://github.com/OSGeo/proj-datumgrid/issues/55 is dealt with
+-- The following supersessions are for geoid2012, replaced by geoid2018
+-- but we don't have geoid2018 yet as PROJ grids, so remove for now those
+-- supersessions
+-- INSERT INTO "supersession" VALUES('grid_transformation','EPSG','6326','grid_transformation','EPSG','9229','EPSG');
+-- INSERT INTO "supersession" VALUES('grid_transformation','EPSG','7646','grid_transformation','EPSG','9230','EPSG');
+-- INSERT INTO "supersession" VALUES('grid_transformation','EPSG','7647','grid_transformation','EPSG','9231','EPSG');
+DELETE FROM supersession WHERE superseded_table_name = 'grid_transformation' AND superseded_auth_name = 'EPSG' AND superseded_code = '6326';
+DELETE FROM supersession WHERE superseded_table_name = 'grid_transformation' AND superseded_auth_name = 'EPSG' AND superseded_code = '7646';
+DELETE FROM supersession WHERE superseded_table_name = 'grid_transformation' AND superseded_auth_name = 'EPSG' AND superseded_code = '7647';