Administrative boundaries (CAOP 2025)
What it is
The 3,259 parishes, 308 municipalities and 29 districts and islands of the official administrative chart, plus the three NUTS levels. Every other layer takes its dt_code from here.
According to the publishing agency
Official text, in Portuguese, exactly as the upstream service publishes it:
CAOP2025 Áreas administrativas Carta Administrativa Oficial de Portugal, Continente, 2025. Áreas administrativas
At a glance
| ID | pt_admin_limites |
| Records | 3,634 |
| Size | 65.5 MB |
| Geometry | MULTIPOLYGON, POLYGON |
| CRS | EPSG:4326 |
| Version | v/2026-08 |
| Source | dgt_caop |
| Upstream layer | dgt_ogc:admin |
| Licence | CC-BY-4.0 |
Extent: -31.268815, 30.028778 → -6.189159, 42.154311
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/pt_admin_limites/downloadsha256 of this version:
aff17da07f62eb9ed0dbccc4f04aff3a5ed982127dece8edeb629598494c1f1bQuery 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 |
|---|---|---|---|---|
nivel | VARCHAR | 100 % | 6 | freguesia · municipio · distrito · nuts3 · nuts2 · nuts1 |
cod | VARCHAR | 100 % | 3,632 | |
nombre | VARCHAR | 100 % | 3,178 | |
dt_code | VARCHAR | 98.95 % | 29 | |
dtmn_code | VARCHAR | 98.16 % | 308 | |
_fuente | VARCHAR | 100 % | 1 | dgt_caop |
_fecha_captura | DATE | 100 % | 1 | 2026-08-25 |
_fecha_edicion | DATE | 100 % | 1 | 2026-08-21 |
_licencia | VARCHAR | 100 % | 1 | CC-BY-4.0 |
_atribucion | VARCHAR | 100 % | 1 | Informação geográfica cedi |
bbox | STRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE) | 100 % | — | |
geometry | GEOMETRY(‘EPSG:4326’) | 100 % | — |