Hello Michael

The WKT is valid, but it conforms the ISO 19162:2019. Apache SIS implements ISO 19162:2015; we have not yet upgraded to the 2019 revision. This is something we really want to do, hopefully this year. But this is a task that need to be done together with an upgrade to ISO 19111:2019 and to version 10 of EPSG database.

In the meantime, the WKT in the first method of the test case you provided can be downgraded to ISO 19162:2015 as below:

 * Rename GEOGCRS as GEODCRS ("G" changed to "D").
 * Rename ENSEMBLE["World Geodetic System 1984 ensemble", …] (8 lines)
   by DATUM["World Geodetic System 1984"].

In theory it should be sufficient. In my test I saw that the code complains about missing semi-major and semi-minor axis length, but it should be possible to fix by adding the following lines together with other parameters. I would need to check the code again, but it may be because SIS does not know which ellipsoid to use between "Clarke 1880" and "WGS 84".

   PARAMETER["semi_major", put value here],
   PARAMETER["semi_minor", put value here],

Martin


Reply via email to