Class CoordinateReferenceSystem

  • All Implemented Interfaces:
    java.io.Serializable

    public class CoordinateReferenceSystem
    extends java.lang.Object
    implements java.io.Serializable
    Represents a projected or geodetic geospatial coordinate system, to which coordinates may be referenced. A coordinate system is defined by the following things:
    • an Ellipsoid specifies how the shape of the Earth is approximated
    • a Datum provides the mapping from the ellipsoid to actual locations on the earth
    • a Projection method maps the ellpsoidal surface to a planar space. (The projection method may be null in the case of geodetic coordinate systems).
    • a Unit indicates how the ordinate values of coordinates are interpreted
    See Also:
    CRSFactory, Serialized Form
    • Constructor Detail

      • CoordinateReferenceSystem

        public CoordinateReferenceSystem​(java.lang.String name,
                                         java.lang.String[] params,
                                         Datum datum,
                                         Projection proj)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getParameters

        public java.lang.String[] getParameters()
      • getDatum

        public Datum getDatum()
      • getProjection

        public Projection getProjection()
      • getParameterString

        public java.lang.String getParameterString()
      • isGeographic

        public java.lang.Boolean isGeographic()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object