Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example code: from MGRS to LatLon polygon #2

Open
abubelinha opened this issue Oct 17, 2021 · 0 comments
Open

example code: from MGRS to LatLon polygon #2

abubelinha opened this issue Oct 17, 2021 · 0 comments

Comments

@abubelinha
Copy link

abubelinha commented Oct 17, 2021

Provided I am finally able to install the package (see #1), I would like to use it for this kind of conversion:

def mgrs2polygon(mgrs="31TDG2345"):
    from mgrslib import Grid
    print(Grid(mgrs).bounds())

Is this the supposed way to print a polygon of lat/lon coordinates of the given mgrs cell?
https://github.com/Peter-E-Lenz/mgrslib#polygon-boundaries-1

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant