Skip to content

MatteoAlberghini/geonames.scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GEONAMES SCRIPT

Geonames.scripts is a list of python scripts to handle geonames database dumps and make them usable and readable.

Installation

You'll need pandas to use most scripts.

pip install pandas

Usage

cd /scripts/

# geonames_to_json accepts 2 paramaters: input txt file and output json file (created if not existent)
python geonames_to_json NL.txt test.json

Utilities

To prettify a heavy JSON, you can run:

type starting.json | python -mjson.tool > ending.json

About

Scripts to handle data taken from Geonames Database dumps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages