[PROJ] "CRS84" not recognized in 9.2+?

Peter Townsend peter.townsend at maplarge.com
Tue Oct 31 07:04:58 PDT 2023


Back in 9.1, you could send proj the CRS name of "CRS84" and get a result:

.\projinfo.exe
Rel. 9.1.1, December 1st, 2022

.\projinfo.exe crs84
PROJ.4 string:
+proj=longlat +datum=WGS84 +no_defs +type=crs

WKT2:2019 string:
GEOGCRS["WGS 84 (CRS84)",
    ENSEMBLE["World Geodetic System 1984 ensemble",
        MEMBER["World Geodetic System 1984 (Transit)"],
        MEMBER["World Geodetic System 1984 (G730)"],
        MEMBER["World Geodetic System 1984 (G873)"],
...

But in 9.2 and 9.3, it's unrecognized:
.\projinfo.exe
Rel. 9.2.1, June 1st, 2023

.\projinfo.exe crs84
input string: parsing of user string failed: unrecognized format / unknown
name

This one does work:
.\projinfo.exe ogc:CRS84
PROJ.4 string:
+proj=longlat +datum=WGS84 +no_defs +type=crs

WKT2:2019 string:
GEOGCRS["WGS 84 (CRS84)",
    ENSEMBLE["World Geodetic System 1984 ensemble",...

Was this caused by this item in the release notes perhaps?
https://github.com/OSGeo/PROJ/pull/3487

I'm fine personally if this is intentional since "crs84" is kinda vague on
its own. I have a test that assumes this would work and need to adjust the
expectations.

-- 
Peter Townsend
Senior Software Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20231031/d65677de/attachment.htm>


More information about the PROJ mailing list