This change has not been ported to Apache SIS. We do not support "wildcard" in coordinate operations.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r5124:5125 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/operation/DefaultCoordinateOperationFactory.java
Revision 5124 | Revision 5125 |
---|---|
import org.geotools.pt.Matrix; import org.geotools.cs.AxisInfo; import org.geotools.cs.Ellipsoid; import org.geotools.cs.Projection; import org.geotools.cs.PrimeMeridian; import org.geotools.cs.HorizontalDatum; |
import org.geotools.pt.Matrix;
import org.geotools.cs.AxisInfo;
import org.geotools.cs.Ellipsoid;
import org.geotools.cs.LocalCoordinateSystem;
import org.geotools.cs.Projection;
import org.geotools.cs.PrimeMeridian;
import org.geotools.cs.HorizontalDatum; |
/**
* Creates coordinate transformations.
*
* @version $Id: CoordinateTransformationFactory.java,v 1.18 2003/08/07 11:14:44 desruisseaux Exp $
* @author <A HREF="http://www.opengis.org">OpenGIS</A>
* @author Martin Desruisseaux
* |
/**
* Creates coordinate transformations.
*
* @version $Id: CoordinateTransformationFactory.java,v 1.19 2004/03/07 19:55:52 aaime Exp $
* @author <A HREF="http://www.opengis.org">OpenGIS</A>
* @author Martin Desruisseaux
* |
step = factory.createConcatenatedTransform(step, step2.getMathTransform()); return createFromMathTransform(sourceCS, targetCS, step, step2.getTransformType()); } throw new CannotCreateTransformException(sourceCS, targetCS); } |
step = factory.createConcatenatedTransform(step, step2.getMathTransform()); return createFromMathTransform(sourceCS, targetCS, step, step2.getTransformType()); } /////////////////////////////////////////// //// //// //// Cartesian --> various CS //// //// Various CS --> Cartesian //// //// //// /////////////////////////////////////////// if(sourceCS == LocalCoordinateSystem.CARTESIAN || targetCS == LocalCoordinateSystem.CARTESIAN) { final int dimSource = sourceCS.getDimension(); MathTransform step = factory.createIdentityTransform(dimSource); return createFromMathTransform(sourceCS, targetCS, step); } throw new CannotCreateTransformException(sourceCS, targetCS); } |