| java.lang.Object org.geotools.referencing.operation.ProjectionAnalyzer
ProjectionAnalyzer | final class ProjectionAnalyzer (Code) | | Returns a conversion from a source to target projected CRS, if this conversion
is representable as an affine transform. More specifically, if all projection
parameters are identical except the following ones:
Then the conversion between two projected CRS can sometime be represented as a linear
conversion. For example if only false easting/northing differ, then the coordinate conversion
is simply a translation.
version: $Id: ProjectionAnalyzer.java 24581 2007-02-26 01:36:46Z desruisseaux $ author: Martin Desruisseaux |
Method Summary | |
public static Matrix | createLinearConversion(ProjectedCRS sourceCRS, ProjectedCRS targetCRS, double errorTolerance) Returns a conversion from a source to target projected CRS, if this conversion
is representable as an affine transform. |
createLinearConversion | public static Matrix createLinearConversion(ProjectedCRS sourceCRS, ProjectedCRS targetCRS, double errorTolerance)(Code) | | Returns a conversion from a source to target projected CRS, if this conversion
is representable as an affine transform. If no linear conversion has been found
between the two CRS, then this method returns
null .
Parameters: sourceCRS - The source coordinate reference system. Parameters: targetCRS - The target coordinate reference system. Parameters: errorTolerance - Relative error tolerance for considering two parameter values asequal. This is usually a small number like 1E-10 . The conversion from sourceCRS to targetCRS as anaffine transform, or null if no linear transform has been found. |
|
|