if (inputCRS instanceof GeodeticCRS && targetCRS instanceof GeodeticCRS) { Set<CoordinateOperation> ops = CoordinateOperationFactory .createCoordinateOperations((GeodeticCRS) inputCRS, (GeodeticCRS) targetCRS); if (!ops.isEmpty()) { op = CoordinateOperationFactory.getMostPrecise(ops); Geometry outPutGeom = (Geometry) geom.copy(); outPutGeom.geometryChanged();
addCoordinateOperations(source, target, opList); } else { addCoordinateOperations(sourceDatum, source, targetDatum, target, opList);
if (inputCRS instanceof GeodeticCRS && targetCRS instanceof GeodeticCRS) { List<CoordinateOperation> ops = CoordinateOperationFactory .createCoordinateOperations((GeodeticCRS) inputCRS, (GeodeticCRS) targetCRS); if (!ops.isEmpty()) { op = ops.get(0);
throw new CoordinateOperationNotFoundException(horizontalCRS.getDatum(), z_transfo.getAssociatedDatum()); CoordinateOperation h_op = CoordinateOperationFactory.getMostPrecise(h_datum_tf);
getMostPrecise3DTransformation(sourceDatum.getGeocentricTransformations(targetDatum)); if (mostPrecise3DTransform != null) { datumTransformations.add(mostPrecise3DTransform);
if (inputCRS instanceof GeodeticCRS && targetCRS instanceof GeodeticCRS) { List<CoordinateOperation> ops = CoordinateOperationFactory .createCoordinateOperations((GeodeticCRS) inputCRS, (GeodeticCRS) targetCRS); if (!ops.isEmpty()) { op = ops.get(0);
throw new CoordinateOperationNotFoundException(horizontalCRS.getDatum(), z_transfo.getAssociatedDatum()); CoordinateOperation h_op = CoordinateOperationFactory.getMostPrecise(h_datum_tf);
if (inputCRS instanceof GeodeticCRS && targetCRS instanceof GeodeticCRS) { List<CoordinateOperation> ops = CoordinateOperationFactory .createCoordinateOperations((GeodeticCRS) inputCRS, (GeodeticCRS) targetCRS); if (!ops.isEmpty()) { op = ops.get(0);