+ Reply to Thread
Results 1 to 12 of 12

Thread: MGRS to lat long or UTM Conversion.

  1. #1
    Rahul Rahul
    Join Date
    Apr 2011
    Posts
    14
    Points
    0
    Answers Provided
    0


    0

    Default MGRS to lat long or UTM Conversion.

    Can anyone please guide me on converting MGRS to lat/long or UTM.

    Any help is greatly appreciated.

    Rahul

  2. #2
    Derek Swingley

    Join Date
    May 2010
    Posts
    1,859
    Points
    893
    Answers Provided
    165


    0

    Default Re: MGRS to lat long or UTM Conversion.

    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.
    --
    @derekswingley | ArcGIS API for JavaScript Team Member.

    If you're posting a code or html sample, please wrap it in code tags.

  3. #3
    Rahul Rahul
    Join Date
    Apr 2011
    Posts
    14
    Points
    0
    Answers Provided
    0


    0

    Default Re: MGRS to lat long or UTM Conversion.

    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.

  4. #4
    Jeff Pace
    Join Date
    Jun 2010
    Posts
    911
    Points
    252
    Answers Provided
    38


    0

    Default Re: MGRS to lat long or UTM Conversion.

    Quote Originally Posted by rahul0985 View Post
    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
    Attached Files
    Last edited by jeff.pace; 10-05-2011 at 12:58 PM. Reason: spelling atrocities

  5. #5
    Jeff Pace
    Join Date
    Jun 2010
    Posts
    911
    Points
    252
    Answers Provided
    38


    0

    Default Re: MGRS to lat long or UTM Conversion.

    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/map...on=Coordinates

  6. #6
    Rahul Rahul
    Join Date
    Apr 2011
    Posts
    14
    Points
    0
    Answers Provided
    0


    0

    Default Re: MGRS to lat long or UTM Conversion.

    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!!

  7. #7
    Rahul Rahul
    Join Date
    Apr 2011
    Posts
    14
    Points
    0
    Answers Provided
    0


    0

    Default Re: MGRS to lat long or UTM Conversion.

    Thank you so much Jeff!!!

  8. #8
    Tuba Kumbara
    Join Date
    Apr 2010
    Posts
    30
    Points
    0
    Answers Provided
    0


    0

    Default Re: MGRS to lat long or UTM Conversion.

    I would also appreciate if you could share the code with me too. Thanks a lot :
    tubakumbara@yahoo.com

    Thank you

  9. #9
    Paul Walton
    Join Date
    Apr 2014
    Posts
    2
    Points
    0
    Answers Provided
    0


    0

    Default Re: MGRS to lat long or UTM Conversion.

    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.

  10. #10
    Jeff Pace
    Join Date
    Jun 2010
    Posts
    911
    Points
    252
    Answers Provided
    38


    0

    Default Re: MGRS to lat long or UTM Conversion.

    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?

  11. #11
    Paul Walton
    Join Date
    Apr 2014
    Posts
    2
    Points
    0
    Answers Provided
    0


    0

    Default Re: MGRS to lat long or UTM Conversion.

    No I just didn't know if you would still get the message from the old thread.

    I noticed you supplied the code for the grid conversions to another user, I am currently doing a project and was hoping if you could supply it to me.

    My email is paulboywal@gmail.com

    It would be much appreciated.

  12. #12
    Jeff Pace
    Join Date
    Jun 2010
    Posts
    911
    Points
    252
    Answers Provided
    38


    0

    Default Re: MGRS to lat long or UTM Conversion.

    the code is posted as a zip file in the 4th post of this thread

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts