Put geonames data into PostgreSQL. Inspired by this bash script: https://gist.github.com/EspadaV8/1357237
To use, set the environment variables in the get.sh
file. Then, run it with sudo sh get.sh
. Finally, remove the ~/tmp
directory that was created.