Skip to content

Twista/geocoder

 
 

Repository files navigation

Geocoder

PyPi Badge Travis CI Coverage Status

Geocoder is a geocoding library, written in python, simple and consistent.

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
...

Installation

To install Geocoder, simply:

$ pip install geocoder

Providers

Global Country Specialized
Google Yandex GeoOttawa
Bing Geocoder.ca FreeGeoIP
OpenStreetMap Baidu MaxMind
HERE What3Words
TomTom CanadaPost
MapQuest GeoNames
OpenCage
Yahoo
ArcGIS

Features

  • Distance Tool
  • Formats (JSON, GeoJSON, OSM, WKT)
  • Command Line Interface
  • Confidence Score

Documentation

https://geocoder.readthedocs.org/

Twitter

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

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.

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.

Thanks to

A big thanks to all the people that help contribute:

About

Geocoder is a geocoding library, written in python, simple and consistent.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.7%
  • Makefile 0.3%