[PROJ] Inconsistent WKT1 output
Javier Jimenez Shaw
j1 at jimenezshaw.com
Wed Mar 29 09:46:48 PDT 2023
Hi
Comparing some WKT1 strings I found something strange. If I ask for
WKT1_GDAL based on an EPSG code, I get the authorities of the spheroid,
prime and the datum. However, If I use an WKT2 as the input, they are not
there.
Is that expected?
> projinfo -o wkt1_gdal EPSG:6318
WKT1:GDAL string:
GEOGCS["NAD83(2011)",
DATUM["NAD83_National_Spatial_Reference_System_2011",
SPHEROID["GRS 1980",6378137,298.257222101,
AUTHORITY["EPSG","7019"]],
AUTHORITY["EPSG","1116"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","6318"]]
> projinfo -o wkt1_gdal "$(projinfo EPSG:6318 -o wkt2_2019 -q)"
WKT1:GDAL string:
GEOGCS["NAD83(2011)",
DATUM["NAD83_National_Spatial_Reference_System_2011",
SPHEROID["GRS 1980",6378137,298.257222101]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9122"]],
AUTHORITY["EPSG","6318"]]
Thank
.___ ._ ..._ .. . ._. .___ .. __ . _. . __.. ... .... ._ .__
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20230329/ddf54dc4/attachment.htm>
More information about the PROJ
mailing list