Skip to content

A converter between geographic coordinates in WGS84 and Universal Transverse Mercator (UTM) coordinates.

License

Notifications You must be signed in to change notification settings

urbanetic/utm-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UTM Converter

A converter between geographic coordinates in WGS84 and Universal Transverse Mercator (UTM) coordinates. Supports use in Node.js, Bower, AMD, or script loading.

Installation

Node.js

npm install utm-converter

Bower

bower install utm-converter

Usage

var UtmConverter = require('utm-converter'); // Example using Node.js.
var converter = new UtmConverter();
var wgsCoord = [145.240917, -37.830436];
var utmResult = converter.toUtm({coord: wgsCoord});
// {"coord":{"x":345196.1971905405,"y":5811540.431764047},"zone":55,"isSouthern":true}

var wgsResult = converter.toWgs(utmResult);
// {"coord":{"longitude":145.24091699999727,"latitude":-37.83043599999867}}

License

Released under the MIT license. Original library by Chuck Taylor.

About

A converter between geographic coordinates in WGS84 and Universal Transverse Mercator (UTM) coordinates.

Resources

License

Stars

Watchers

Forks

Packages

No packages published