Skip to content

Tigrov/geoname-divisions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geoname divisions

Parser to get list of divisions and subdivisions with ISO-3166-2 codes in CSV format from http://www.geonames.org/

To execute run the command in shell:

php parse.php

The results are saved in files:

result/divisions.csv
result/subdivisions.csv

The first column is a country ISO-3166-1 code

Divisions and subdivisions marked as "no longer exists:" are skipped.

Example of parsed urls:

Additional

Parser for country divisions from Wikipedia:
https://github.com/tigrov/wikipedia-divisions

License

MIT

Releases

No releases published

Packages

No packages published

Languages