Skip to content

A convenient wrapper for the GeoNames database of world cities data.

License

Notifications You must be signed in to change notification settings

OpenDataFormats/worldcities

Repository files navigation

World Cities

More details can be found in the README in dist/README.md

Updating Source Data

./bin/pull.data.sh
./bin/convert.all.sh

Testing

npm test

Publishing

./bin/pull.data.sh
./bin/convert.all.sh
npm test
cd ./dist
npm publish

Folder Structure

Folder Description
./bin Shell scripts to pull and convert the datasets to update for republishing.
./converters Scripts to convert source TSV files into JSON.
./data Source TSV data files.
./dist "Compiled" output for creating the npm package.
./dist/data The converted and formatted JSON.
./dist/data/flags SVG files of the flags of each country.
./dist/data/geojson The GeoJSON of the shape of each country.
./src The TypeScript source and tests.

About

A convenient wrapper for the GeoNames database of world cities data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •