Convert street addresses to GPS coordinates without making any external API calls, without limit to the number of geocode requests that you can make.
This project divided into 2 Docker images:
- PostGIS Geocoder, based on moofish32/postgis-geocoder
- Go CLI tool
- Start the PostGIS service and compile the CLI tool:
make api
- Download the data:
make postgis
- To use the CLI run
docker exec -ti app_api app [adddress]
- The downloads can take more than 60GB of disk space
- The database can take more than 5GB
- You should optimize that database to your needs.
- You need to manage the downloads of each state in case of no response from the servers.
- There is a hard-coded
DATABASE_URI
environment variable in theDockerfile
that you might want to change. - For batch requests, edit the
app/main.go
file