当前位置: 动力学知识库 > 问答 > 编程问答 >

iphone - MKMapview Coordinates UTM32

问题描述:

I´m getting coordinates from a JSON feed, I get them in UTM32. Does anyone know how I can convert these into latitudes and longitudes so I can display them in my mapview ?

Ex: "Lat": 597355,

"Lng": 6643184,

网友答案:

Here is a small library in Java: UTM32_converter

It's the result from converting a JavaScript found here: Geo UTM

网友答案:

I'd suggest using a library such as PROJ or GeographicLib to do the conversion from UTM to latitude/longitude. You might also consider GDAL, but the UTM conversion API is basically a wrapper for PROJ, and it's a pretty large library that's probably overkill for simple conversions.

分享给朋友:
您可能感兴趣的文章:
随机阅读: