From fece8a6c6e2e5eebeac6f9b4fc47ca830f2e3a3a Mon Sep 17 00:00:00 2001
From: Even Rouault <even.rouault@spatialys.com>
Date: Tue, 6 Oct 2020 17:49:14 +0200
Subject: Database: add aliases for 'old' names of WGS84 and ETRS89 datums, and
 remove one hack

---
 data/sql/customizations.sql | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'data/sql/customizations.sql')

diff --git a/data/sql/customizations.sql b/data/sql/customizations.sql
index e7e7b47e..32b3b163 100644
--- a/data/sql/customizations.sql
+++ b/data/sql/customizations.sql
@@ -374,6 +374,12 @@ INSERT INTO "alias_name" VALUES('geodetic_datum','EPSG','6277','OSGB36','PROJ');
 -- to the EPSG:4326 CRS, as this is a common use case (https://github.com/OSGeo/PROJ/issues/2216)
 INSERT INTO "alias_name" VALUES('geodetic_crs','EPSG','4326','WGS84','PROJ');
 
+---- Aliases from old datum names to new datum ensemble names -----
+
+-- Those have been reported to IOGP and will hopefully be integrated in a later EPSG release
+INSERT INTO "alias_name" VALUES('geodetic_datum','EPSG','6326','World Geodetic System 1984','PROJ');
+INSERT INTO "alias_name" VALUES('geodetic_datum','EPSG','6258','European Terrestrial Reference System 1989','PROJ');
+
 ---- PROJ unit short names -----
 
 -- Linear units
-- 
cgit v1.2.3

