Class DefaultGeographicCRS

    • Field Detail

      • WGS84

        public static final DefaultGeographicCRS WGS84
        A two-dimensional geographic coordinate reference system using WGS84 datum. This CRS uses (longitude,latitude) ordinates with longitude values increasing East and latitude values increasing North. Angular units are decimal degrees and prime meridian is Greenwich.
      • WGS84_3D

        public static final DefaultGeographicCRS WGS84_3D
        A three-dimensional geographic coordinate reference system using WGS84 datum. This CRS uses (longitude,latitude,height) ordinates with longitude values increasing East, latitude values increasing North and height above the ellipsoid in metres. Angular units are decimal degrees and prime meridian is Greenwich.
    • Constructor Detail

      • DefaultGeographicCRS

        public DefaultGeographicCRS​(GeographicCRS crs)
        Constructs a new geographic CRS with the same values than the specified one. This copy constructor provides a way to wrap an arbitrary implementation into a Geotools one or a user-defined one (as a subclass), usually in order to leverage some implementation-specific API. This constructor performs a shallow copy, i.e. the properties are not cloned.
        Parameters:
        crs - The coordinate reference system to copy.
        Since:
        2.2
      • DefaultGeographicCRS

        public DefaultGeographicCRS​(GeodeticDatum datum,
                                    EllipsoidalCS cs)
        Constructs a geographic CRS with the same properties than the given datum. The inherited properties include the name and aliases.
        Parameters:
        datum - The datum.
        cs - The coordinate system.
        Since:
        2.5
      • DefaultGeographicCRS

        public DefaultGeographicCRS​(String name,
                                    GeodeticDatum datum,
                                    EllipsoidalCS cs)
        Constructs a geographic CRS from a name.
        Parameters:
        name - The name.
        datum - The datum.
        cs - The coordinate system.
      • DefaultGeographicCRS

        public DefaultGeographicCRS​(Map<String,​?> properties,
                                    GeodeticDatum datum,
                                    EllipsoidalCS cs)
        Constructs a geographic CRS from a set of properties. The properties are given unchanged to the super-class constructor.
        Parameters:
        properties - Set of properties. Should contains at least "name".
        datum - The datum.
        cs - The coordinate system.