https://github.com/giannisp/geonames-countries-cities
Export geonames countries and main cities to JSON.
https://github.com/giannisp/geonames-countries-cities
geonames geonames-cities geonames-countries
Last synced: about 1 year ago
JSON representation
Export geonames countries and main cities to JSON.
- Host: GitHub
- URL: https://github.com/giannisp/geonames-countries-cities
- Owner: giannisp
- Created: 2015-05-09T12:36:26.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-07-23T14:29:50.000Z (almost 3 years ago)
- Last Synced: 2024-04-27T06:20:40.626Z (about 2 years ago)
- Topics: geonames, geonames-cities, geonames-countries
- Language: JavaScript
- Homepage:
- Size: 221 KB
- Stars: 6
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# geonames-countries-cities
## Description
- Export geonames countries to JSON.
- Export combined geonames countries and main cities to JSON.
## Requirements
- NodeJS 18.x
## Install
`make`
## Run
`npm start`
## Customize output
Comment/uncomment fields at `src/util/geonames.js`.
Please note that `country.name` and `city.asciiname` fields are used for sorting.
## Field info
http://download.geonames.org/export/dump/