1.0.2 • Published 5 years ago

search-records-in-lat-long-radius v1.0.2

Weekly downloads
5
License
ISC
Repository
github
Last release
5 years ago

Search Records in Lat-Long Radius

Outputs records that are present within a particular radius of the provided GPS coordinates.

Usage

const DUBLIN = {
    LAT: 53.339428,
    LONG: - 6.257664
};

const RADIUS = 100; //Km

const SearchFile = require('search-records-in-lat-long-radius');

SearchFile.search(DUBLIN.LAT, DUBLIN.LONG, RADIUS, 'customers.txt');

For Records Sample - See customers.txt

Author : Nisheet Sharma (nisheet.sharma@live.in)