org.geotools.referencing.operation
Class DefaultTransformation

Object
  extended by Formattable
      extended by AbstractIdentifiedObject
          extended by AbstractCoordinateOperation
              extended by DefaultSingleOperation
                  extended by DefaultOperation
                      extended by DefaultTransformation
All Implemented Interfaces:
Serializable, IdentifiedObject, CoordinateOperation, Operation, SingleOperation, Transformation

public class DefaultTransformation
extends DefaultOperation
implements Transformation

An operation on coordinates that usually includes a change of Datum. The parameters of a coordinate transformation are empirically derived from data containing the coordinates of a series of points in both coordinate reference systems. This computational process is usually "over-determined", allowing derivation of error (or accuracy) estimates for the transformation. Also, the stochastic nature of the parameters may result in multiple (different) versions of the same coordinate transformation.

Since:
2.1
Author:
Martin Desruisseaux (IRD)
See Also:
DefaultConversion, Serialized Form

Field Summary
 
Fields inherited from class DefaultOperation
method
 
Fields inherited from class AbstractCoordinateOperation
domainOfValidity, EMPTY_ACCURACY_ARRAY, sourceCRS, targetCRS, transform
 
Fields inherited from class AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
 
Fields inherited from class Formattable
SINGLE_LINE
 
Fields inherited from interface CoordinateOperation
COORDINATE_OPERATION_ACCURACY_KEY, DOMAIN_OF_VALIDITY_KEY, OPERATION_VERSION_KEY, SCOPE_KEY
 
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
DefaultTransformation(Map<String,?> properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method)
          Constructs a transformation from a set of properties.
 
Method Summary
 
Methods inherited from class DefaultOperation
create, equals, formatWKT, getMethod, getParameterValues, hashCode
 
Methods inherited from class AbstractCoordinateOperation
getAccuracy, getAccuracy, getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getOperationVersion, getPositionalAccuracy, getScope, getSourceCRS, getTargetCRS, getType, getValidArea
 
Methods inherited from class AbstractIdentifiedObject
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
 
Methods inherited from class Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface Transformation
getOperationVersion, getSourceCRS, getTargetCRS
 
Methods inherited from interface Operation
getMethod, getParameterValues
 
Methods inherited from interface CoordinateOperation
getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getScope
 
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
 

Constructor Detail

DefaultTransformation

public DefaultTransformation(Map<String,?> properties,
                             CoordinateReferenceSystem sourceCRS,
                             CoordinateReferenceSystem targetCRS,
                             MathTransform transform,
                             OperationMethod method)
Constructs a transformation from a set of properties. The properties given in argument follow the same rules than for the AbstractCoordinateOperation constructor.

Parameters:
properties - Set of properties. Should contains at least "name".
sourceCRS - The source CRS.
targetCRS - The target CRS.
transform - Transform from positions in the source CRS to positions in the target CRS.
method - The operation method.


Copyright © 1996-2014 Geotools. All Rights Reserved.