0.0.1 • Published 7 years ago

cities15000 v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

cities15000

This is a dataset with the latitude and longitude of all cities on planet earth with greater than 15000 people.

You can find the original on geonames.org.

example

var fs = require('fs');
var cities = require('cities15000');
var lines = fs.readFileSync(cities.file, 'utf8').split('\n');
// ...

attributes

var cities = require('cities15000')

cities.file

Open the cities.file for reading as a tab-separated text file.

cities.fields

This is the array of fields in the cities.file text file.

license

copyright geonames.org

creative commons attribution 3.0 (CC-BY)