geo-calculator

0.1.2 • Public • Published

geo-calculator

A small node application for geographic distance and azimuth calculations.

Node.js Usage

Install the module using npm

npm install geo-calculator

Require the module and decode a PNG

var geoCalc = require('geo-calculator');

// Denia
var pointA = [38.840556, 0.105556];

// Berlin
var pointB = [52.518611, 13.408333];

var distance = geoCalc.distance(pointA, pointB); 
// distance: ~2114 km (2113855.510321635m)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    3
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i geo-calculator

Weekly Downloads

3

Version

0.1.2

License

AFL-2.0

Last publish

Collaborators

  • demx8as6