A script written convert a txt file of addresses to geocodes.
Make sure you have Python 3 installed on your PC.
Next, install geopy:
pip3 install geopy --user
- Because Geopy uses APIs from other organizations, you may be rate limited or need to pay for requests. This script uses the free rate limited API from Nominatim.
- Geopy may error out or provide inaccurate values if the address is not formatted correctly. Try spelling out any abbreviations when inputing addresses.