Package org.locationtech.proj4j
Class CoordinateTransformFactory
java.lang.Object
org.locationtech.proj4j.CoordinateTransformFactory
Creates
CoordinateTransform
s
from source and target CoordinateReferenceSystem
s.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTransform
(CoordinateReferenceSystem sourceCRS, CoordinateReferenceSystem targetCRS) Creates a transformation from a source CRS to a target CRS, following the logic in PROJ.4.
-
Constructor Details
-
CoordinateTransformFactory
public CoordinateTransformFactory()
-
-
Method Details
-
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
-