aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNyall Dawson <nyall.dawson@gmail.com>2021-02-19 13:26:23 +1000
committerNyall Dawson <nyall.dawson@gmail.com>2021-02-19 13:26:23 +1000
commit7c52fed34c2f6a92cf509502be4585910bdbbedc (patch)
tree1264953e33ada1d38f87c7f1fa1df98da32aae07
parente8a535ee02e7170bf9f16ff0570c07ee0a3b7ec0 (diff)
downloadPROJ-7c52fed34c2f6a92cf509502be4585910bdbbedc.tar.gz
PROJ-7c52fed34c2f6a92cf509502be4585910bdbbedc.zip
Update to EPSG v10.015
-rw-r--r--data/sql/commit.sql8
-rw-r--r--data/sql/customizations.sql4
-rw-r--r--data/sql/grid_transformation.sql2
-rw-r--r--data/sql/metadata.sql4
4 files changed, 4 insertions, 14 deletions
diff --git a/data/sql/commit.sql b/data/sql/commit.sql
index 48dc4150..a580f6e0 100644
--- a/data/sql/commit.sql
+++ b/data/sql/commit.sql
@@ -184,14 +184,6 @@ 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');
- -- clause because of buggy entries in EPSG 10.014
- SELECT RAISE(ABORT, 'invalid Geog3D to Geog2D + GravityRelatedHeight (foo) entries: target CRS is not a compound CRS')
- WHERE EXISTS (SELECT 1 FROM grid_transformation gt WHERE
- method_auth_name = 'EPSG' AND method_code IN ('1088', '1089', '1090', '1091', '1092', '1093', '1094', '1095', '1096', '1097', '1098', '1103') AND
- gt.deprecated = 0 AND
- NOT EXISTS (SELECT 1 FROM compound_crs c WHERE gt.target_crs_code = c.code AND gt.target_crs_auth_name = c.auth_name) AND
- NOT (gt.auth_name = 'EPSG' AND gt.code IN ('9627'))
- );
END;
INSERT INTO dummy DEFAULT VALUES;
diff --git a/data/sql/customizations.sql b/data/sql/customizations.sql
index 47991268..63780e3a 100644
--- a/data/sql/customizations.sql
+++ b/data/sql/customizations.sql
@@ -356,6 +356,4 @@ SELECT
u.scope_code
FROM grid_transformation gt
JOIN usage u ON u.object_auth_name = gt.auth_name AND u.object_code = gt.code AND u.object_table_name = 'grid_transformation'
-WHERE method_auth_name = 'EPSG' AND method_code IN ('1088', '1089', '1090', '1091', '1092', '1093', '1094', '1095', '1096', '1097', '1098', '1103') AND gt.deprecated = 0
- AND EXISTS (SELECT 1 FROM compound_crs c WHERE target_crs_code = c.code AND target_crs_auth_name = c.auth_name) -- clause because of buggy entries in EPSG 10.014
- ;
+WHERE method_auth_name = 'EPSG' AND method_code IN ('1088', '1089', '1090', '1091', '1092', '1093', '1094', '1095', '1096', '1097', '1098', '1103') AND gt.deprecated = 0;
diff --git a/data/sql/grid_transformation.sql b/data/sql/grid_transformation.sql
index b15aba30..e0a8296a 100644
--- a/data/sql/grid_transformation.sql
+++ b/data/sql/grid_transformation.sql
@@ -984,7 +984,7 @@ INSERT INTO "grid_transformation" VALUES('EPSG','9625','NAD83(MA11) to NAD83(MA1
INSERT INTO "usage" VALUES('EPSG','14461','grid_transformation','EPSG','9625','EPSG','4171','EPSG','1270');
INSERT INTO "grid_transformation" VALUES('EPSG','9626','NAD83(PA11) to NAD83(PA11) + ASVD02 height (1)','Reversible alternative to NAD83(PA11) to ASVD02 height (1) (code 7650). Uses Geoid12B hybrid model. See information source for further information.','EPSG','1088','Geog3D to Geog2D+GravityRelatedHeight (gtx)','EPSG','6321','EPSG','9526',0.02,'EPSG','8666','Geoid (height correction) model file','g2012bs0.bin',NULL,NULL,NULL,NULL,'EPSG','6322','NGS-Asm 12B',0);
INSERT INTO "usage" VALUES('EPSG','14463','grid_transformation','EPSG','9626','EPSG','2288','EPSG','1270');
-INSERT INTO "grid_transformation" VALUES('EPSG','9627','NZGD2000 to NZGD2000 + NZVD2009 height (2)','Reversible alternative to NZGD2000 to NZVD2009 height (2) (code 9325).','EPSG','1088','Geog3D to Geog2D+GravityRelatedHeight (gtx)','EPSG','4959','EPSG','4440',0.1,'EPSG','8666','Geoid (height correction) model file','nzgeoid2009.gtx',NULL,NULL,NULL,NULL,'EPSG','4167','LINZ-NZ 2009 gtx',0);
+INSERT INTO "grid_transformation" VALUES('EPSG','9627','NZGD2000 to NZGD2000 + NZVD2009 height (2)','Reversible alternative to NZGD2000 to NZVD2009 height (2) (code 9325).','EPSG','1088','Geog3D to Geog2D+GravityRelatedHeight (gtx)','EPSG','4959','EPSG','9527',0.1,'EPSG','8666','Geoid (height correction) model file','nzgeoid2009.gtx',NULL,NULL,NULL,NULL,'EPSG','4167','LINZ-NZ 2009 gtx',0);
INSERT INTO "usage" VALUES('EPSG','14466','grid_transformation','EPSG','9627','EPSG','1175','EPSG','1270');
INSERT INTO "grid_transformation" VALUES('EPSG','9628','NZGD2000 to NZGD2000 + NZVD2016 height (2)','Reversible alternative to NZGD2000 to NZVD2016 height (2) (code 9326).','EPSG','1088','Geog3D to Geog2D+GravityRelatedHeight (gtx)','EPSG','4959','EPSG','9528',0.1,'EPSG','8666','Geoid (height correction) model file','nzgeoid2016.gtx',NULL,NULL,NULL,NULL,'EPSG','4167','LINZ-NZ 2016 gtx',0);
INSERT INTO "usage" VALUES('EPSG','14467','grid_transformation','EPSG','9628','EPSG','1175','EPSG','1270');
diff --git a/data/sql/metadata.sql b/data/sql/metadata.sql
index 0d68697c..9d8f1f6a 100644
--- a/data/sql/metadata.sql
+++ b/data/sql/metadata.sql
@@ -9,5 +9,5 @@
INSERT INTO "metadata" VALUES('DATABASE.LAYOUT.VERSION.MAJOR', 1);
INSERT INTO "metadata" VALUES('DATABASE.LAYOUT.VERSION.MINOR', 0);
-INSERT INTO "metadata" VALUES('EPSG.VERSION', 'v10.014');
-INSERT INTO "metadata" VALUES('EPSG.DATE', '2021-02-10');
+INSERT INTO "metadata" VALUES('EPSG.VERSION', 'v10.015');
+INSERT INTO "metadata" VALUES('EPSG.DATE', '2021-02-11');