Administrative boundaries
What it is
Municipalities, provinces, autonomous communities and the country outline in a single file, with the tier in nivel and the INE code in cod_ine. This is the corpus-wide reference layer: the prov_code of every other layer is computed against it. Measured: 8,213 municipalities, 53 provinces and 20 autonomous-tier units — the 17 communities plus Ceuta, Melilla and “territories not attached to any autonomous community”; the seven sovereign islets and Gibraltar are separate, with nivel = otro. ⚠ IGN publishes under CC-BY 4.0 and the attribution “BTN 2026 CC-BY 4.0 ign.es” is mandatory and must be visible at the foot of the map.
According to the publishing agency
Official text, in Spanish, exactly as the upstream service publishes it:
Unidades administrativas de España Unidades administrativas y límites administrativos con tres niveles de administración (comunidad autónoma, provincia y municipio). Esta información forma parte del Equipamiento Geográfico de Referencia Nacional, según se recoge en el Anexo I, parte 1 de LISIGE: Unidades administrativas en que se dividan las áreas en las que los Estados miembros tienen y/o ejercen derechos jurisdiccionales, a efectos de administración local, regional y nacional, separadas por límites administrativos. Servicio de descarga Inspire de acceso directo conforme con ISO 19142 Web Feature Service e ISO 19143 Filter Encoding.
At a glance
| ID | es_admin_limites |
| Records | 8,294 |
| Size | 44.1 MB |
| Geometry | MULTIPOLYGON |
| CRS | EPSG:4326 |
| Version | v/2026-08 |
| Source | ign |
| Upstream layer | ign:au_AdministrativeUnit |
| Licence | CC-BY-4.0 |
Extent: -18.161181, 27.637723 → 4.327785, 43.79238
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/es_admin_limites/downloadsha256 of this version:
e13cfb239de9dd3c2a5eff5ed7bae351978e989678cd2885928c9454f373a70aQuery 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 |
|---|---|---|---|---|
cod_nacional | BIGINT | 100 % | 8,294 | Range: 34000000000 → 34205454007 |
cod_ine | VARCHAR | 99.02 % | 8,141 | |
nombre | VARCHAR | 100 % | 8,231 | |
nivel | VARCHAR | 100 % | 5 | municipio · provincia · ccaa · otro · pais |
ccaa_code | VARCHAR | 100 % | 21 | |
prov_code | VARCHAR | 100 % | 54 | |
_fuente | VARCHAR | 100 % | 1 | ign |
_fecha_captura | DATE | 100 % | 1 | 2026-08-22 |
_licencia | VARCHAR | 100 % | 1 | CC-BY-4.0 |
_atribucion | VARCHAR | 100 % | 1 | Obra derivada de BTN 2026 |
bbox | STRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE) | 100 % | — | |
geometry | GEOMETRY(‘EPSG:4326’) | 100 % | — |