Skip to content

Allow transformations to be created from ESRI WKTs

Michael requested to merge geotrans_wkt into master

This code change will affect how the CRS Conversion service creates transformations (#46 (closed)).

Previously, the CRS Conversion service was creating transformations by doing the following:

  1. Create transformation from transform code if this code is an EPSG transform code
  2. If a transformation cannot be created from the transform code, then let Apache SIS decide what the best transformation should be.

The new logic will be the following:

  1. Create transformation from transform code if this code is an EPSG transform code
  2. If a transformation cannot be created from the transform code, then create the transformation from the transform WKT.
  3. If a transformation cannot be created from steps 1 or 2, then throw an error.

A new unit test class has been added, crs-conversion-service\crs-converter-core\src\test\java\org\opengroup\osdu\crs\converter\EsriWktTransformTests.java which will test the transformations created from a WKT.

Merge request reports