![]() Longitude = ((delt * (180.0 / Math.PI)) + s) + diflon Var tao = Math.Atan(Math.Cos(delt) * Math.Tan(nab)) Var delt = Math.Atan(senoheps/(Math.Cos(nab) ) ) Var senoheps = (Math.Exp(eps) - Math.Exp(-eps)) / 2.0 Var bm = 0.9996 * c * (lat - alfa * j2 + beta * j4 - gama * j6) Var y = isNorthHemisphere ? utmY : utmY - 10000000 Var zone = int.Parse(utmZone.Remove(utmZone.Length - 1)) Here is: public static void ToLatLon(double utmX, double utmY, string utmZone, out double latitude, out double longitude)īool isNorthHemisphere = utmZone.Last() >= 'N' ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |