exan
exan

Reputation: 3965

Excluding Google Maps, What is the best way to Geo Code 1000+ addresses in Python?

I have to Geo Code 1000s of addresses to obtain Lats and Longs so that I can later run some data and geo analysis on those addresses.

In the past, I used Google's API to obtain this information, however, now Google requires Credit card information to generate API key. Even then it has limit of about 60 address per hour or per day (can't remember exact limit).

I was wondering if someone can guide me how to go about obtaining Lat and Long for 1000s of address with python?

Upvotes: 0

Views: 1164

Answers (2)

LuisTavares
LuisTavares

Reputation: 2206

geopy is an open-source Python 2 and 3 client for several popular geocoding web services. To name a few: Here, MapBox, Nominatim, Arcgis, Geonames, TomTom. Check the complete list with usage examples:

https://geopy.readthedocs.io/en/stable/#module-geopy.geocoders

Some of them require an API Key to be passed as an argument. Others, don't. For example, Nominatim only requires defining a user_agent for your App.

Installation via PyPi

pip install geopy

https://pypi.org/project/geopy/

Upvotes: 1

Neo
Neo

Reputation: 158

SmartyStreets has a tool for that.

SmartyStreets also has a Python SDK you can use. You can look up thousands of addresses in seconds or less.

Full disclosure: I am a software developer for SmartyStreets, and I wrote the Python SDK

Upvotes: 2

Related Questions