1.0.0 • Published 7 years ago
find-lat-lng-cli v1.0.0
find-lat-lng-cli
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
- find-lat-lng - API for this module
License
MIT © Pete Nykänen
1.0.0
7 years ago