|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.model.csct.ct.CoordinateTransformationFactory
public class CoordinateTransformationFactory
Creates coordinate transformations.
org.opengis.ct.CT_CoordinateTransformationFactory| Constructor Summary | |
|---|---|
CoordinateTransformationFactory(MathTransformFactory factory)
Construct a coordinate transformation factory. |
|
| Method Summary | |
|---|---|
CoordinateTransformation |
createFromCoordinateSystems(CoordinateSystem sourceCS,
CoordinateSystem targetCS)
Creates a transformation between two coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(CompoundCoordinateSystem sourceCS,
CompoundCoordinateSystem targetCS)
Creates a transformation between two compound coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(CompoundCoordinateSystem sourceCS,
GeocentricCoordinateSystem targetCS)
Creates a transformation between a compound and a geocentric coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(GeocentricCoordinateSystem sourceCS,
GeocentricCoordinateSystem targetCS)
Creates a transformation between two geocentric coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(GeographicCoordinateSystem sourceCS,
GeocentricCoordinateSystem targetCS)
Creates a transformation between a geographic and a geocentric coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(GeographicCoordinateSystem sourceCS,
GeographicCoordinateSystem targetCS)
Creates a transformation between two geographic coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(GeographicCoordinateSystem sourceCS,
ProjectedCoordinateSystem targetCS)
Creates a transformation between a geographic and a projected coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(ProjectedCoordinateSystem sourceCS,
GeographicCoordinateSystem targetCS)
Creates a transformation between a projected and a geographic coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(ProjectedCoordinateSystem sourceCS,
ProjectedCoordinateSystem targetCS)
Creates a transformation between two projected coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(TemporalCoordinateSystem sourceCS,
TemporalCoordinateSystem targetCS)
Creates a transformation between two temporal coordinate systems. |
protected CoordinateTransformation |
createTransformationStep(VerticalCoordinateSystem sourceCS,
VerticalCoordinateSystem targetCS)
Creates a transformation between two vertical coordinate systems. |
static CoordinateTransformationFactory |
getDefault()
Returns the default coordinate transformation factory. |
MathTransformFactory |
getMathTransformFactory()
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
sourceCS - Input coordinate system.targetCS - Output coordinate system.
sourceCS to targetCS.
CannotCreateTransformException - if no transformation path has been found.
protected CoordinateTransformation createTransformationStep(TemporalCoordinateSystem sourceCS,
TemporalCoordinateSystem targetCS)
throws CannotCreateTransformException
createFromCoordinateSystems(...). The default implementation checks if
both coordinate systems use the same datum, and then adjusts for axis
orientation, units and epoch.
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
createFromCoordinateSystems(...). The default implementation checks if
both coordinate systems use the same datum, and then adjusts for axis
orientation and units.
sourceCS - Input coordinate system.targetCS - Output coordinate system.
sourceCS to targetCS.
CannotCreateTransformException - if no transformation path has been found.
protected CoordinateTransformation createTransformationStep(GeographicCoordinateSystem sourceCS,
GeographicCoordinateSystem targetCS)
throws CannotCreateTransformException
createFromCoordinateSystems(...). The default implementation can adjust
axis order and orientation (e.g. transforming from (NORTH,WEST)
to (EAST,NORTH)), performs units conversion and apply Bursa Wolf
transformation if needed.
sourceCS - Input coordinate system.targetCS - Output coordinate system.
sourceCS to targetCS.
CannotCreateTransformException - if no transformation path has been found.
protected CoordinateTransformation createTransformationStep(ProjectedCoordinateSystem sourceCS,
ProjectedCoordinateSystem targetCS)
throws CannotCreateTransformException
createFromCoordinateSystems(...). The default implementation can adjust
axis order and orientation. It also performs units conversion if it
is the only extra change needed. Otherwise, it performs three steps:
sourceCS.sourceCS.geographicCS to targetCS.geographicCS.targetCS.
sourceCS - Input coordinate system.targetCS - Output coordinate system.
sourceCS to targetCS.
CannotCreateTransformException - if no transformation path has been found.
protected CoordinateTransformation createTransformationStep(GeographicCoordinateSystem sourceCS,
ProjectedCoordinateSystem targetCS)
throws CannotCreateTransformException
createFromCoordinateSystems(...).
sourceCS - Input coordinate system.targetCS - Output coordinate system.
sourceCS to targetCS.
CannotCreateTransformException - if no transformation path has been found.
protected CoordinateTransformation createTransformationStep(ProjectedCoordinateSystem sourceCS,
GeographicCoordinateSystem targetCS)
throws CannotCreateTransformException
createFromCoordinateSystems(...). The default implementation returns
createTransformationStep(targetCS, sourceCS).inverse().
sourceCS - Input coordinate system.targetCS - Output coordinate system.
sourceCS to targetCS.
CannotCreateTransformException - if no transformation path has been found.
protected CoordinateTransformation createTransformationStep(GeocentricCoordinateSystem sourceCS,
GeocentricCoordinateSystem targetCS)
throws CannotCreateTransformException
createFromCoordinateSystems(...). The default implementation can adjust
for axis order and orientation, adjust for prime meridian, performs units
conversion and apply Bursa Wolf transformation if needed.
sourceCS - Input coordinate system.targetCS - Output coordinate system.
sourceCS to targetCS.
CannotCreateTransformException - if no transformation path has been found.
protected CoordinateTransformation createTransformationStep(GeographicCoordinateSystem sourceCS,
GeocentricCoordinateSystem targetCS)
throws CannotCreateTransformException
createFromCoordinateSystems(...).
sourceCS - Input geographic coordinate system.targetCS - Output coordinate system.
sourceCS to targetCS.
CannotCreateTransformException - if no transformation path has been found.
protected CoordinateTransformation createTransformationStep(CompoundCoordinateSystem sourceCS,
GeocentricCoordinateSystem targetCS)
throws CannotCreateTransformException
HorizontalCoordinateSystemVerticalCoordinateSystemcreateFromCoordinateSystems(...).
sourceCS - Input compound coordinate system.targetCS - Output coordinate system.
sourceCS to targetCS.
CannotCreateTransformException - if no transformation path has been found.
protected CoordinateTransformation createTransformationStep(CompoundCoordinateSystem sourceCS,
CompoundCoordinateSystem targetCS)
throws CannotCreateTransformException
createFromCoordinateSystems(...).
sourceCS - Input coordinate system.targetCS - Output coordinate system.
sourceCS to targetCS.
CannotCreateTransformException - if no transformation path has been found.
|
deegree 2.1 (2007/11/08 09:57 build-328-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net