0.0.2 • Published 10 years ago

geo-to-cartesian v0.0.2

Weekly downloads
3
License
-
Repository
-
Last release
10 years ago

geo-to-cartesian

A small transform stream to convert latitude and longtitude coordinates into Cartesian coordinates

Get it from npm

npm install geo-to-cartesian

Pipe in some geographic coordinates

var geoToCart = require('../index.js');

var geoCoordTextStream = fs.createReadStream(__dirname + '/data.txt');

geo.pipe(geoToCart).pipe();

Get some Cartesian ones out

The expected format of the geographic coordinates stream is an array,

[lat, lon]

Cartesian coordinate bjects are output in the form:

[x, y, z]
0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago