DDM到DD地理坐标转换算法

MrB*_*nzy 2 c# math converters coordinates coordinate

我已经使用http://www.pgc.umn.edu/tools/conversion进行转换

52 37.9418 N 01.18.8020 E (我认为是 DDM?)

纬度 52.632363 经度 1.313367

这似乎非常准确,我自己尝试过计算来转换这些值,但它们似乎从来都不准确。

http://en.wikipedia.org/wiki/Geographic_coefficient_conversion

这种转换背后的数学原理是什么?

Sam*_*Axe 6

//Parsing the DDM format is left as an excersize to the reader,
//  as is converting this code snippet into a usable function.
double inputDegrees = 52;
double inputMinutes = 37.9418;
double latitude = inputDegrees + (inputMinutes/60);  // 52.632363
Run Code Online (Sandbox Code Playgroud)