|
|||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||||
See:
Description
| Interface Summary | |
| LinearTransform | Deprecated. Replaced by LinearTransform
in the org.geotools.referencing.operation package. |
| MathTransform | Deprecated. Replaced by MathTransform
in the org.opengis.referencing.operation package. |
| MathTransform1D | Deprecated. Replaced by MathTransform1D
in the org.opengis.referencing.operation package. |
| MathTransform2D | Deprecated. Replaced by MathTransform2D
in the org.opengis.referencing.operation package. |
| Class Summary | |
| AbstractMathTransform | Deprecated. Replaced by AbstractMathTransform
in the org.geotools.referencing.operation.transform package. |
| Adapters | Deprecated. The legacy OpenGIS CT package is deprecated. |
| CoordinateTransformation | Deprecated. Replaced by AbstractCoordinateOperation. |
| CoordinateTransformationFactory | Deprecated. Replaced by org.geotools.referencing.operation.DefaultCoordinateOperationFactory |
| DomainFlags | Deprecated. No replacement. |
| MathTransformFactory | Deprecated. Replaced by DefaultMathTransformFactory
in the org.geotools.referencing.operation package. |
| MathTransformProvider | Deprecated. Replaced by MathTransformProvider
in the org.geotools.referencing.operation package. |
| TransformType | Deprecated. Replaced by DefaultOperation sub interfaces. |
| Exception Summary | |
| CannotCreateTransformException | Deprecated. Replaced by OperationNotFoundException. |
| MissingParameterException | Deprecated. Replaced by ParameterNotFoundException. |
| NoSuchClassificationException | Deprecated. Replaced by NoSuchIdentifierException. |
Coordinate Transformations implementation.
A CoordinateTransformation object is a
transformation between two CoordinateSystem
objects (for example a map projection from a GeographicCoordinateSystem
to a ProjectedCoordinateSystem). Coordinate
transformations can be built with the following steps:
CoordinateTransformationFactory.The CoordinateTransformationFactory
class analyze source and target coordinate systems and try to build a
transformation path. It can swap axis order and orientation when necessary
(for example from (NORTH,WEST)
to (EAST,NORTH)),
apply units conversions and of course performs map projections.
CoordinateTransformationFactory is
a kind of high-level API. User wanting more control on transformation creation
can use a low-level API: MathTransformFactory. For example,
a mercator cylindrical projection can be created by the following
code:
MathTransformFactoryfactory = MathTransformFactory.getDefault();ParameterListparameters = factory.getMathTransformProvider("Mercator_1SP").getParameterList(); parameters.setParameter("semi_major", 6378137.0); parameters.setParameter("semi_minor", 6356752.314);MathTransformprojection = factory.createParameterizedTransform(parameters);
The "Mercator_1SP" string is the classification name for the mercator cylindrical projection. This package support the following classification names:
| Classification | EPSG code |
|---|---|
Affine | |
Geocentric_To_Ellipsoid | 9602 |
Ellipsoid_To_Geocentric | 9602 |
Lambert_Conformal_Conic_1SP | 9801 |
Lambert_Conformal_Conic_2SP | 9802 |
Mercator_1SP | 9804 |
Mercator_2SP | 9805 |
Transverse_Mercator | 9807 |
Oblique_Stereographic | 9809 |
Polar_Stereographic | 9810 |
Albers_Conic_Equal_Area | 9822 |
Notes on transformation accuracy
|
|||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||||