All Implemented Interfaces:
CoordinateReferenceSystem

public class BoundCRS extends AbstractCRS
Represents a Bound Coordinate Reference System in PROJJSON.

A bound CRS is a CRS that is related to another CRS (the source CRS) through a transformation to a target CRS. For example, a local engineering CRS can be bound to WGS84 to provide global context.

  • Constructor Details

    • BoundCRS

      public BoundCRS()
      Creates a new BoundCRS with default values.
  • Method Details

    • getType

      public String getType()
      Gets the type of coordinate reference system.
      Returns:
      Always "BoundCRS" for this implementation
    • getSourceCrs

      public CoordinateReferenceSystem getSourceCrs()
      Gets the source CRS that is being bound.
      Returns:
      The source CRS
    • setSourceCrs

      public void setSourceCrs(CoordinateReferenceSystem sourceCrs)
      Sets the source CRS that is being bound.
      Parameters:
      sourceCrs - The source CRS
    • getTargetCrs

      public CoordinateReferenceSystem getTargetCrs()
      Gets the target CRS that the source CRS is bound to.
      Returns:
      The target CRS
    • setTargetCrs

      public void setTargetCrs(CoordinateReferenceSystem targetCrs)
      Sets the target CRS that the source CRS is bound to.
      Parameters:
      targetCrs - The target CRS
    • getTransformation

      public Transformation getTransformation()
      Gets the transformation between the source and target CRSs.
      Returns:
      The transformation
    • setTransformation

      public void setTransformation(Transformation transformation)
      Sets the transformation between the source and target CRSs.
      Parameters:
      transformation - The transformation