Search code examples
objective-ccoordinatescore-locationcoordinate-systems

Algorithm to convert location coordinates from DD.DDDDD format to DDMM.MMMMM


I'm making an app which uses CoreLocation to provide GPS coordinates. The next thing I need is to convert the coordinates from the dd.ddddd format to ddmm.mmmmm format and I don't have a clue how to make that.

Google didn't help me a lot either.


Solution

  • Look on Wikipedia at: Geographic coordinate conversion