Land parcels — Madrid
What it is
The land parcels of Madrid as published by the INSPIRE service of the Spanish Directorate General for Cadastre, with the cadastral reference (nationalCadastralReference), the area in m² (areaValue), the representative point and the registration date. 🔴 This file mixes two things and must be filtered before counting. Of its 1,171,318 rows, 1,109,362 are parcels — 7,734 km² in total — and 61,956 are cadastral zones, which the service publishes in a separate file and which entered here through a harvesting error. They are unambiguously distinguishable: parcels carry nationalCadastralReference and zones carry nationalCadastalZoningReference, and no row carries both. The other provinces are published with parcels only; this one will be corrected in the next corpus version, because published keys are immutable. ⚠ The data has no evidentiary value regarding the physical, legal or economic circumstances of the property — the DGC licence says so. Use it to delimit and locate, not to establish ownership, legal area or encumbrances. ⚠ It carries no ownership or cadastral value: those are protected data and the INSPIRE service does not publish them.
According to the publishing agency
Official text, in Spanish, exactly as the upstream service publishes it:
INSPIRE Cadastral Parcels. Spanish Directorate General for Cadastre Download service of Cadastral Parcels. Territorial Office. Copyright (c) 2012, ES.SDGC; all rights reserved
At a glance
| ID | es_catastro_parcelas_28 |
| Records | 1,171,318 |
| Size | 307.7 MB |
| Geometry | MULTIPOLYGON |
| CRS | EPSG:4326 |
| Version | v/2026-08 |
| Source | catastro |
| Upstream layer | catastro:ES.SDGC.CP |
| Licence | Licencia de acceso y uso de los servicios y conjuntos de datos INSPIRE de la DGC (v1.0, julio 2016) |
Extent: -4.579006, 39.88464 → -3.053227, 41.165841
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/es_catastro_parcelas_28/downloadsha256 of this version:
04e8393afa0dcdd389e8debeeb44b3d9b685f561eaac7d6b583732d74a055059Query it without downloading it
import duckdbcon = duckdb.connect(); con.execute("INSTALL spatial; LOAD spatial; INSTALL httpfs; LOAD httpfs;")con.execute("SELECT count(*) FROM read_parquet('<url-firmada>')").fetchone()Columns
Column names are kept exactly as the agency publishes them. They are not translated: renaming them would break traceability against the official source.
The literals below are the ones present in the data: they work as-is in a WHERE. Only columns with few distinct values are enumerated; for the rest, the count is given.
| Column | Type | Filled | Distinct | Values |
|---|---|---|---|---|
gml_id | VARCHAR | 100 % | 1,162,578 | |
areaValue | INTEGER | 94.71 % | 54,638 | Range: 0 → 27674863 |
areaValue_uom | VARCHAR | 94.71 % | 1 | m2 |
beginLifespanVersion | VARCHAR | 100 % | 5,928 | |
endLifespanVersion | VARCHAR | 0.01 % | 38 | |
localId | VARCHAR | 100 % | 1,162,578 | |
namespace | VARCHAR | 100 % | 2 | ES.SDGC.CP · ES.SDGC.CP.Z |
label | VARCHAR | 100 % | 47,765 | |
nationalCadastralReference | VARCHAR | 94.71 % | 1,100,697 | |
pos | VARCHAR | 100 % | 1,171,115 | |
estimatedAccuracy | VARCHAR | 5.29 % | 2 | 0.5 · 1 |
estimatedAccuracy_uom | VARCHAR | 5.29 % | 1 | m |
LocalisedCharacterString | VARCHAR | 5.29 % | 2 | MANZANA · POLIGONO |
nationalCadastalZoningReference | VARCHAR | 5.29 % | 61,881 | |
originalMapScaleDenominator | VARCHAR | 5.29 % | 3 | 1000 · 500 · 5000 |
prov_code | VARCHAR | 100 % | 1 | 28 |
prov_name | VARCHAR | 100 % | 1 | 28 |
prov_aprox | BOOLEAN | 100 % | 1 | false |
_fuente | VARCHAR | 100 % | 1 | catastro |
_fecha_captura | DATE | 100 % | 1 | 2026-08-22 |
_licencia | VARCHAR | 100 % | 1 | Licencia de acceso y uso d |
_atribucion | VARCHAR | 100 % | 1 | Dirección General del Cata |
bbox | STRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE) | 100 % | — | |
geometry | GEOMETRY(‘EPSG:4326’) | 100 % | — |