How to convert MGRS to decimal degrees

2019-06-08 07:59发布

问题:

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

How to do this Programatically ?

回答1:

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 !!!