Templates / World Capitals
Map Editor →
GIS Dataset & Map Template

World Capitals

148 world capital cities as geographic points.

148 features#points#world#cities
·
Layer: Capitals

About this Spatial Dataset

A point layer with the capital city of 148 sovereign states, each placed at the city centre rather than at a national centroid. It is the fastest way to get a globally distributed point set for testing: clustering behaviour, marker styling, proximity queries, or a distance matrix. Because the points span every continent and cross both the equator and the antimeridian, it also exposes projection and axis-order bugs that a single-country dataset would hide.

  • Geometry type: Point (148 features).
  • Coordinate Reference System (CRS): EPSG:4326 (Longitude / Latitude).
  • Format: GeoJSON FeatureCollection.
  • Source: Compiled from public domain place-name data and verified against national capital listings.
  • Licence: Public domain — use freely, no attribution required.
  • Compatible With: PostGIS, QGIS, Leaflet, Mapbox GL JS, Turf.js, Python GeoPandas, Shapely.

Feature properties

Every feature in the FeatureCollection carries these keys.

PropertyTypeDescription
namestringCity name, e.g. "Buenos Aires".
countrystringSovereign state the city is the capital of.
colorstringHex colour used for the default marker style.

Frequently Asked Questions

Why 148 capitals and not ~195?+

The set covers sovereign states with an unambiguous, single capital. Countries with multiple constitutional capitals, disputed status, or no permanent seat of government are excluded rather than guessed at, so every point in the file is defensible.

What coordinate order do the points use?+

Longitude first, then latitude, as required by GeoJSON RFC 7946 and EPSG:4326. If your points land in the wrong hemisphere after import elsewhere, the consuming tool is reading them as latitude/longitude.

Explore More GIS Templates