| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.crs.transformations.TransformationFactory
public class TransformationFactory
The TransformationFactory class is the central access point for all transformations between different
 crs's.
 
It creates a transformation chain for two given CoordinateSystems by considering their type. For example the Transformation chain from EPSG:31466 ( a projected crs with underlying geographic crs epsg:4314 using the DHDN datum and the TransverseMercator Projection) to EPSG:28992 (another projected crs with underlying geographic crs epsg:4289 using the 'new Amersfoort Datum' and the StereographicAzimuthal Projection) would result in following Transformation Chain:
| Method Summary | |
|---|---|
 Transformation | 
createFromCoordinateSystems(CoordinateSystem sourceCRS,
                                                       CoordinateSystem targetCRS)
Creates a transformation between two coordinate systems.  | 
static TransformationFactory | 
getInstance()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static TransformationFactory getInstance()
public Transformation createFromCoordinateSystems(CoordinateSystem sourceCRS,
                                                  CoordinateSystem targetCRS)
                                           throws TransformationException,
                                                  IllegalArgumentException
sourceCRS - Input coordinate system.targetCRS - Output coordinate system.
sourceCRS to targetCRS.
TransformationException
TransformationException - if no transformation path has been found.
IllegalArgumentException - if the sourceCRS or targetCRS are null.
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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://www.deegree.org