Spain 🇪🇸¶
Parcels in Spain come from the Dirección General del Catastro (DGC). Because
no single endpoint returns everything, plot-finder combines three official
services:
Consulta_RCCOOR— coordinates → cadastral reference (referencia catastral).- INSPIRE WFS (
GetParcel) — reference → parcel geometry + official area. Consulta_DNPRC— reference → province and municipality.
Querying¶
The plot_id is the referencia catastral (14 characters for the parcel).
Coordinates are longitude, latitude (EPSG:4326). They are resolved to a
cadastral reference via RCCOOR, then to geometry.
Attributes¶
Sourced from the Spain class:
| Attribute | Spanish term | Example |
|---|---|---|
province |
provincia | MADRID |
municipality |
municipio | MADRID |
Plus the shared fields: plot_id (referencia catastral), geom_wkt,
datasource, and the computed area / centroid / geojson.
Notes¶
- Area is computed in EPSG:25830 (ETRS89 / UTM zone 30N). It matches the Catastro's official superficie to within a fraction of a percent.
- The INSPIRE WFS returns geometry as GML in lat/lon axis order;
plot-findernormalizes it to standard lon/lat WKT. - The geometry request uses the 14-character parcel reference; a longer 20-char property reference is truncated to its parcel part.
Errors¶
| Exception | When |
|---|---|
CatastroError |
an RCCOOR / WFS request failed or returned invalid data |
PlotNotFoundError |
no parcel at the point / for the reference |
AddressNotFoundError |
the address could not be geocoded |