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.
_______________________________________________
PROJ mailing list
PROJ@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/proj