Changes in GeoAPI interface names. Reverting this change cause compiler errors, which can be fixed only by
redoing this change (except for the replacement of parameters
by getParameters()
and for the extraneous imports, which are removed).
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r7842:7861 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/operation/transform/ProjectiveTransform.java
Revision 7842 | Revision 7861 |
---|---|
package org.geotools.referencing.operation.transform; // J2SE dependencies import java.util.Map; import java.util.HashMap; import java.util.Arrays; |
package org.geotools.referencing.operation.transform;
// J2SE dependencies
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Arrays; |
import org.opengis.referencing.operation.MathTransform;
import org.opengis.referencing.operation.NoninvertibleTransformException;
import org.opengis.spatialschema.geometry.DirectPosition;
import org.opengis.parameter.ParameterValueGroup;
import org.opengis.parameter.OperationParameterGroup;
import org.opengis.parameter.ParameterNotFoundException;
// Geotools dependencies and resources |
import org.opengis.referencing.operation.MathTransform; import org.opengis.referencing.operation.NoninvertibleTransformException; import org.opengis.spatialschema.geometry.DirectPosition; import org.opengis.parameter.GeneralParameterDescriptor; import org.opengis.parameter.GeneralParameterValue; import org.opengis.parameter.InvalidParameterTypeException; import org.opengis.parameter.ParameterValue; import org.opengis.parameter.ParameterValueGroup; import org.opengis.parameter.ParameterNotFoundException; // Geotools dependencies and resources |
import org.geotools.referencing.operation.MathTransformProvider; import org.geotools.parameter.MatrixParameterValues; import org.geotools.parameter.MatrixParameters; import org.geotools.resources.cts.Resources; import org.geotools.resources.cts.ResourceKeys; |
import org.geotools.referencing.operation.MathTransformProvider; import org.geotools.parameter.MatrixParameterValues; import org.geotools.parameter.MatrixParameters; import org.geotools.parameter.ParameterGroup; import org.geotools.parameter.ParameterGroupDescriptor; import org.geotools.resources.cts.Resources; import org.geotools.resources.cts.ResourceKeys; |
*
* @todo We should register EPSG parameter identifiers (A0, A1, A2, B0, B1, B2) as well.
*/
static final OperationParameterGroup PARAMETERS;
static {
final Map properties = new HashMap(4);
properties.put("name", "Affine"); |
*
* @todo We should register EPSG parameter identifiers (A0, A1, A2, B0, B1, B2) as well.
*/
static final ParameterGroupDescriptor PARAMETERS;
static {
final Map properties = new HashMap(4);
properties.put("name", "Affine"); |
protected MathTransform createMathTransform(final ParameterValueGroup values)
throws ParameterNotFoundException
{
return create(((MatrixParameters) parameters).getMatrix(values));
}
/** |
protected MathTransform createMathTransform(final ParameterValueGroup values)
throws ParameterNotFoundException
{
return create(((MatrixParameters) getParameters()).getMatrix(values));
}
/** |