/** * Create a new InterpolationMethodException. * * @param op the interpolation method */ public NonInvertibleOperationException(CoordinateOperation op) { super("" + op.getName() + " is not invertible"); } }
GeocentricTransformationSequence newSequence = new GeocentricTransformationSequence( new Identifier(CoordinateOperation.class, source.getCode() + " to " + target.getCode() + " through " + datumTransformation.getName()), source.toGeographicCoordinateConverter(), new LongitudeRotation(source.getDatum().getPrimeMeridian().getLongitudeFromGreenwichInRadians()), } catch (NonInvertibleOperationException e) { LOG.warn("Operation from " + source.getCode() + " to " + target.getCode() + " through " + datumTransformation.getName() + " could not be created"); LOG.error("CoordinateOperationFactory", e); opList.add(new CoordinateOperationSequence( new Identifier(CoordinateOperationSequence.class, source.getCode() + " to " + target.getCode() + " through " + datumTf.getName()), source.toGeographicCoordinateConverter(), datumTf, } catch (NonInvertibleOperationException e) { LOG.warn("Operation from " + source.getCode() + " to " + target.getCode() + " through " + datumTf.getName() + " could not be created"); LOG.error("CoordinateOperationFactory", e);