Question

I am making an iPhone application. I want my app to Convert MGRS co-ordinates to Decimal Degrees.

How to do this Programatically ?

Was it helpful?

Solution

I searched and founded : Determine the grid coordinates of a point on a military map . Here, they have given the manual process of how to determine the six-digit grid coordinates for the point on the map with a 100meter tolerance. You can go through that process and can create your Objective-C code for that.

Take a look at this C++ Class : GeoCoords.cpp .

Another thing I founded is : GDGeoCocoa . It is the Collection of Classes to convert co-ordinates. You can check it if you can found something useful for you.

Using the above links and Apple Documentation for Converting Between Coordinate Systems , I think you can achieve what you want.

GoodLuck !!!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top