int tspCalcUTMZone ( double longitude )

Calculate the UTM Zone

Documentation

Calculate the UTM Zone.

Calculates the UTM zone for any longitude. Each UTM zone is 6 deg wide, with zone 1 beginning at long. -180 deg and zone 60 ending at long. +180. We assume that the longitude being passed in is in the range -180..+180 deg.

If you have a UTM zone/easting coordinate, then you can convert this to a longitude using the tsmUTMToLatLong function.

Returns:
the UTM zone
Parameters:
longitude - the longitude (degrees) to calculate the UTM zone for
Author:
Martin Reddy
Version:
25 August 1997
See Also:
tspCalcCentralMeridian, tsmUTMToGeo


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

Back to tsmApi Home Page