Class AbstractDatum

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Ellipsoid ellps  
      protected java.lang.String name  
      protected java.lang.String proj4Id  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractDatum​(java.lang.String name, java.lang.String proj4Id, Ellipsoid ellps)
      Constructs a new AbstractDatum.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Ellipsoid getEllipsoid()
      Returns the ellipsoid associated with this datum.
      java.lang.String getName()
      Returns a human readable name of this projection.
      java.lang.String getProj4Id()
      Replies the Proj.4 identifier.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractDatum

        protected AbstractDatum​(java.lang.String name,
                                java.lang.String proj4Id,
                                Ellipsoid ellps)
        Constructs a new AbstractDatum.
        Parameters:
        name - The name
        proj4Id - The Proj4 identifier
        ellps - The ellipsoid
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Datum
        Returns a human readable name of this projection.
        Specified by:
        getName in interface Datum
        Returns:
        a human readable name of this projection
      • getProj4Id

        public java.lang.String getProj4Id()
        Description copied from interface: Datum
        Replies the Proj.4 identifier.
        Specified by:
        getProj4Id in interface Datum
        Returns:
        the Proj.4 identifier (as reported by cs2cs -ld) If no id exists, return null.
      • getEllipsoid

        public Ellipsoid getEllipsoid()
        Description copied from interface: Datum
        Returns the ellipsoid associated with this datum.
        Specified by:
        getEllipsoid in interface Datum
        Returns:
        the ellipsoid associated with this datum