Created
August 25, 2014 08:42
-
-
Save DenisCarriere/3475cfa469f74ee2c5d7 to your computer and use it in GitHub Desktop.
Coordinate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import coordinate | |
# MGRS to LatLng | |
c = coordinate.get('41R QQ 123 123') | |
print c.latlng | |
# LatLng to MGRS | |
c = coordinate.get('41.123, -78.123') | |
print c.mgrs | |
# UTM to MGRS | |
c = coordinate.get('41R 1234 12345') | |
print c.mgrs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment