Geocoder
The geocoder converts addresses to coordinates and produces a csv file with coordinates in the output directory. The method is based on the geopy Python package, see https://geopy.readthedocs.io/en/stable/ for detailed information.
Requirements
Ubuntu operating system + Python3
Usage
python3 geocoder.py [csv filename with addresses in input directory]
Example: python3 geocoder.py sample_input.csv
The input csv file should contain the columns “id”, and “address” and the semicolon “;” should be used as the separator in the csv file. The “id” column represents the unique identifier of theaddress. The “address” column contains the addresses in human-readable format.
Files
Filename | Description |
geocoder.py | Main Python script file |
input/sample_input.csv | A sample input file of addresses and ids |