From bf6020eee5842131e8bc04b6a74c4c7a7dcd7430 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 14 May 2020 11:35:26 +0200 Subject: Database: add a 'WGS84' alias for the EPSG:4326 CRS (fixes #2216) --- data/sql/customizations.sql | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'data/sql') 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 -- cgit v1.2.3