aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-05-14 11:35:26 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-05-14 11:35:26 +0200
commitbf6020eee5842131e8bc04b6a74c4c7a7dcd7430 (patch)
treea8db0840d1489ae201d0dbfed3912b7bc60d910b /data
parent0c9cf39297a24d5e56aa488820a5ba3edaace90e (diff)
downloadPROJ-bf6020eee5842131e8bc04b6a74c4c7a7dcd7430.tar.gz
PROJ-bf6020eee5842131e8bc04b6a74c4c7a7dcd7430.zip
Database: add a 'WGS84' alias for the EPSG:4326 CRS (fixes #2216)
Diffstat (limited to 'data')
-rw-r--r--data/sql/customizations.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/sql/customizations.sql b/data/sql/customizations.sql
index fd67b8a1..efb0a4bc 100644
--- a/data/sql/customizations.sql
+++ b/data/sql/customizations.sql
@@ -136,6 +136,10 @@ INSERT INTO "alias_name" VALUES('geodetic_datum','EPSG','6299','ire65','PROJ');
INSERT INTO "alias_name" VALUES('geodetic_datum','EPSG','6272','nzgd49','PROJ');
INSERT INTO "alias_name" VALUES('geodetic_datum','EPSG','6277','OSGB36','PROJ');
+-- Given that we have installed above a WGS84 alias to the datum, add also one
+-- 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');
+
---- PROJ unit short names -----
-- Linear units