Class CoordinateTransformFactory

java.lang.Object
org.locationtech.proj4j.CoordinateTransformFactory

public class CoordinateTransformFactory extends Object
Creates CoordinateTransforms from source and target CoordinateReferenceSystems.
  • 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 CoordinateReferenceSystem
      targetCRS - the target CoordinateReferenceSystem
      Returns:
      a tranformation from the source CRS to the target CRS