Cadastral zones — Madrid
What it is
The 61,956 cadastral zones of Madrid: 58,503 urban blocks and 3,453 rural polygons. This is the layer that separates urban from rural land in the cadastre, and that distinction is not in the parcels layer, where it has to be inferred from the reference format. The deciding field is LocalisedCharacterString, with only those two literal values, MANZANA and POLIGONO. ⚠ The two layers share no join column: the parcels layer does not carry nationalCadastalZoningReference. They are joined spatially, which is the reliable way. And note that blocks and polygons overlap: rural polygons tile the whole municipal territory and urban blocks sit on top of them in the built-up core, so an urban parcel falls inside both. To tell whether a given parcel is urban or rural, the direct route is the format of its cadastral reference, not the zone containing it. ⚠ The data has no evidentiary value regarding the physical, legal or economic circumstances of the property — the DGC licence says so. ⚠ It is not a planning classification: it says how the cadastre groups land, not what the municipal plan allows.
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_zonificacion_28 |
| Records | 61,956 |
| Size | 90.6 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_zonificacion_28/downloadsha256 of this version:
5d21310b7fac1f92de8aec8335826826f1f94d3272d5147ceed5db01ba95d409Query 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 % | 61,881 | |
beginLifespanVersion | VARCHAR | 100 % | 5,361 | |
endLifespanVersion | VARCHAR | 0.14 % | 38 | |
estimatedAccuracy | DOUBLE | 100 % | 2 | 0.5 · 1.0 |
estimatedAccuracy_uom | VARCHAR | 100 % | 1 | m |
localId | VARCHAR | 100 % | 61,881 | |
namespace | VARCHAR | 100 % | 1 | ES.SDGC.CP.Z |
label | VARCHAR | 100 % | 44,215 | |
LocalisedCharacterString | VARCHAR | 100 % | 2 | MANZANA · POLIGONO |
nationalCadastalZoningReference | VARCHAR | 100 % | 61,881 | |
originalMapScaleDenominator | INTEGER | 100 % | 3 | 1000 · 500 · 5000 |
pos | VARCHAR | 100 % | 61,954 | |
prov_code | VARCHAR | 100 % | 1 | 28 |
prov_name | VARCHAR | 100 % | 1 | Madrid |
prov_aprox | BOOLEAN | 100 % | 1 | false |
_fuente | VARCHAR | 100 % | 1 | catastro |
_fecha_captura | DATE | 100 % | 1 | 2026-08-23 |
_fecha_edicion | DATE | 100 % | 1 | 2026-08-23 |
_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 % | — |