Skip to content
Discussion options

You must be logged in to vote

You're correct, there's no built-in support for MGRS references so you'll need do the first part yourself the hard way and convert to a UTMPoint, from there everything should be automagic back into geographic coordinates.

Not sure of the spec on how the grid references letters are calculated, you might be able to take inspiration from BritishNationalGridPoint to calculate them but that does assume a square grid and some of the charts I just saw looked more degree-based.

But MGRS->UTM is definitely the way to go. If you get it working, I'd be happy to consider a PR to add it to the library

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cawa-93
Comment options

Answer selected by cawa-93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants