Reputation: 1442
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
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
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