int tsmUTMToLatLong ( int zone, double easting, double northing, double *lat, double *lon )

Convert UTM coordinate to lat/long

Documentation

Convert UTM coordinate to lat/long.

This function will take a UTM (Universal Transverse Mercator) coordinate and convert this into a latitude/longitude coordinate (in degrees). You specify the hemisphere by the sign on the northing value, i.e. positive northings are in the northern hemisphere whilst negative northings are in the southern hemisphere.

N.B. The resulting lat long values will be returned in the range: -90..+90 (latitude) and -180..+180 (longitude).

We use the WGS 84 ellipsoid for the UTM coordinate space.

Returns:
TRUE if all went well, FALSE if an error occurred
Parameters:
zone - the UTM zone number (1..60)
easting - the UTM easting
northing - the UTM northing
lat - (pointer to) the latitude to be returned (degrees)
lon - (pointer to) the longitude to be returned (degrees)
Author:
Martin Reddy
Version:
20 Novemeber 1997
See Also:
tsmLatLongToUTM, tsmLatLongToGeocentric


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page