Class TransverseMercator

  • All Implemented Interfaces:
    Serializable, Parameterized, Lenient­Comparable, Math­Transform, Math­Transform2D

    public class TransverseMercator
    extends NormalizedProjection
    Transverse Mercator projection (EPSG codes 9807). This class implements the "JHS formulas" reproduced in IOGP Publication 373-7-2 – Geomatics Guidance Note number 7, part 2 – April 2015.
    Description
    This is a cylindrical projection, in which the cylinder has been rotated 90°. Instead of being tangent to the equator (or to an other standard latitude), it is tangent to a central meridian. Deformation are more important as we are going further from the central meridian. The Transverse Mercator projection is appropriate for region which have a greater extent north-south than east-west.

    There are a number of versions of the Transverse Mercator projection including the Universal (UTM) and Modified (MTM) Transverses Mercator projections. In these cases the earth is divided into zones. For the UTM the zones are 6 degrees wide, numbered from 1 to 60 proceeding east from 180 degrees longitude, and between latitude 84 degrees North and 80 degrees South. The central meridian is taken as the center of the zone and the latitude of origin is the equator. A scale factor of 0.9996 and false easting of 500000 metres is used for all zones and a false northing of 10000000 metres is used for zones in the southern hemisphere.

    Since:
    0.6
    See Also:
    Mercator, Oblique­Mercator, Serialized Form

    Defined in the sis-referencing module

    • Constructor Detail

      • TransverseMercator

        public TransverseMercator​(OperationMethod method,
                                  Parameters parameters)
        Creates a Transverse Mercator projection from the given parameters. The method argument can be the description of one of the following:
        • "Transverse Mercator".
        • "Transverse Mercator (South Orientated)".
        Parameters:
        method - description of the projection parameters.
        parameters - the parameter values of the projection to create.
    • Method Detail

      • inverseTransform

        protected void inverseTransform​(double[] srcPts,
                                        int srcOff,
                                        double[] dstPts,
                                        int dstOff)
                                 throws ProjectionException
        Transforms the specified (η, ξ) coordinates and stores the result in dst­Pts (angles in radians).
        Specified by:
        inverse­Transform in class Normalized­Projection
        Parameters:
        src­Pts - the array containing the source point coordinate, as linear distance on a unit sphere or ellipse.
        src­Off - the offset of the point to be converted in the source array.
        dst­Pts - the array into which the converted point coordinate is returned (may be the same than src­Pts). Coordinates will be (longitude, latitude) angles in radians.
        dst­Off - the offset of the location of the converted point that is stored in the destination array.
        Throws:
        Projection­Exception - if the point can not be converted.