Docs
Contents

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

IDpt_admin_limites
Records3,634
Size65.5 MB
GeometryMULTIPOLYGON, POLYGON
CRSEPSG:4326
Versionv/2026-08
Sourcedgt_caop
Upstream layerdgt_ogc:admin
LicenceCC-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/download

sha256 of this version:

aff17da07f62eb9ed0dbccc4f04aff3a5ed982127dece8edeb629598494c1f1b

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
nivelVARCHAR100 %6freguesia · municipio · distrito · nuts3 · nuts2 · nuts1
codVARCHAR100 %3,632
nombreVARCHAR100 %3,178
dt_codeVARCHAR98.95 %29
dtmn_codeVARCHAR98.16 %308
_fuenteVARCHAR100 %1dgt_caop
_fecha_capturaDATE100 %12026-08-25
_fecha_edicionDATE100 %12026-08-21
_licenciaVARCHAR100 %1CC-BY-4.0
_atribucionVARCHAR100 %1Informação geográfica cedi
bboxSTRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE)100 %—
geometryGEOMETRY(‘EPSG:4326’)100 %—