Class GeodeticReferenceFrame

Object
GeodeticReferenceFrame

public class GeodeticReferenceFrame extends Object
Represents a Geodetic Reference Frame in PROJJSON.

A geodetic reference frame is a type of datum that describes the relationship between a coordinate system and the Earth. It includes an ellipsoid model and optionally a prime meridian.

  • Constructor Details

    • GeodeticReferenceFrame

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

    • getType

      public String getType()
      Gets the type of datum.
      Returns:
      Always "GeodeticReferenceFrame" for this implementation
    • setType

      public void setType(String type)
      Sets the type of datum.
      Parameters:
      type - The datum type
    • getName

      public String getName()
      Gets the name of the geodetic reference frame.
      Returns:
      The reference frame name
    • setName

      public void setName(String name)
      Sets the name of the geodetic reference frame.
      Parameters:
      name - The reference frame name
    • getEllipsoid

      public Ellipsoid getEllipsoid()
      Gets the ellipsoid that defines the shape of the Earth in this reference frame.
      Returns:
      The ellipsoid
    • setEllipsoid

      public void setEllipsoid(Ellipsoid ellipsoid)
      Sets the ellipsoid that defines the shape of the Earth in this reference frame.
      Parameters:
      ellipsoid - The ellipsoid
    • getPrimeMeridian

      public PrimeMeridian getPrimeMeridian()
      Gets the prime meridian used in this reference frame.
      Returns:
      The prime meridian
    • setPrimeMeridian

      public void setPrimeMeridian(PrimeMeridian primeMeridian)
      Sets the prime meridian used in this reference frame.
      Parameters:
      primeMeridian - The prime meridian
    • getId

      public Object getId()
      Gets the ID of the geodetic reference frame.
      Returns:
      The reference frame ID
    • setId

      public void setId(Object id)
      Sets the ID of the geodetic reference frame.
      Parameters:
      id - The reference frame ID