This script uses the locationIQ API to extract address information from a pair of latitude and longitude coordinates and saves it as a .csv report.
There is a minimal configuration to be done using the .env file.
LOCATIONIQ_API_KEY
: Key used for geo-queriesOVERRIDE
: Whether or not an existing report file should be overwritten (default: true)SLEEP_TIMER
: Back-off-timer after a failed query to prevent too many queries in a too short time frameDELIMITER_IN
: Delimiter used in input .csv fileDELIMITER_OUT
: Delimiter which should be used for writing the report .csv file
python GeoCoder.py <input.csv> [output.csv]
path/to/GeoCoder <input.csv> [output.csv]
docker container run --env-file .env -v GeoCoder:/Reports -v </path/to/input.csv:/input.csv> reverse_geo_coder <input.csv>