如何将MGRS转换为十进制度 [英] How to convert MGRS to decimal degrees
问题描述
我正在制作iPhone应用程序。我希望我的应用将MGRS坐标转换为十进制。
I am making an iPhone application. I want my app to Convert MGRS co-ordinates to Decimal Degrees.
如何以编程方式执行此操作?
How to do this Programatically ?
推荐答案
我搜索并创建了:确定军事地图上某个点的网格坐标。在这里,他们给出了如何确定公差为100米的地图上该点的六位数网格坐标的手动过程。您可以完成该过程,并可以为此创建Objective-C代码。
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.
看看这个C ++类: GeoCoords.cpp 。
Take a look at this C++ Class : GeoCoords.cpp .
我建立的另一件事是: GDGeoCocoa 。转换坐标是类的集合。您可以检查它是否可以找到对您有用的东西。
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.
使用上面的链接和Apple文档在坐标系之间进行转换,我认为您可以实现所需的目标。
Using the above links and Apple Documentation for Converting Between Coordinate Systems , I think you can achieve what you want.
好运!!!!
这篇关于如何将MGRS转换为十进制度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!