[PROJ] WKT CRS

Even Rouault even.rouault at spatialys.com
Thu May 22 05:49:28 PDT 2025


Johem,

> Why the differences, and is there a correct way?
>
Both ways are correct. PROJ is supposed to follow the recommendations 
given at paragraph 7.3.3 Identifier of 
https://docs.ogc.org/is/18-010r11/18-010r11.pdf where there are lots of 
rules for when it is recommended to include or omit identifiers.
>
> It seems to me that most of the information is redundant anyway, just 
> the EPSG code could do: e.g. COMPOUNDCRS["Bonaire DPnet + Bonaire 
> height",ID["EPSG",10764]]. What elements are mandatory and what not?
>
This is defined in the above mentionned WKT CRS standard.
>
> This is relevant to me because we might want to change the CONVERSION 
> of some PROJCRSs in EPSG in the future without changing the ID of the 
> PROJCRS. Omitting the CONVERSION and only mentioning the ID of the 
> PROJCRS in the WKT therefore seems a saver choice for the metadata of 
> geo-information. Is this allowed?
>
No. The idea of WKT CRS is that you should be able to make sense of the 
definition without a geodetic database available. At least for the 
purpose of doing geographic <--> projected coordinate conversions (in 
the same datum)

Even

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20250522/0d10f210/attachment-0001.htm>


More information about the PROJ mailing list