Open rouault opened 1 month ago
@rouault I wholeheartedly agree.
Although it sits in this common-geodata
directory, this is actually only for 2DTMS & TSMD.
Perhaps in a minor revision we could deprecate this wkt
and add projjson
or crsjson
, and perhaps add wkt2crs
as well?
In any case, it is much more preferable (and interoperable) to use a registered CRS and use the uri
field instead, if at all possible.
The mention of "wkt" in the crs.yaml in https://github.com/opengeospatial/ogcapi-tiles/blob/dabbe22ad2eec931a4f32289ffaa3f1a2aea6ed1/openapi/schemas/common-geodata/crs.yaml#L15 is very confusing. The description mentions "An object defining the CRS using the JSON encoding for Well-known text representation of coordinate reference systems 2.0". JSON != WKT . WKT CRS is a well established naming for things like GEOGCS[], GEOGCRS[], PROJCS[], etc. Definitely not appropriate for any JSON encoding, be it PROJJSON or a so-called "improved" version of it