geo-to-cartesian

0.0.2 • Public • Published

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('geo-to-cartesian');
 
var geoCoordTextStream = fs.createReadStream('data.txt');
 
geo.pipe(geoToCart).pipe(outputStream);
 

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]

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    4
  • 0.0.1
    1
  • 0.0.0
    1

Package Sidebar

Install

npm i geo-to-cartesian

Weekly Downloads

1

Version

0.0.2

License

BSD

Last publish

Collaborators

  • mttholl