Finds the central meridian of the specified UTM zone.
true - the function has succeeded, false - it has failed
The function verifies validity of the input arguments before running the conversion. It takes into account the 40.0 km overlap with the adjacent UTM zones and 0.5 degree overlap with UPS (Univeral Polar Stereographic) projection.
This sample shows how to call the UTM.GetCentralMeridianInDegOfUtmZone method from C# code:
string errorMessage = String.Empty;
UtmZone utmZone = UtmZone.Zone_18_from_78W_to_72W;
double cmInDeg = Double.NaN;
if (UTM.GetCentralMeridianInDegOfUtmZone(utmZone, out cmInDeg, out errorMessage))
{
Console.WriteLine("Central meridian, in degrees: " + cmInDeg.ToString());
}
else
{
Console.WriteLine(errorMessage);
}