Skip to content

petehouston/geonames-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build your own geo databases

Geo source from http://download.geonames.org/export/zip/

Installation

$ pip install wget
$ pip install pandas
$ pip install mysql-connector-python
$ pip install sqlalchemy

Usage

To download geo source file:

$ python downloader.py

To put into MySQL/MariaDB:

$ python main.py