MKMapview Coordinates UTM32
I´m getting coordinates from a JS开发者_开发百科ON 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.
精彩评论