Docs
Contents

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

IDes_catastro_parcelas_28
Records1,171,318
Size307.7 MB
GeometryMULTIPOLYGON
CRSEPSG:4326
Versionv/2026-08
Sourcecatastro
Upstream layercatastro:ES.SDGC.CP
LicenceLicencia 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/download

sha256 of this version:

04e8393afa0dcdd389e8debeeb44b3d9b685f561eaac7d6b583732d74a055059

Query it without downloading it

import duckdb
con = 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.

ColumnTypeFilledDistinctValues
gml_idVARCHAR100 %1,162,578
areaValueINTEGER94.71 %54,638Range: 0 → 27674863
areaValue_uomVARCHAR94.71 %1m2
beginLifespanVersionVARCHAR100 %5,928
endLifespanVersionVARCHAR0.01 %38
localIdVARCHAR100 %1,162,578
namespaceVARCHAR100 %2ES.SDGC.CP · ES.SDGC.CP.Z
labelVARCHAR100 %47,765
nationalCadastralReferenceVARCHAR94.71 %1,100,697
posVARCHAR100 %1,171,115
estimatedAccuracyVARCHAR5.29 %20.5 · 1
estimatedAccuracy_uomVARCHAR5.29 %1m
LocalisedCharacterStringVARCHAR5.29 %2MANZANA · POLIGONO
nationalCadastalZoningReferenceVARCHAR5.29 %61,881
originalMapScaleDenominatorVARCHAR5.29 %31000 · 500 · 5000
prov_codeVARCHAR100 %128
prov_nameVARCHAR100 %128
prov_aproxBOOLEAN100 %1false
_fuenteVARCHAR100 %1catastro
_fecha_capturaDATE100 %12026-08-22
_licenciaVARCHAR100 %1Licencia de acceso y uso d
_atribucionVARCHAR100 %1Dirección General del Cata
bboxSTRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE)100 %—
geometryGEOMETRY(‘EPSG:4326’)100 %—