aboutsummaryrefslogtreecommitdiff
path: root/data/sql
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-05-14 16:10:02 +0200
committerGitHub <noreply@github.com>2020-05-14 16:10:02 +0200
commit672b610dbccb37f7f0e1d73745b5a02331a3e090 (patch)
treea8db0840d1489ae201d0dbfed3912b7bc60d910b /data/sql
parent0c9cf39297a24d5e56aa488820a5ba3edaace90e (diff)
parentbf6020eee5842131e8bc04b6a74c4c7a7dcd7430 (diff)
downloadPROJ-672b610dbccb37f7f0e1d73745b5a02331a3e090.tar.gz
PROJ-672b610dbccb37f7f0e1d73745b5a02331a3e090.zip
Merge pull request #2218 from rouault/wgs84_crs_alias
Database: add a 'WGS84' alias for the EPSG:4326 CRS (fixes #2216)
Diffstat (limited to 'data/sql')
-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