Skip to main content
deleted 19 characters in body
Source Link
Taras
  • 34k
  • 4
  • 73
  • 148

I had to write code to convert MGRS to LL last year, however, I am unable to post the code. WhatWhat I can post though are the two main resources I utilized while writing the code:

US Military Grid Reference System description, published by NGA and the related Appendix and an Online MGRS to LL Converter to check your results as you are coding.

edit: There is also GeographicLib, an open source-source library that has code for MGRS conversions, and is licensed under MIT. You'llYou'll need to look at the GeographicLib::MGRS class, and the MGRS.hpp and MGRS.cpp files if you need to look at the code.

edit #2: If you can elaborate more on whether you are looking for code, a library, or a utility to convert one or more coordinates, you'll get better answers.

I had to write code to convert MGRS to LL last year, however I am unable to post the code. What I can post though are the two main resources I utilized while writing the code:

US Military Grid Reference System description, published by NGA and the related Appendix and an Online MGRS to LL Converter to check your results as you are coding.

edit: There is also GeographicLib, an open source library that has code for MGRS conversions, and is licensed under MIT. You'll need to look at the GeographicLib::MGRS class, and the MGRS.hpp and MGRS.cpp files if you need to look at the code.

edit #2: If you can elaborate more on whether you are looking for code, a library, or a utility to convert one or more coordinates, you'll get better answers.

I had to write code to convert MGRS to LL last year, however, I am unable to post the code. What I can post though are the two main resources I utilized while writing the code:

US Military Grid Reference System description, published by NGA and the related Appendix and an Online MGRS to LL Converter to check your results as you are coding.

There is also GeographicLib, an open-source library that has code for MGRS conversions and is licensed under MIT. You'll need to look at the GeographicLib::MGRS class, and the MGRS.hpp and MGRS.cpp files if you need to look at the code.

If you can elaborate more on whether you are looking for code, a library, or a utility to convert one or more coordinates, you'll get better answers.

added 162 characters in body
Source Link
Sasa Ivetic
  • 5.2k
  • 23
  • 22

I had to write code to convert MGRS to LL last year, however I am unable to post the code. What I can post though are the two main resources I utilized while writing the code:

US Military Grid Reference System description, published by NGA and the related Appendix and an Online MGRS to LL Converter to check your results as you are coding.

edit: There is also GeographicLib, an open source library that has code for MGRS conversions, and is licensed under MIT. You'll need to look at the GeographicLib::MGRS class, and the MGRS.hpp and MGRS.cpp files if you need to look at the code.

edit #2: If you can elaborate more on whether you are looking for code, a library, or a utility to convert one or more coordinates, you'll get better answers.

I had to write code to convert MGRS to LL last year, however I am unable to post the code. What I can post though are the two main resources I utilized while writing the code:

US Military Grid Reference System description, published by NGA and the related Appendix and an Online MGRS to LL Converter to check your results as you are coding.

edit: There is also GeographicLib, an open source library that has code for MGRS conversions, and is licensed under MIT. You'll need to look at the GeographicLib::MGRS class, and the MGRS.hpp and MGRS.cpp files if you need to look at the code.

I had to write code to convert MGRS to LL last year, however I am unable to post the code. What I can post though are the two main resources I utilized while writing the code:

US Military Grid Reference System description, published by NGA and the related Appendix and an Online MGRS to LL Converter to check your results as you are coding.

edit: There is also GeographicLib, an open source library that has code for MGRS conversions, and is licensed under MIT. You'll need to look at the GeographicLib::MGRS class, and the MGRS.hpp and MGRS.cpp files if you need to look at the code.

edit #2: If you can elaborate more on whether you are looking for code, a library, or a utility to convert one or more coordinates, you'll get better answers.

Source Link
Sasa Ivetic
  • 5.2k
  • 23
  • 22

I had to write code to convert MGRS to LL last year, however I am unable to post the code. What I can post though are the two main resources I utilized while writing the code:

US Military Grid Reference System description, published by NGA and the related Appendix and an Online MGRS to LL Converter to check your results as you are coding.

edit: There is also GeographicLib, an open source library that has code for MGRS conversions, and is licensed under MIT. You'll need to look at the GeographicLib::MGRS class, and the MGRS.hpp and MGRS.cpp files if you need to look at the code.