| org.geotools.referencing.operation.AbstractCoordinateOperation org.geotools.referencing.operation.DefaultSingleOperation org.geotools.referencing.operation.DefaultOperation org.geotools.referencing.operation.DefaultConversion
All known Subclasses: org.geotools.referencing.operation.DefiningConversion, org.geotools.referencing.operation.DefaultProjection,
DefaultConversion | public class DefaultConversion extends DefaultOperation implements Conversion(Code) | | An operation on coordinates that does not include any change of Datum. The best-known
example of a coordinate conversion is a map projection. The parameters describing
coordinate conversions are defined rather than empirically derived. Note that some
conversions have no parameters.
since: 2.1 version: $Id: DefaultConversion.java 24384 2007-02-14 00:23:05Z desruisseaux $ author: Martin Desruisseaux See Also: DefaultTransformation |
Constructor Summary | |
public | DefaultConversion(Conversion definition, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform) Constructs a new conversion with the same values than the specified one, together with the
specified source and target CRS. | public | DefaultConversion(Map properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method) Constructs a conversion from a set of properties. |
Method Summary | |
public static Conversion | create(Conversion definition, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform) Returns a conversion from the specified
. | public static Conversion | create(Conversion definition, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, Class typeHint) Returns a conversion from the specified
.
The new conversion will be a more specific type like a
,
or
. |
DefaultConversion | public DefaultConversion(Conversion definition, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform)(Code) | | Constructs a new conversion with the same values than the specified one, together with the
specified source and target CRS. While the source conversion can be an arbitrary one, it is
typically a
.
Parameters: definition - The defining conversion. Parameters: sourceCRS - The source CRS. Parameters: targetCRS - The target CRS. Parameters: transform - Transform from positions in the to positions in the . |
DefaultConversion | public DefaultConversion(Map properties, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, OperationMethod method)(Code) | | Constructs a conversion 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" . Parameters: sourceCRS - The source CRS. Parameters: targetCRS - The target CRS. Parameters: transform - Transform from positions in the to positions in the . Parameters: method - The operation method. |
create | public static Conversion create(Conversion definition, CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS, MathTransform transform, Class typeHint)(Code) | | Returns a conversion from the specified
.
The new conversion will be a more specific type like a
,
or
. This type is inferred from the
conversion argument when possible.
However the inferred type is not always the most accurate one, so an optional
typeHint argument may be specified in order to get a more specific subclass.
This later argument is just a hint: it may be
null and will be ignored if it
conflict with the automatically inferred type.
Parameters: definition - The defining conversion. Parameters: sourceCRS - The source CRS. Parameters: targetCRS - The target CRS. Parameters: transform - Transform from positions in the to positions in the . Parameters: typeHint - One of .class ,.class or.class , or null . See Also: DefaultOperation.create since: 2.4 |
Fields inherited from org.geotools.referencing.operation.DefaultOperation | final protected OperationMethod method(Code)(Java Doc)
|
|
|