Database of cities regions and details for some middle east countries.
- Current available cities (Egypt, Saudi Arabia, UAE, Kuwait)
- Only include cities with population over than 5000.
- Cities Ordered by population in descending order (crowned cities first)
- Available in arabic and english.
- json format (currently).
- City details include regions and Geolocation information.
- Unique Id for every city.
- Egypt: 239
- Saudi Arabia: 96
- UAE: 35
- Kuwait: 25
Json files named in form of country code and language code
example: eg_ar => Egypt Cities in arabic language
Get cities grouped by region
const fs = require('fs');
const groupby = require('lodash/groupby');
const input = './json/eg_ar.json';
fs.readFile(input, (err, data) => {
const cities = JSON.parse(data).cities;
console.log(
groupby(cities, (obj) => {
return obj.region;
}),
);
});
-
Add some missing key cities in egypt
-
Covert to .sql (MySQL)
-
Add more usage example
Geodb-cities
Egypt cities list
Saudi Arbia cities list
UAR cities list
Kuwait cities list