Magnus
Magnus

Reputation: 1442

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,

Upvotes: 2

Views: 739

Answers (2)

Kjell
Kjell

Reputation: 21

Here is a small library in Java: UTM32_converter

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

Upvotes: 2

bosmacs
bosmacs

Reputation: 7483

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.

Upvotes: 0

Related Questions