Change of Envelope
package name can not be avoided since this is a GeoAPI change.
Change of FactoryFinder
does not apply to SIS since we do not use it anymore.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r24924:25050 https://svn.osgeo.org/geotools/trunk/modules/library/coverage/src/test/java/org/geotools/coverage/grid/GridGeometryTest.java
Revision 24924 | Revision 25050 |
---|---|
import org.opengis.referencing.FactoryException; import org.opengis.referencing.operation.MathTransform; import org.opengis.referencing.operation.MathTransformFactory; import org.opengis.spatialschema.geometry.Envelope; // Geotools dependencies import org.geotools.geometry.GeneralEnvelope; import org.geotools.referencing.FactoryFinder; import org.geotools.referencing.operation.matrix.MatrixFactory; |
import org.opengis.referencing.FactoryException; import org.opengis.referencing.operation.MathTransform; import org.opengis.referencing.operation.MathTransformFactory; import org.opengis.geometry.Envelope; // Geotools dependencies import org.geotools.geometry.GeneralEnvelope; import org.geotools.referencing.ReferencingFactoryFinder; import org.geotools.referencing.operation.matrix.MatrixFactory; |
* Tests the construction with an identity transform.
*/
public void testIdentity() throws FactoryException {
final MathTransformFactory factory = FactoryFinder.getMathTransformFactory(null);
final int[] lower = new int[] {0, 0, 2};
final int[] upper = new int[] {100, 200, 4};
final MathTransform identity = factory.createAffineTransform(MatrixFactory.create(4)); |
* Tests the construction with an identity transform.
*/
public void testIdentity() throws FactoryException {
final MathTransformFactory factory = ReferencingFactoryFinder.getMathTransformFactory(null);
final int[] lower = new int[] {0, 0, 2};
final int[] upper = new int[] {100, 200, 4};
final MathTransform identity = factory.createAffineTransform(MatrixFactory.create(4)); |