Class BasicCoordinateTransform

java.lang.Object
org.locationtech.proj4j.BasicCoordinateTransform
All Implemented Interfaces:
Serializable, CoordinateTransform

public class BasicCoordinateTransform extends Object implements CoordinateTransform
Represents the operation of transforming a ProjCoordinate from one CoordinateReferenceSystem into a different one, using reprojection and datum conversion as required.

Computing the transform involves the following steps:

  • If the source coordinate is in a projected coordinate system, it is inverse-projected into a geographic coordinate system based on the source datum
  • If the source and target Datums are different, the source geographic coordinate is converted from the source to the target datum as accurately as possible
  • If the target coordinate system is a projected coordinate system, the converted geographic coordinate is projected into a projected coordinate.
Symbolically this can be presented as:
 [ SrcProjCRS {InverseProjection} ] SrcGeoCRS [ {Datum Conversion} ] TgtGeoCRS [ {Projection} TgtProjCRS ]
 

Information about the transformation procedure is pre-computed and cached in this object for efficient computation.

See Also: