lmfmaier / cities-json

World cities in json format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cities.json

World cities in json format

Description

Populated places of the world (towns, cities) with a population of 500 or more, extracted from the GeoNames database dump. With ID (geonamesid), name, country (ISO alpha 2), admin1 (state/province), latitude, longitude, population. Names are extracted from GeoNames' "name" columns (which are probably the official name of the place used in English), no alternate names.

Geonames feature codes used: PPL, PPLA(1-5), PPLC. These are populated places where people live and work, including capitals and administrative seats, but no sections/suburbs (PPLX), inofficial settlements or places that don't exist anymore (PPLH). Reference: http://www.geonames.org/export/codes.html

Roughly 150K places.

Format

[
  {
    "id": "5368361",
    "name": "Los Angeles",
    "country": "US",
    "admin1": "California",
    "lat": "34.0522300",
    "lon": "-118.2436800",
    "pop": "3971883"
  }
]

Source

GeoNames Gazetteer extract files: http://download.geonames.org/export/dump/

License

This work is licensed under a Creative Commons Attribution 4.0 License

https://creativecommons.org/licenses/by/3.0/

About

World cities in json format