Skip to content

nvdnkpr/cities1000

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cities1000

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

You can find the original on geonames.org.

example

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

attributes

var cities = require('cities1000')

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)

About

lat/lon, names of cities with over 1000 people

Resources

License

Stars

Watchers

Forks

Packages

No packages published