Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

argo-geo

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

argo-geo

Batch reverse-geocode a csv using Mapzen's Pelias service

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

Argo

A module for rapidly 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')

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
  • Defaults to addresses, excluding POIs (schools, parks, etc)
  • Appends Mapzen response fields housenumber, name, locality, postalcode, region_a, confidence, distance, and source - from the top two results - to the input file schema

License

MIT

Keywords

FAQs

Package last updated on 10 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc