|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.ct.CoordinateTransformationFactory
Creates coordinate transformations.
CT_CoordinateTransformationFactory
Constructor Summary | |
CoordinateTransformationFactory(MathTransformFactory factory)
Deprecated. Construct a coordinate transformation factory. |
Method Summary | |
CoordinateTransformation |
createFromCoordinateSystems(CoordinateSystem sourceCS,
CoordinateSystem targetCS)
Deprecated. Creates a transformation between two coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(CompoundCoordinateSystem sourceCS,
CompoundCoordinateSystem targetCS)
Deprecated. Creates a transformation between two compound coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(GeocentricCoordinateSystem sourceCS,
GeocentricCoordinateSystem targetCS)
Deprecated. Creates a transformation between two geocentric coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(GeocentricCoordinateSystem sourceCS,
GeographicCoordinateSystem targetCS,
VerticalCoordinateSystem verticalCS)
Deprecated. Creates a transformation from a geocentric to a geographic coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(GeocentricCoordinateSystem sourceCS,
ProjectedCoordinateSystem targetCS,
VerticalCoordinateSystem verticalCS)
Deprecated. Creates a transformation from a geocentric to a projected coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(GeographicCoordinateSystem sourceCS,
VerticalCoordinateSystem verticalCS,
GeocentricCoordinateSystem targetCS)
Deprecated. Creates a transformation from a geographic to a geocentric coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(GeographicCoordinateSystem sourceCS,
VerticalCoordinateSystem sourceVCS,
GeographicCoordinateSystem targetCS,
VerticalCoordinateSystem targetVCS)
Deprecated. Creates a transformation between two geographic coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(GeographicCoordinateSystem sourceCS,
VerticalCoordinateSystem sourceVCS,
ProjectedCoordinateSystem targetCS,
VerticalCoordinateSystem targetVCS)
Deprecated. Creates a transformation from a geographic to a projected coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(ProjectedCoordinateSystem sourceCS,
VerticalCoordinateSystem verticalCS,
GeocentricCoordinateSystem targetCS)
Deprecated. Creates a transformation from a projected to a geocentric coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(ProjectedCoordinateSystem sourceCS,
VerticalCoordinateSystem sourceVCS,
GeographicCoordinateSystem targetCS,
VerticalCoordinateSystem targetVCS)
Deprecated. Creates a transformation from a projected to a geographic coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(ProjectedCoordinateSystem sourceCS,
VerticalCoordinateSystem sourceVCS,
ProjectedCoordinateSystem targetCS,
VerticalCoordinateSystem targetVCS)
Deprecated. Creates a transformation between two projected coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(TemporalCoordinateSystem sourceCS,
TemporalCoordinateSystem targetCS)
Deprecated. Creates a transformation between two temporal coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(VerticalCoordinateSystem sourceCS,
VerticalCoordinateSystem targetCS)
Deprecated. Creates a transformation between two vertical coordinate systems. |
static CoordinateTransformationFactory |
getDefault()
Deprecated. Returns the default coordinate transformation factory. |
MathTransformFactory |
getMathTransformFactory()
Deprecated. Returns the underlying math transform factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CoordinateTransformationFactory(MathTransformFactory factory)
factory
- The math transform factory to use.Method Detail |
public static CoordinateTransformationFactory getDefault()
public final MathTransformFactory getMathTransformFactory()
MathTransform
objects for
all CoordinateTransformation
.
public CoordinateTransformation createFromCoordinateSystems(CoordinateSystem sourceCS, CoordinateSystem targetCS) throws CannotCreateTransformException
createTransformationStep(...)
methods. This method
fails if no path between the coordinate systems is found.
sourceCS
- Input coordinate system.targetCS
- Output coordinate system.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.CT_CoordinateTransformationFactory.createFromCoordinateSystems(org.opengis.cs.CS_CoordinateSystem, org.opengis.cs.CS_CoordinateSystem)
protected CoordinateTransformation createTransformationStep(TemporalCoordinateSystem sourceCS, TemporalCoordinateSystem targetCS) throws CannotCreateTransformException
sourceCS
- Input coordinate system.targetCS
- Output coordinate system.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.protected CoordinateTransformation createTransformationStep(VerticalCoordinateSystem sourceCS, VerticalCoordinateSystem targetCS) throws CannotCreateTransformException
sourceCS
- Input coordinate system.targetCS
- Output coordinate system.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.protected CoordinateTransformation createTransformationStep(GeographicCoordinateSystem sourceCS, VerticalCoordinateSystem sourceVCS, GeographicCoordinateSystem targetCS, VerticalCoordinateSystem targetVCS) throws CannotCreateTransformException
(NORTH,WEST)
to (EAST,NORTH)
), performs units conversion
and apply Bursa Wolf transformation if needed.
sourceCS
- The input horizontal coordinate system.sourceVCS
- The input vertical coordinate system, or null
if none.targetCS
- The output horizontal coordinate system.targetVCS
- The output vertical coordinate system, or null
if none.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.protected CoordinateTransformation createTransformationStep(ProjectedCoordinateSystem sourceCS, VerticalCoordinateSystem sourceVCS, ProjectedCoordinateSystem targetCS, VerticalCoordinateSystem targetVCS) throws CannotCreateTransformException
sourceCS
.sourceCS.geographicCS
to targetCS.geographicCS
.targetCS
.
sourceCS
- The input horizontal coordinate system.sourceVCS
- The input vertical coordinate system, or null
if none.targetCS
- The output horizontal coordinate system.targetVCS
- The output vertical coordinate system, or null
if none.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.protected CoordinateTransformation createTransformationStep(GeographicCoordinateSystem sourceCS, VerticalCoordinateSystem sourceVCS, ProjectedCoordinateSystem targetCS, VerticalCoordinateSystem targetVCS) throws CannotCreateTransformException
sourceCS
- The input horizontal coordinate system.sourceVCS
- The input vertical coordinate system, or null
if none.targetCS
- The output horizontal coordinate system.targetVCS
- The output vertical coordinate system, or null
if none.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.protected CoordinateTransformation createTransformationStep(ProjectedCoordinateSystem sourceCS, VerticalCoordinateSystem sourceVCS, GeographicCoordinateSystem targetCS, VerticalCoordinateSystem targetVCS) throws CannotCreateTransformException
createTransformationStep
(targetCS,
targetVCS, sourceCS, sourceVCS).inverse()
.
sourceCS
- The input horizontal coordinate system.sourceVCS
- The input vertical coordinate system, or null
if none.targetCS
- The output horizontal coordinate system.targetVCS
- The output vertical coordinate system, or null
if none.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.protected CoordinateTransformation createTransformationStep(GeocentricCoordinateSystem sourceCS, GeocentricCoordinateSystem targetCS) throws CannotCreateTransformException
sourceCS
- Input coordinate system.targetCS
- Output coordinate system.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.protected CoordinateTransformation createTransformationStep(GeographicCoordinateSystem sourceCS, VerticalCoordinateSystem verticalCS, GeocentricCoordinateSystem targetCS) throws CannotCreateTransformException
sourceCS
- Input geographic coordinate system.verticalCS
- Input vertical coordinate system, or null
if none.targetCS
- Output coordinate system.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.protected CoordinateTransformation createTransformationStep(GeocentricCoordinateSystem sourceCS, GeographicCoordinateSystem targetCS, VerticalCoordinateSystem verticalCS) throws CannotCreateTransformException
createTransformationStep
(targetCS, verticalCS, sourceCS).inverse()
.
sourceCS
- Input coordinate system.targetCS
- Output coordinate system.verticalCS
- Output vertical coordinate system, or null
if none.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.protected CoordinateTransformation createTransformationStep(ProjectedCoordinateSystem sourceCS, VerticalCoordinateSystem verticalCS, GeocentricCoordinateSystem targetCS) throws CannotCreateTransformException
sourceCS
- Input projected coordinate system.verticalCS
- Input vertical coordinate system, or null
if none.targetCS
- Output coordinate system.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.protected CoordinateTransformation createTransformationStep(GeocentricCoordinateSystem sourceCS, ProjectedCoordinateSystem targetCS, VerticalCoordinateSystem verticalCS) throws CannotCreateTransformException
sourceCS
- Input projected coordinate system.targetCS
- Output coordinate system.verticalCS
- Output vertical coordinate system, or null
if none.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.protected CoordinateTransformation createTransformationStep(CompoundCoordinateSystem sourceCS, CompoundCoordinateSystem targetCS) throws CannotCreateTransformException
sourceCS
- Input coordinate system.targetCS
- Output coordinate system.
sourceCS
to targetCS
.
CannotCreateTransformException
- if no transformation path has been found.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |