0.0.6 • Published 11 years ago

proj4node v0.0.6

Weekly downloads
10
License
-
Repository
github
Last release
11 years ago

Proj4node

Synchronous Proj4js slimmed down for Node.js

Usage

Convert a WGS884 coordinate to SWEREF99 TM.

var proj4node = require('proj4node'),
    sweref = new proj4node.Proj('+proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs'),
    p = proj4node.transform(proj4node.WGS84, sweref, new proj4node.Point(11.901, 57.689));

console.log(p);

Syncing with Proj4js SVN repository

$ git clone https://github.com/icetan/proj4node.git
$ cd proj4node
$ ./connect-proj4js-repo.sh

Then read instructions from output.

Attributions

Important to note, I have only removed functionality from the original Proj4js project. All the hard stuff (algorithms and parsing) is solely thanks to the authors of Proj4js.

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago