All Projects → lutangar → Cities.json

lutangar / Cities.json

Cities of the world in Json, based on GeoNames Gazetteer

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Cities.json

Weather
Taiwan's Weather Maps! 想查詢每個地方的天氣嗎!?藉由 Google Maps API 的地圖服務,以及中央氣象局網站的天氣預報,讓你快速輕鬆的查詢台灣 368 個鄉鎮的天氣概況!
Stars: ✭ 206 (-17.93%)
Mutual labels:  json, geolocation
Mongodb Json Files
📦 A curated list of JSON / BSON datasets from the web in order to practice / use in MongoDB
Stars: ✭ 456 (+81.67%)
Mutual labels:  json, dataset
Browser Compat Data
This repository contains compatibility data for Web technologies as displayed on MDN
Stars: ✭ 3,710 (+1378.09%)
Mutual labels:  json, dataset
Android
OwnTracks Android App
Stars: ✭ 840 (+234.66%)
Mutual labels:  json, geolocation
Iso 3166 Countries With Regional Codes
ISO 3166-1 country lists merged with their UN Geoscheme regional codes in ready-to-use JSON, XML, CSV data sets
Stars: ✭ 1,372 (+446.61%)
Mutual labels:  json, dataset
Covid19
JSON time-series of coronavirus cases (confirmed, deaths and recovered) per country - updated daily
Stars: ✭ 1,177 (+368.92%)
Mutual labels:  json, dataset
Recorder
Store and access data published by OwnTracks apps
Stars: ✭ 490 (+95.22%)
Mutual labels:  json, geolocation
Awesome Json Datasets
A curated list of awesome JSON datasets that don't require authentication.
Stars: ✭ 2,421 (+864.54%)
Mutual labels:  json, dataset
Dataset Serialize
JSON to DataSet and DataSet to JSON converter for Delphi and Lazarus (FPC)
Stars: ✭ 213 (-15.14%)
Mutual labels:  json, dataset
Bson4jackson
A pluggable BSON generator and parser for the Jackson JSON processor.
Stars: ✭ 244 (-2.79%)
Mutual labels:  json
Vscode Data Preview
Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
Stars: ✭ 245 (-2.39%)
Mutual labels:  json
Whc model
iOS平台高效转换引擎json->model,model->json,model->Dictionary,支持模型类继承其他模型类,支持指定路径转换,不区分json的key和模型属性名称大小写,自动处理json中null
Stars: ✭ 244 (-2.79%)
Mutual labels:  json
Full Stack Fastapi Couchbase
Full stack, modern web application generator. Using FastAPI, Couchbase as database, Docker, automatic HTTPS and more.
Stars: ✭ 243 (-3.19%)
Mutual labels:  json
Cortex Analyzers
Cortex Analyzers Repository
Stars: ✭ 246 (-1.99%)
Mutual labels:  json
Qjsonmodel
Qt Json Tree Model
Stars: ✭ 244 (-2.79%)
Mutual labels:  json
X2struct
Convert between json string and c++ object. json字符串和c++结构体之间互相转换
Stars: ✭ 251 (+0%)
Mutual labels:  json
Timezonefinder
fast python package for finding the timezone of any point on earth (coordinates) offline
Stars: ✭ 242 (-3.59%)
Mutual labels:  geolocation
Moshix
Moshi Extensions
Stars: ✭ 243 (-3.19%)
Mutual labels:  json
Miller
Miller is like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON
Stars: ✭ 4,633 (+1745.82%)
Mutual labels:  json
Rdflib Jsonld
JSON-LD parser and serializer plugins for RDFLib (Python 2.6+)
Stars: ✭ 250 (-0.4%)
Mutual labels:  json

Cities of the World

Creative Commons License

These cities comes from GeoNames Gazetteer: http://www.geonames.org

Here is the description of the original dataset:

all cities with a population > 1000 or seats of adm div (ca 150.000) [...]

Install

npm install --save cities.json

Usage

Either on node or the browser (with webpack) it get as simple as this:

ES5

const cities = require('cities.json');

ES6

import cities from 'cities.json';

Since webpack >= v2.0.0, importing of JSON files will work by default.

Description

This Json version is an array of object of the following shape:

  • ISO 3166-1 alpha-2 country code
  • name
  • Latitude
  • Longitude
[
  {
    "country": "FR",
    "name": "Lyon",
    "lat": "45.75",
    "lng": "4.583333"
  },
  ...
]

These cities can pretty easily be matched with countries by code using the following dataset: https://github.com/annexare/Countries

Licence

This work is licensed under a Creative Commons Attribution 3.0 License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].