find-lat-lng-cli

1.0.0 • Public • Published

find-lat-lng-cli Build Status

Find latitudes and longitudes for an array of addresses

Finds latitudes and longitudes for an array of addresses via Google Maps GeoCoding API

Install

$ npm install --global find-lat-lng-cli

Usage

$ find-lat-lng --help

  Usage
    $ find-lan-lng input [output]

    Options
      --debug, -d  Add debug information

  Example
    $ find-lan-lng input.json
    [
      { address: 'Lonnrotinkatu 5, Helsinki', lat: 60.166924, lng: 24.939788},
      { address: 'Lonnrotinkatu 4, Helsinki', lat: 60.167142, lng: 24.940959},
      ...
    ]

Your input file should be a list of addresses:

[
  "Lonnrotinkatu 4, Helsinki",
  "Lonnrotinkatu 5, Helsinki",
]

If output file was provided, it will contain an array of objects with

Options

-d, --verbose

Verbose output to see errors if you need to troubleshoot.

Related

License

MIT © Pete Nykänen

Package Sidebar

Install

npm i find-lat-lng-cli

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • petetnt