orbisgis / cts

Projection library in Java
GNU Lesser General Public License v3.0
50 stars 16 forks source link

Add EPSG:7405 to registry #104

Closed AndreeaCh closed 5 years ago

AndreeaCh commented 5 years ago

An update of the registry would be nice.

ebocher commented 5 years ago

Sorry but we do not support correctly vertical transformation. @mukoki any comment or suggestion

robo-w commented 5 years ago

EPSG 7405 is in fact EPSG:27700 with an additional altitude. If the -vunits parameter is omitted, it works out fine (See https://github.com/robo-w/cts/commit/3a5e0c33ce0bf5f1de37ff2280951069e8dac80a)

I think to keep the epsg definition clean, EPSG 7405 should not be added, although the transformation of the relevant coordinates would be supported.

mukoki commented 5 years ago

To explain it simply, CTS can compute 3D transformations but cannot read compound CRS definition. Indeed, I don't know it there is a standard way to define compound CRS in WKT or prj files. Currently, CTS has only been tested with compound CRS defined by IGN (France) with geoids defined in .mnt files wich may not be a standard.