Skip to main content

Geocoding Library using ESRI, Bing Maps, and MapQuest geocoders

Project description

The Oatmeal Geocoder - Python Edition

python-omgeo is a geocoding abstraction layer written in python. Currently supported geocoders:

  • Bing

  • Citizen Atlas (Washington DC)

  • ESRI North American locator (REST & SOAP)

  • ESRI European address locator (REST & SOAP)

  • MapQuest Licensed Data API

  • MapQuest-hosted Nominatim Open Data API

See the source for more info. Here’s a quick example.

>>> from omgeo import Geocoder
>>> g = Geocoder()
>>> result = g.geocode('340 12th St, Philadelphia PA')
>>> candidates = result['candidates']
>>> for c in candidates:
...   print c.x, c.y, c.match_addr
...
-75.15843 39.95872 340 N 12th St, Philadelphia, PA, 19107
-75.16136 39.94531 340 S 12th St, Philadelphia, PA, 19107

Project details


Download files

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

Source Distribution

python-omgeo-1.4.1.tar.gz (25.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page