isn2wgs
v0.0.2
Published
Converts ISNET93 coordinates to WGS84, which everyone in the world uses, except for Iceland.
Downloads
4
Readme
isn2wgs
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