Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 833 Bytes

README.md

File metadata and controls

44 lines (27 loc) · 833 Bytes

isn2wgs

Build Status

Converts ISNET93 coordinates to WGS84, which everyone in the world uses, except for Iceland.

This code is adapted from this gist made by Ævar Arnfjörð and is published with his permission.

Example

var isn2wgs = require('isn2wgs');
var wgs84 = isn2wgs(357548, 407626);
console.dir(wgs84);

{ latitude: 64.14180278865086, longitude: -21.92704599837957 }

Methods

var isn2wgs = require('isn2wgs')

isn2wgs(x, y)

Return an object with the converted latitude and longitude of the passed in x and y coordinates.

Install

With npm do:

npm install isn2wgs

License

MIT