Git Product home page Git Product logo

geocoder's Introduction

Geocoder

Geocoder using the Nominatim API

Usage

Usage: python3 app.py -i <input> [options]
  -i, --input [file]: Input csv file.
  -o, --output [file]: Output csv file. Defaults to <input>-geocoded.csv
  --ignore [columns]: Comma-separate list of columns to ignore, 1-indexed
  --no-header: File contains no header, so do not skip the first row.

Example:

test.csv
1 William 5601 Williams Rd Lewisville North Carolina 27023
2 Bob 834 S Chambers Rd Aurora Colorado 80017
> python3 app.py -i test.csv --no-header --ignore 1,2

Notes

Make sure you modify app_id at the top of the script to identify yourself.

Nominatim TOS: https://operations.osmfoundation.org/policies/nominatim/

Requirements

  • No heavy uses (an absolute maximum of 1 request per second).
  • Provide a valid HTTP Referer or User-Agent identifying the application (stock User-Agents as set by http libraries will not do).
  • Clearly display attribution as suitable for your medium.
  • Data is provided under the ODbL license which requires to share alike (although small extractions are likely to be covered by fair usage / fair dealing)

geocoder's People

Contributors

yang573 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.