zeke / All The Cities
Licence: mit
All the 138,398 cities of the world with a population of at least 1000 inhabitants, in a big JSON array.
Stars: ✭ 216
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to All The Cities
Ip2geo
Импортер ipgeo-данных в файлы, понятные для nginx geoip module, с поддержкой кодов регионов РФ.
Stars: ✭ 59 (-72.69%)
Mutual labels: geo
Transitland Datastore
Transitland's centralized web service API for both querying and editing aggregated transit data from around the world
Stars: ✭ 101 (-53.24%)
Mutual labels: geo
Openrailwaymap
An OpenStreetMap-based project for creating a map of the world's railway infrastructure.
Stars: ✭ 150 (-30.56%)
Mutual labels: geo
Geotools
Geo-related tools PHP 5.4+ library built atop Geocoder and React libraries
Stars: ✭ 1,157 (+435.65%)
Mutual labels: geo
Examples
Self-contained examples for the legacy Maps API for JavaScript.
Stars: ✭ 78 (-63.89%)
Mutual labels: geo
Tiledmapview
Tiled map loader for Android , based on the pyramid model, supports a variety of projections, including Web Mercator projection, latitude and longitude projection and custom projection; supports locating, adding layers and overlays. Android瓦片地图加载控件,基于金字塔模型,支持多种投影,包括Web墨卡托投影,经纬度直投及自定义投影等;支持定位,添加图层和覆盖物。
Stars: ✭ 45 (-79.17%)
Mutual labels: geo
Awesome Gis
😎Awesome GIS is a collection of geospatial related sources, including cartographic tools, geoanalysis tools, developer tools, data, conference & communities, news, massive open online course, some amazing map sites, and more.
Stars: ✭ 2,582 (+1095.37%)
Mutual labels: geo
Editor
An open source visual editor for the 'Mapbox Style Specification'
Stars: ✭ 1,167 (+440.28%)
Mutual labels: geo
Simplification
Very fast LineString simplification using RDP or Visvalingam-Whyatt and a Rust binary
Stars: ✭ 78 (-63.89%)
Mutual labels: geo
Maps Api For Javascript Examples
Self-contained examples for Maps API for JavaScript v3.
Stars: ✭ 130 (-39.81%)
Mutual labels: geo
React Native Android Location Services Dialog Box
React Native Android Location Services Dialog Box
Stars: ✭ 175 (-18.98%)
Mutual labels: geo
Geo On Fire
A library to create high performance geolocation queries for Firebase. Checkout the demos: https://run.plnkr.co/plunks/AYaN8ABEDcMntgbJyLVW/ and https://run.plnkr.co/plunks/xJgstAvXYcp0w7MbOOjm/
Stars: ✭ 54 (-75%)
Mutual labels: geo
Geo Data Viewer
🗺️ Geo Data Viewer w/0 Py 🐍 || pyWidgets ⚙️ || pandas 🐼 || @reactjs ⚛️ required to gen. some snazzy maps 🗺️ with keplerGL ...
Stars: ✭ 115 (-46.76%)
Mutual labels: geo
Geostats
A tiny and standalone javascript library for classification and basic statistics :
Stars: ✭ 183 (-15.28%)
Mutual labels: geo
all-the-cities
All the 138,398 cities of the world with a population of at least 1000 inhabitants, in a big JSON array that is ready to be imported in MongoDB for geoSpatialSearch
.
Derived from the cities-with-1000 npm package, which in turn came from geonames.org data.
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install all-the-cities --save
Usage
const cities = require('all-the-cities');
cities.filter(city => city.name.match('Albuquerque'));
/*
[{
cityId: '5454711',
name: 'Albuquerque',
country: 'US',
altCountry: '',
muni: '',
muniSub: '',
featureClass: 'P',
featureCode: 'PPLA2',
adminCode: 'NM',
population: 545852,
loc: {
type: 'Point',
coordinates: [-106.65114, 35.084]
}
}, {
cityId: '5476960',
name: 'Los Ranchos de Albuquerque',
country: 'US',
altCountry: '',
muni: '',
muniSub: '',
featureClass: 'P',
featureCode: 'PPL',
adminCode: 'NM',
population: 6024,
loc: {
type: 'Point',
coordinates: [-106.6428, 35.16199]
}
}]
*/
Fields available to import
id - Id of the city (same in openWeatherMap)
name
altName
country
featureCode
adminCode
population
loc: { type: 'Point', coordinates: [0, 0] }
for **GEO JSON data**, a particular format is needed in MongoDB Schema as written in loc field above
Tests
npm install
npm test
Dependencies
None
Dev Dependencies
- cities-with-1000: lat/lon, names of cities with over 1000 people
- tape: tap-producing test harness for node and browsers
- split2: split a Text Stream into a Line Stream, using Stream 3
- through2: A tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise
License
MIT
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].