Class PROJAliases


  • public class PROJAliases
    extends Object
    A PROJ Dedicated Aliases Lookup that allows to retrieve PROJ Aliases for most common EPSG Ellipsoids and PrimeMeridians
    • Constructor Detail

      • PROJAliases

        public PROJAliases()
    • Method Detail

      • getEllipsoidAlias

        public String getEllipsoidAlias​(String epsgEllipsoid)
        Return the PROJ alias for a given EPSG ellipsoid name, based on the mapping defined on the PROJAliases.txt definition.

        To give an example, EPSG "GRS 1980" is reported as "GRS80" in PROJ String.

      • getPrimeMeridianAlias

        public String getPrimeMeridianAlias​(String epsgPrimeMeridian)
        Return the PROJ alias for a given EPSG prime meridian name, based on the mapping defined on the PROJAliases.txt definition.

        To give an example, EPSG "Ferro" is reported as "ferro" in PROJ String. Note that some prime meridians are reported as number by PROJ. e.g. "Madrid" which is reported as "-3.687375" representing the pm numeric value