Skip to main content

A complete Python Geocoding module made easy.

Project description

https://badge.fury.io/py/geocoder.png https://travis-ci.org/DenisCarriere/geocoder.png?branch=master

Geocoder is a MIT Licensed Geocoding library, written in Python, simple and consistant.

Many online providers such as Google & Bing have geocoding services, these providers do not include Python libraries and have different JSON responses between each other.

Consistant JSON responses from various providers.

>>> g = geocoder.google('New York City')
>>> g.latlng
[40.7127837, -74.0059413]
>>> g.state
'New York'
>>> g.json
...

Providers

  • ArcGIS ESRI
  • Bing
  • CanadaPost
  • FreeGeoIP
  • Geocoder.ca
  • Geonames
  • Google
  • MapQuest
  • MaxMind
  • Nokia
  • OpenCage
  • OSM (OpenStreetMap)
  • Ottawa (GeoOttawa)
  • TomTom
  • Yahoo

Features

  • GeoJSON Support
  • OpenStreetMap Support
  • Command Line Interface
  • Confidence Score
  • Well Known Text Support

Installation

To install Geocoder, simply:

$ pip install geocoder

Documentation

Documentation is available at http://deniscarriere.github.io/geocoder.

Topic not available?

If you cannot find a topic you are looking for, please feel free to ask me @DenisCarriere or post them on the Github Issues Page.

Support

This project is free & open source, it would help greatly for you guys reading this to contribute, here are some of the ways that you can help make this Python Geocoder better.

Feedback

Please feel free to give any feedback on this module. If you find any bugs or any enhancements to recommend please send some of your comments/suggestions to the Github Issues Page.

Twitter

Speak up on Twitter @DenisCarriere and tell me how you use this Python Geocoder. New updates will be pushed to Twitter Hashtags #geocoder.

Thanks to

A big thanks to all the people that help contribute:

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
geocoder-1.0.9-py2.py3-none-any.whl (38.2 kB) Copy SHA256 hash SHA256 Wheel 2.7
geocoder-1.0.9.tar.gz (23.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page