Skip to content

Klaus-Tockloth/coco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coco

Package for converting coordinates between WGS84 Lon Lat, UTM and MGRS/UTMREF.

GoDoc

Supported conversions

utm.ToLL()   : converts from UTM to LL
utm.ToMGRS() : converts from UTM to MGRS
ll.ToUTM()   : converts from LL to UTM
ll.ToMGRS()  : converts from LL to MGRS
mgrs.ToUTM() : converts from MGRS to UTM
mgrs.ToLL()  : converts from MGRS to LL

Data objects

UTM  : ZoneNumber ZoneLetter Easting Northing
LL   : Latitude Longitude
MGRS : String

Abbreviations

Lat    : Latitude
Lon    : Longitude
MGRS   : Military Grid Reference System (same as UTMREF)
UTM    : Universal Transverse Mercator
UTMREF : UTM Reference System (same as MGRS)
WGS84  : World Geodetic System 1984 (same as EPSG:4326)

Remarks

  • Partial ported from JavaScript mgrs library.
  • See utility coordconv for standalone program.
  • UTM format = zone number, zone letter (not hemisphere), easting, northing

About

Package for converting coordinates between WGS84 Lon Lat, UTM and MGRS/UTMREF.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages