if (inputCRS instanceof GeodeticCRS && targetCRS instanceof GeodeticCRS) { List<CoordinateOperation> ops = CoordinateOperationFactory .createCoordinateOperations((GeodeticCRS) inputCRS, (GeodeticCRS) targetCRS); if (!ops.isEmpty()) { op = ops.get(0);
if (inputCRS instanceof GeodeticCRS && targetCRS instanceof GeodeticCRS) { List<CoordinateOperation> ops = CoordinateOperationFactory .createCoordinateOperations((GeodeticCRS) inputCRS, (GeodeticCRS) targetCRS); if (!ops.isEmpty()) { op = ops.get(0);
if (inputCRS instanceof GeodeticCRS && targetCRS instanceof GeodeticCRS) { List<CoordinateOperation> ops = CoordinateOperationFactory .createCoordinateOperations((GeodeticCRS) inputCRS, (GeodeticCRS) targetCRS); if (!ops.isEmpty()) { op = ops.get(0);
if (inputCRS instanceof GeodeticCRS && targetCRS instanceof GeodeticCRS) { Set<CoordinateOperation> ops = CoordinateOperationFactory .createCoordinateOperations((GeodeticCRS) inputCRS, (GeodeticCRS) targetCRS); if (!ops.isEmpty()) { op = CoordinateOperationFactory.getMostPrecise(ops);