Select to view content in your preferred language

MGRS to lat long or UTM Conversion.

16219
16
10-05-2011 02:45 AM
RahulRahul
Emerging Contributor
Can anyone please guide me on converting MGRS to lat/long or UTM.

Any help is greatly appreciated.

Rahul
0 Kudos
16 Replies
derekswingley1
Deactivated User
This forum is for the ArcGIS API for JavaScript.

For a such a general GIS question, I suggest you ask it on the GIS stack exchange.
0 Kudos
RahulRahul
Emerging Contributor
Thank you Derek!

I was just trying my luck here in the forums beacuse many users must have already tried this as Geometry service can not be used in this case.
0 Kudos
JeffPace
MVP Alum
Can anyone please guide me on converting MGRS to lat/long or UTM.

Any help is greatly appreciated.

Rahul


usng.js borrowed from MIT (freely distributable)
has

LL to USNG
LL to MRGS
LL to UTM
and more, plus reverse

attached
0 Kudos
JeffPace
MVP Alum
also I wrote the vicious calculus for USNG/LL to state plane transverse mercator as my county is one of the few that use it, it is ridiculously fast so we can do realtime with it.

PM me if you would like the files

if you want to see it in action check out our site and mouse over the map

http://www.mymanatee.org/gisapps/mapviewer/index.jsp?widgeton=Coordinates
0 Kudos
RahulRahul
Emerging Contributor
Thank you Jeff!

Coordinate conversion on your site is really very fast. I would really appreciate if you could share the code with me. Here is my email ID:
rahul090785@gmail.com

Thank you again for your help on this!!
0 Kudos
RahulRahul
Emerging Contributor
Thank you so much Jeff!!!
0 Kudos
TubaKumbara
Regular Contributor
I would also appreciate if you could share the code with me too. Thanks a lot :
tubakumbara@yahoo.com

Thank you
0 Kudos
PaulWalton1
Emerging Contributor
Jeff,

I have sent you a private message with regards to this thread, would really appreciate your script to for a project I'm working on at the moment.
0 Kudos
JeffPace
MVP Alum
Sorry, I don't do private messages.  I prefer to use the forums so everyone can benefit.

Was there something missing from the code I posted earlier?
0 Kudos