Package org.meteoinfo.projection.proj4j
Class CoordinateTransformFactory
- java.lang.Object
-
- org.meteoinfo.projection.proj4j.CoordinateTransformFactory
-
public class CoordinateTransformFactory extends java.lang.ObjectCreatesCoordinateTransforms from source and targetCoordinateReferenceSystems.
-
-
Constructor Summary
Constructors Constructor Description CoordinateTransformFactory()Creates a new factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinateTransformcreateTransform(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)Creates a transformation from a source CRS to a target CRS, following the logic in PROJ.4.
-
-
-
Method Detail
-
createTransform
public CoordinateTransform createTransform(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS)
Creates a transformation from a source CRS to a target CRS, following the logic in PROJ.4. The transformation may include any or all of inverse projection, datum transformation, and reprojection, depending on the nature of the coordinate reference systems provided.- Parameters:
sourceCRS- the source CoordinateReferenceSystemtargetCRS- the target CoordinateReferenceSystem- Returns:
- a tranformation from the source CRS to the target CRS
-
-