Skip to content
/ utm Public
forked from icholy/utm

Package for converting to and from the Universal Transverse Mercator coordinate system

License

Notifications You must be signed in to change notification settings

maptable/utm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WGS84 UTM Conversion

GoDoc

Package for converting to and from the Universal Transverse Mercator coordinate system

Examples:

Lookup a zone by lat/lon, srid code, or text

zone := utm.LatLonZone(50.77535, 6.008)
zone, _ := utm.LookupSRID(32601)
zone, _ := utm.ParseZone("32U")

Convert from lat/lon to UTM

easting, northing := zone.ToUTM(50.77535, 6.008)

Convert from UTM to lat/lon

latitude, longitude := zone.ToLatLon(294408.917, 5628897.997)

Credit:

This was mostly copied from: https://github.com/Turbo87/utm

About

Package for converting to and from the Universal Transverse Mercator coordinate system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%