Class CrsIdentifiable

  • Direct Known Subclasses:
    CoordinateReferenceSystem, Datum, Ellipsoid, PrimeMeridian, Unit, VerticalDatum

    public abstract class CrsIdentifiable
    extends Object
    Abstract base class for classes the are identified by a CrsId (e.g. by EPSG-code).

    Warning: identity of CrsIdentifiables:

    In theory the CrsId should identify uniquely the CoordinateReferenceSystem-related objects (whether CRS, datum, projection, etc.). In practice this is not always the case. Users, for example, can add their own definitions for som Projections or Ellipsoids.

    Author:
    Karel Maesen, Geovise BVBA creation-date: 11/21/11
    • Constructor Detail

      • CrsIdentifiable

        protected CrsIdentifiable​(CrsId crsId,
                                  String name)
        Constructs an instance.
        Parameters:
        crsId - the code
        name -
    • Method Detail

      • getCrsId

        public CrsId getCrsId()
        Returns the identifier for this CoordinateReferenceSystem.
        Returns:
      • getName

        public String getName()
        Returns the name of this CoordinateReferenceSystem.
        Returns:
        the name
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object