Class GeoTiffGCSCodes


  • public final class GeoTiffGCSCodes
    extends Object
    6.3.2.1 Geographic CS Type Codes Note: A Geographic coordinate system consists of both a datum and a Prime Meridian. Some of the names are very similar, and differ only in the Prime Meridian, so be sure to use the correct one. The codes beginning with GCSE_xxx are unspecified GCS which use ellipsoid (xxx); it is recommended that only the codes beginning with GCS_ be used if possible. Ranges: 0 = undefined [ 1, 1000] = Obsolete EPSG/POSC Geographic Codes [ 1001, 3999] = Reserved by GeoTIFFWritingUtilities [ 4000, 4199] = EPSG GCS Based on Ellipsoid only [ 4200, 4999] = EPSG GCS Based on EPSG Datum [ 5000, 32766] = Reserved by GeoTIFFWritingUtilities 32767 = user-defined GCS [32768, 65535] = Private User
    Since:
    2.3
    Author:
    Simone Giannecchini
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int GCS_NAD27  
      static int GCS_NAD83  
      static int GCS_WGS_72  
      static int GCS_WGS_72BE  
      static int GCS_WGS_84  
      static int GCSE_WGS84  
      static int GEO_KEY_DIRECTORY_VERSION_INDEX
      An index into the geoKey directory for the directory version number
      static int GEO_KEY_MINOR_REVISION_INDEX
      An index into the geoKey directory for the geoKey minor revision number
      static int GEO_KEY_NUM_KEYS_INDEX
      An index into the geoKey directory for the number of geoKeys
      static int GEO_KEY_REVISION_INDEX
      An index into the geoKey directory for the geoKey revision number
      static int GeogAngularUnitsGeoKey
      GeogAngularUnitsGeoKey Key ID = 2054 Type = SHORT (code) Values = Section 6.3.1.4 Codes Allows the definition of geocentric CS Linear units for user-defined GCS and for ellipsoids.
      static int GeogAngularUnitSizeGeoKey
      GeogAngularUnitSizeGeoKey Key ID = 2055 Type = DOUBLE Units: radians Allows the definition of user-defined angular geographic units, as measured in radians.
      static int GeogAzimuthUnitsGeoKey
      GeogAzimuthUnitsGeoKey Key ID = 2060 Type = SHORT (code) Values = Section 6.3.1.4 Codes This key may be used to specify the angular units of measurement used to defining azimuths, in geographic coordinate systems.
      static int GeogCitationGeoKey
      GeogCitationGeoKey Key ID = 2049 Type = ASCII Values = text General citation and reference for all Geographic CS parameters.
      static int GeogEllipsoidGeoKey
      GeogEllipsoidGeoKey Key ID = 2056 Type = SHORT (code) Values = Section 6.3.2.3 Codes http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.2.3 This key may be used to specify the coded ellipsoid used in the geodetic datum of the Geographic Coordinate System.
      static int GeogGeodeticDatumGeoKey
      GeogGeodeticDatumGeoKey Key ID = 2050 Type = SHORT (code) Values = Section 6.3.2.2 Codes http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.2.2 This key may be used to specify the horizontal datum, defining the size, position and orientation of the reference ellipsoid used in user-defined geographic coordinate systems.
      static int GeogInvFlatteningGeoKey
      GeogInvFlatteningGeoKey Key ID = 2059 Type = DOUBLE Units: none.
      static int GeogLinearUnitsGeoKey
      GeogLinearUnitsGeoKey Key ID = 2052 Type = SHORT Values: Section 6.3.1.3 Codes http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.1.3 Allows the definition of geocentric CS linear units for user-defined GCS.
      static int GeogLinearUnitSizeGeoKey
      GeogLinearUnitSizeGeoKey Key ID = 2053 Type = DOUBLE Units: meters Allows the definition of user-defined linear geocentric units, as measured in meters.
      static int GeogPrimeMeridianGeoKey
      GeogPrimeMeridianGeoKey Key ID = 2051 Type = SHORT (code) Units: Section 6.3.2.4 code http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.2.4 Allows specification of the location of the Prime meridian for user-defined geographic coordinate systems.
      static int GeogPrimeMeridianLongGeoKey
      GeogPrimeMeridianLongGeoKey Key ID = 2061 Type = DOUBLE Units = GeogAngularUnits This key allows definition of user-defined Prime Meridians, the location of which is defined by its longitude relative to Greenwich.
      static int GeographicTypeGeoKey
      GeographicTypeGeoKey Key ID = 2048 Type = SHORT (code) Values = Section 6.3.2.1 Codes http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.2.1 This key may be used to specify the code for the geographic coordinate system used to map lat-long to a specific ellipsoid over the earth.
      static int GeogSemiMajorAxisGeoKey
      GeogSemiMajorAxisGeoKey Key ID = 2057 Type = DOUBLE Units: Geocentric CS Linear Units Allows the specification of user-defined Ellipsoid Semi-Major Axis (a).
      static int GeogSemiMinorAxisGeoKey
      GeogSemiMinorAxisGeoKey Key ID = 2058 Type = DOUBLE Units: Geocentric CS Linear Units Allows the specification of user-defined Ellipsoid Semi-Minor Axis (b).
      static int GTCitationGeoKey
      GTCitationGeoKey Key ID = 1026 Type = ASCII As with all the "Citation" GeoKeys, this is provided to give an ASCII reference to published documentation on the overall configuration of this GeoTIFFWritingUtilities file.
      static int ModelTypeGeocentric  
      static int ModelTypeGeographic  
      static int ModelTypeUserDefined  
    • Field Detail

      • GEO_KEY_DIRECTORY_VERSION_INDEX

        public static final int GEO_KEY_DIRECTORY_VERSION_INDEX
        An index into the geoKey directory for the directory version number
        See Also:
        Constant Field Values
      • GEO_KEY_MINOR_REVISION_INDEX

        public static final int GEO_KEY_MINOR_REVISION_INDEX
        An index into the geoKey directory for the geoKey minor revision number
        See Also:
        Constant Field Values
      • GEO_KEY_NUM_KEYS_INDEX

        public static final int GEO_KEY_NUM_KEYS_INDEX
        An index into the geoKey directory for the number of geoKeys
        See Also:
        Constant Field Values
      • GEO_KEY_REVISION_INDEX

        public static final int GEO_KEY_REVISION_INDEX
        An index into the geoKey directory for the geoKey revision number
        See Also:
        Constant Field Values
      • GeogAngularUnitsGeoKey

        public static final int GeogAngularUnitsGeoKey
        GeogAngularUnitsGeoKey Key ID = 2054 Type = SHORT (code) Values = Section 6.3.1.4 Codes Allows the definition of geocentric CS Linear units for user-defined GCS and for ellipsoids. GeoKey Requirements for "user-defined" units: GeogCitationGeoKey GeogAngularUnitSizeGeoKey
        See Also:
        Constant Field Values
      • GeogAngularUnitSizeGeoKey

        public static final int GeogAngularUnitSizeGeoKey
        GeogAngularUnitSizeGeoKey Key ID = 2055 Type = DOUBLE Units: radians Allows the definition of user-defined angular geographic units, as measured in radians.
        See Also:
        Constant Field Values
      • GeogAzimuthUnitsGeoKey

        public static final int GeogAzimuthUnitsGeoKey
        GeogAzimuthUnitsGeoKey Key ID = 2060 Type = SHORT (code) Values = Section 6.3.1.4 Codes This key may be used to specify the angular units of measurement used to defining azimuths, in geographic coordinate systems. These may be used for defining azimuthal parameters for some projection algorithms, and may not necessarily be the same angular units used for lat-long.
        See Also:
        Constant Field Values
      • GeogCitationGeoKey

        public static final int GeogCitationGeoKey
        GeogCitationGeoKey Key ID = 2049 Type = ASCII Values = text General citation and reference for all Geographic CS parameters.
        See Also:
        Constant Field Values
      • GeogEllipsoidGeoKey

        public static final int GeogEllipsoidGeoKey
        GeogEllipsoidGeoKey Key ID = 2056 Type = SHORT (code) Values = Section 6.3.2.3 Codes http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.2.3 This key may be used to specify the coded ellipsoid used in the geodetic datum of the Geographic Coordinate System. GeoKey Requirements for User-Defined Ellipsoid: GeogCitationGeoKey [GeogSemiMajorAxisGeoKey, [GeogSemiMinorAxisGeoKey | GeogInvFlatteningGeoKey] ]
        See Also:
        Constant Field Values
      • GeogGeodeticDatumGeoKey

        public static final int GeogGeodeticDatumGeoKey
        GeogGeodeticDatumGeoKey Key ID = 2050 Type = SHORT (code) Values = Section 6.3.2.2 Codes http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.2.2 This key may be used to specify the horizontal datum, defining the size, position and orientation of the reference ellipsoid used in user-defined geographic coordinate systems. GeoKey Requirements for User-Defined Horizontal Datum: GeogCitationGeoKey GeogEllipsoidGeoKey
        See Also:
        Constant Field Values
      • GeogInvFlatteningGeoKey

        public static final int GeogInvFlatteningGeoKey
        GeogInvFlatteningGeoKey Key ID = 2059 Type = DOUBLE Units: none. Allows the specification of the inverse of user-defined Ellipsoid's flattening parameter (f). The eccentricity-squared e^2 of the ellipsoid is related to the non-inverted f by: e^2 = 2f - f^2 Note: if the ellipsoid is spherical the inverse-flattening becomes infinite; use the GeogSemiMinorAxisGeoKey instead, and set it equal to the semi-major axis length.
        See Also:
        Constant Field Values
      • GeogLinearUnitsGeoKey

        public static final int GeogLinearUnitsGeoKey
        GeogLinearUnitsGeoKey Key ID = 2052 Type = SHORT Values: Section 6.3.1.3 Codes http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.1.3 Allows the definition of geocentric CS linear units for user-defined GCS.
        See Also:
        Constant Field Values
      • GeogLinearUnitSizeGeoKey

        public static final int GeogLinearUnitSizeGeoKey
        GeogLinearUnitSizeGeoKey Key ID = 2053 Type = DOUBLE Units: meters Allows the definition of user-defined linear geocentric units, as measured in meters.
        See Also:
        Constant Field Values
      • GeogPrimeMeridianGeoKey

        public static final int GeogPrimeMeridianGeoKey
        GeogPrimeMeridianGeoKey Key ID = 2051 Type = SHORT (code) Units: Section 6.3.2.4 code http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.2.4 Allows specification of the location of the Prime meridian for user-defined geographic coordinate systems. The default standard is Greenwich, England.
        See Also:
        Constant Field Values
      • GeogPrimeMeridianLongGeoKey

        public static final int GeogPrimeMeridianLongGeoKey
        GeogPrimeMeridianLongGeoKey Key ID = 2061 Type = DOUBLE Units = GeogAngularUnits This key allows definition of user-defined Prime Meridians, the location of which is defined by its longitude relative to Greenwich.
        See Also:
        Constant Field Values
      • GeographicTypeGeoKey

        public static final int GeographicTypeGeoKey
        GeographicTypeGeoKey Key ID = 2048 Type = SHORT (code) Values = Section 6.3.2.1 Codes http://www.remotesensing.org/geotiff/spec/geotiff6.html#6.3.2.1 This key may be used to specify the code for the geographic coordinate system used to map lat-long to a specific ellipsoid over the earth. GeoKey Requirements for User-Defined geographic CS: GeogCitationGeoKey GeogGeodeticDatumGeoKey GeogAngularUnitsGeoKey (if not degrees) GeogPrimeMeridianGeoKey (if not Greenwich)
        See Also:
        Constant Field Values
      • GeogSemiMajorAxisGeoKey

        public static final int GeogSemiMajorAxisGeoKey
        GeogSemiMajorAxisGeoKey Key ID = 2057 Type = DOUBLE Units: Geocentric CS Linear Units Allows the specification of user-defined Ellipsoid Semi-Major Axis (a).
        See Also:
        Constant Field Values
      • GeogSemiMinorAxisGeoKey

        public static final int GeogSemiMinorAxisGeoKey
        GeogSemiMinorAxisGeoKey Key ID = 2058 Type = DOUBLE Units: Geocentric CS Linear Units Allows the specification of user-defined Ellipsoid Semi-Minor Axis (b).
        See Also:
        Constant Field Values
      • GTCitationGeoKey

        public static final int GTCitationGeoKey
        GTCitationGeoKey Key ID = 1026 Type = ASCII As with all the "Citation" GeoKeys, this is provided to give an ASCII reference to published documentation on the overall configuration of this GeoTIFFWritingUtilities file.
        See Also:
        Constant Field Values