? UTM


public class UTM extends TransverseMercator
The Universal Transverse Mercator coordinate system
  • ???????

    • UTM

      public UTM(Position p, Ellipsoid e, Datum d)
      Create a new instance from Position, Ellipsoid and Datum. The UTM zone is calculated automatically from the Position's longitude (relative to the specified Ellipsoid and Datum).
      ??:
      p - Position
      e - Ellipsoid to use
      d - Datum to use
    • UTM

      public UTM(Position p, int z, Ellipsoid e, Datum d)
      Create a new instance of UTM from Position, UTM zone, Ellipsoid and Datum.
      ??:
      p - Position
      z - The UTM zone number
      e - Ellipsoid to use
      d - The Datum for this point
    • UTM

      public UTM(ENPair en, int z, Ellipsoid sphere, Datum datum, boolean hemisphere)
      Create a new UTM object from easting and northing values, zone number, Ellipsoid and Datum
      ??:
      en - Easting and northing values (m)
      z - Zone number (0-59)
      sphere - Ellipsoid for this point
      datum - Datu for this point
      hemisphere - - true if point is in the NOrthern Hemisphere
    • UTM

      public UTM(ENPair en, int z, Ellipsoid sphere, Datum datum)
      Create a new UTM object from easting and northing values, zone number, Ellipsoid and Datum
      ??:
      en - Easting and northing values (m)
      z - Zone number (0-59)
      sphere - Ellipsoid for this point
      datum - Datu for this point
    • UTM

      @Deprecated public UTM(ENPair en)
      ????
      This constructor is provided for test purposes only (because it has a common interface with other sub-classes of Projection). Its use is @deprecated Use the UTM(ENPair, int, Ellipsoid, Datum) instead.
      ??:
      en - Easting and northing values (m). Zone number is assumed to be 0.
  • ??????

    • makePoint

      public static UTM makePoint(String gridRef, Ellipsoid e, Datum d) throws GridFormatException
      Static factory method to create a UTM instance from a grid reference String
      ??:
      gridRef - Grid reference String e.g. "32T 31577 202576"
      e - Ellipsoid for this instance
      d - Datum for this instance
      ??:
      A new instance of UTM for the specified point.
      ??:
      GridFormatException - if the grid rference String is invalid
    • defaultDatum

      public Datum defaultDatum()
      Get the default datum for this type of CoordinateSystem
      ???:
      defaultDatum ??? CoordinateSystem
      ??:
      The default Datum (WGS84)
    • defaultEllipsoid

      public Ellipsoid defaultEllipsoid()
      Get the default Ellipsoid for this CoordinateSystem
      ???:
      defaultEllipsoid ??? CoordinateSystem
      ??:
      Default Ellipsoid (GRS80)
    • toString

      public String toString()
      Provide a String representation of this UTM point in UTM coordinates
      ???:
      toString ??? CoordinateSystem
      ??:
      A UTM coordinate String
    • getZone

      public static int getZone(double lon)
      A static method to calculate the correct zone number for a specified longitude.
      ??:
      lon - Longitude (degrees)
      ??:
      Zone number (0-59)
    • getZone

      public int getZone()
      Get the zone number of this point
      ??:
      Zone number (0-59)
    • getNorthernHemisphere

      public boolean getNorthernHemisphere()
      Check if this point is in the northern hemisphere
      ??:
      true if this point is north of the equator
    • f0

      public double f0()
      The scale factor on the Central Meridian. Generally, Transverse Mercator projections increasingly exagerate distances further from the central meridian. It is usual to reduce the scale factor at the central meridian to compensate for this effect and optimise the scale over the area of interest.
      ???:
      f0 ??? TransverseMercator
      ??:
      the value of the ScaleFactor at the central meridian.
    • e0

      public double e0()
      e0() defines the "false easting" distance of the projection. False origins are usually used with TM projections to ensure that easting and northing distances are always positive over the area of interest. e0() is used as an offset to the grid so that the "true origin" appears to have an easting value equal to e0().
      ???:
      e0 ??? TransverseMercator
      ??:
      The false easting distance (double)
    • n0

      public double n0()
      n0() defines the "false northing" distance of the projection. False origins are usually used with TM projections to ensure that easting and northing distances are always positive over the area of interest. n0() is used as an offset to the grid so that the "true origin" appears to have a northing value equal to n0().
      ???:
      n0 ??? TransverseMercator
      ??:
      The false northing distance (double)
    • phi0

      public double phi0()
      phi0() defines the latitude of the true origin of the projection. Note, however, that many Transverse Mercator projections employ a false origin. See n0() and e0() .
      ???:
      phi0 ??? TransverseMercator
      ??:
      The latitude of the true origin (radians)
    • lamda0

      public double lamda0()
      lamda0() defines the longitude (in radians) of the true origin also known as the "Central Meridian".
      ???:
      lamda0 ??? TransverseMercator
      ??:
      The central meridian (radians)