Class GeoKeys

java.lang.Object
org.apache.sis.storage.geotiff.GeoKeys

final class GeoKeys extends Object
GeoTIFF keys associated to values needed for building CoordinateReferenceSystem instances and MathTransform "grid to CRS". In this class, field names are close to GeoTIFF key names with the "GeoKey" suffix omitted. For that reason, many of those field names do not follow usual Java convention for constants.
Since:
0.8
Version:
0.8
  • Field Details

  • Constructor Details

    • GeoKeys

      private GeoKeys()
      Do not allow instantiation of this class.
  • Method Details

    • unitOf

      static int unitOf(short key)
      Returns the unit of measurement for the given map projection parameter.
      Parameters:
      key - GeoTIFF key for which to get the unit of associated map projection parameter value.
      Returns:
      one of RATIO, LINEAR, ANGULAR, AZIMUTH codes, or -1 if the given key is not for a map projection parameter.
    • name

      static String name(short key)
      Returns the name of the given key. Implementation of this method is inefficient, but it should rarely be invoked (mostly for formatting error messages).