Population of Mainland Spain and the Balearic Islands by Municipality (2023)
Georeferenced dataset of the resident population in 2023 for every municipality ofpeninsular Spain and the Balearic Islands, distributed as two GeoJSON files: afull-resolution version and a simplified low-resolution version. ## Files **Data** - **`pop_ES_2023_HR.geojs
Georeferenced dataset of the resident population in 2023 for every municipality of
peninsular Spain and the Balearic Islands, distributed as two GeoJSON files: a
full-resolution version and a simplified low-resolution version.
## Files
**Data**
– **`pop_ES_2023_HR.geojson`** — full-resolution municipal boundaries (~150 MB).
– **`pop_ES_2023_LR.geojson`** — geometry simplified with
`shapely.simplify(tolerance=0.001°, preserve_topology=True)` (~18 MB, ~88 %
smaller).
Both GeoJSON files contain the same 8,041 municipalities and identical attributes.
**Preview figures**
– **`pop_ES_2023_HR.geojson.pdf`** — vector preview map rendered from the
full-resolution dataset.
– **`pop_ES_2023_LR.geojson.pdf`** — vector preview map rendered from the
simplified dataset, provided for visual comparison with the full-resolution
version.
## Attributes
| Field | Type | Description |
|————–|———|———————————————————–|
| `nombre` | string | Municipality name |
| `codmun_ine` | string | INE municipal code (5 digits) |
| `ccaa` | string | Autonomous Community |
| `provincia` | string | Province |
| `cod_nut3` | string | NUTS-3 code (Eurostat 2021 classification) |
| `pob_23` | int | Resident population on 1 January 2023 |
| `area_km2` | float | Municipal area in km² (computed in EPSG:3035) |
| `dens_pob` | float | Population density (inhabitants / km²) |
| `geometry` | Polygon / MultiPolygon | Municipal boundary |
## Coordinate Reference System
– **EPSG:4258** — ETRS89 geographic coordinates (latitude / longitude in degrees).
–
📤 Share this page
Found this useful? Share it with your network.
Files are hosted on the source repository. Click download to access the full dataset.