2.1.1 • Published 9 years ago
argo-geo v2.1.1
Argo
Rapid reverse-geocoding using Mapzen Search

Installation
npm install argo-geo -g
Usage
argo -i <input filename> -a <mapzen search key> -o <output filename>
Arguments
-i, --input(REQUIRED) Input filename and path (e.g. '/home/ubuntu/inputfile.csv')-a, --auth(REQUIRED) Mapzen authorization token. Get one here.-o, --output(OPTIONAL) Output filename and path if desired. Default is the input filename with 'out_' prepended.-r, --rate(OPTIONAL) Number of requests per second (default = 6)-n, --latitudefield(OPTIONAL) Name of column containing latitude coordinates (default = 'latitude')-w, --longitudefield(OPTIONAL) Name of column containing longitude coordinates (default = 'longitude')-p, --pois(OPTIONAL) Include POI results from Who's on first instead of just addresses (default = false)
Notes
- Expects input columns
latitudeandlongitude- if this is not the case, use-nand-wto specify coordinate column names. - Defaults to openaddresses and openstreetmap results only, unless the
pflag is set - Defaults to addresses, excluding POIs (schools, parks, etc), unless the
-pflag is set - Appends Mapzen response fields
housenumber,name,locality,postalcode,region_a,confidence,distance,source, andlayer- from the top two results - to the input file schema
License
MIT