argo-geo
Rapid reverse-geocoding using Mapzen Search
Last updated 4 years ago by fdy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install argo-geo 
SYNC missed versions from official npm registry.

Argo

Rapid reverse-geocoding using Mapzen Search

argo

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 latitude and longitude - if this is not the case, use -n and -w to specify coordinate column names.
  • Defaults to openaddresses and openstreetmap results only, unless the p flag is set
  • Defaults to addresses, excluding POIs (schools, parks, etc), unless the -p flag is set
  • Appends Mapzen response fields housenumber, name, locality, postalcode, region_a, confidence, distance, source, and layer - from the top two results - to the input file schema

License

MIT

Current Tags

  • 2.1.1                                ...           latest (4 years ago)

7 Versions

  • 2.1.1                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.4                                ...           4 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |