This is a dataset with the latitude and longitude of all cities on planet earth with greater than 1000 people.
Last Updated at 18 March 2020
You can find the original on geonames.org.
var fs = require('fs');
var cities = require('cities-with-1000');
var lines = fs.readFileSync(cities.file, 'utf8').split('\n');
// ...
var cities = require('cities-with-1000');
Open the cities.file
for reading as a tab-separated text file.
This is the array of fields in the cities.file
text file.
copyright geonames.org
creative commons attribution 3.0 (CC-BY)