Nested Parenthetical Madness

    azimuth

    0.1.0 • Public • Published

    azimuth Build Status

    Determines azimuth (compass direction) & distance of the second point (B) as seen from the first point (A), given latitude, longitude & elevation of two points on the Earth

    Original Author

    Moulded from Don Cross's Azimuth/Distance Calculator

    Getting Started

    Install the module with: npm install azimuth

    var calculate = require('azimuth');
    calculate.azimuth({
      lat: 18.513929,
      lng: 73.924475,
      elv: 561.9
    }, {
      lat: 18.513964,
      lng: 73.924471,
      elv: 562
    }); // "{ distance: 3.9191090699705464, azimuth: 353.8149364508667, altitude: 1.3478271564744548 }"

    Tests

    To run tests

    npm test
    

    or

    grunt nodeunit
    

    License

    Copyright (c) 2014 Debjeet Biswas Licensed under the MIT license.

    Keywords

    none

    Install

    npm i azimuth

    DownloadsWeekly Downloads

    11

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • detj