Urban street network
What it is
The 4,312,280 street segments of every settlement in Spain, with the name filled in 96.8 % of rows and the street code in 95.4 %, which is what allows joins against cadastre or a population register. The street type comes as free text in each territory’s official language (tipin_0622: Calle, Avenida, Carrer, Kalea, Praza, Camino…), unnormalised, exactly as IGN publishes it. Ownership is overwhelmingly municipal — 3,846,878 — but 173,827 segments are regional and 152,274 provincial: those are the through-roads, where the counterpart is not the town council. firme separates 4,084,680 paved segments from 151,480 with no surface treatment, useful to tell the built-up core from scattered settlement. ⚠ 6,125 segments carry an ownership code the specification does not document.
According to the publishing agency
Official text, in Spanish, exactly as the upstream service publishes it:
BTN — Base Topográfica Nacional Base de datos tridimensional multiescala (1:2.000-1:25.000) con cobertura completa y continua para España. Contiene datos topográficos y temáticos que permiten su explotación mediante sistemas de información geográfica y la generación de productos cartográficos y servicios interoperables. Incluye información hidrográfica con estructura de red e información geográfica de referencia del IGN de redes de transporte y poblaciones. … La resolución de los datos depende de la temática tratada, pero puede asegurarse que de forma global la exactitud posicional es mejor de 3 metros en X, Y, Z. …
At a glance
| ID | es_transportes_viario_urbano |
| Records | 4,312,280 |
| Size | 615.6 MB |
| Geometry | LINESTRING |
| CRS | EPSG:4326 |
| Version | v/2026-08 |
| Source | ign |
| Upstream layer | ign:btn0622l_urbana |
| Licence | CC-BY-4.0 |
Extent: -18.106255, 27.638739 → 4.305069, 43.774265
Download
curl -H "x-api-key: $GEOVIS_API_KEY" \ https://datos.geovis.es/v1/data/datasets/es_transportes_viario_urbano/downloadsha256 of this version:
a968e620854b09129a2d843749cbfd9a9f3116bbf6acf54a328045b1c9b56afdQuery 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 |
|---|---|---|---|---|
nombre | VARCHAR | 96.75 % | 387,954 | |
situa_0622 | VARCHAR | 100 % | 7 | 02 · 03 · 01 · 04 · 05 · 06 · 99 |
id_vial | DOUBLE | 99.59 % | 836,129 | Range: 10010000001.0 → 816000028017.0 |
id_tramo | DOUBLE | 99.59 % | 4,289,923 | Range: 10010000001.0 → 530740001124.0 |
f_alta | VARCHAR | 100 % | 39 | |
ncarr_0622 | DOUBLE | 72.40 % | 8 | 1.0 · 2.0 · 3.0 · 4.0 · 5.0 · 8.0 · 6.0 · 7.0 |
tramo_0622 | VARCHAR | 100 % | 4 | 01 · 12 · 11 · 10 |
tipin_0622 | VARCHAR | 95.87 % | 277 | |
estad_0622 | VARCHAR | 100 % | 4 | 01 · 99 · 02 · 03 |
firme_0622 | VARCHAR | 100 % | 5 | 01 · 03 · 02 · 04 · 99 |
codigo | VARCHAR | 95.37 % | 680,018 | |
nom_altern | VARCHAR | 10.56 % | 60,805 | |
senti_0622 | VARCHAR | 100 % | 4 | 02 · 01 · 99 · 03 |
tipve_0622 | VARCHAR | 100 % | 6 | 02 · 99 · 03 · 05 · 01 · 04 |
titul_0622 | VARCHAR | 100 % | 12 | 05 · 02 · 03 · 99 · 01 · 04 · 11 · 06 |
calz_0622 | VARCHAR | 100 % | 3 | 01 · 02 · 99 |
situa | VARCHAR | 100 % | 7 | SUPERFICIE · ELEVADO · SUBTERRÁNEO · EN VADO · TRANSBORDADOR · SOBRE PRESA · NO APLICABLE/NO DISPONIBLE |
tramo | VARCHAR | 100 % | 4 | TRONCAL · ENLACE · ROTONDA · VÍA DE SERVICIO |
estad | VARCHAR | 100 % | 4 | EN USO · NO APLICABLE/NO DISPONIBLE · EN CONSTRUCCIÓN · FUERA DE SERVICIO |
firme | VARCHAR | 100 % | 5 | PAVIMENTADO · SIN TRATAMIENTO SUPERFICIA · TRATAMIENTO SUPERFICIAL · PARCIALMENTE PAVIMENTADO · NO APLICABLE/NO DISPONIBLE |
senti | VARCHAR | 100 % | 4 | DOBLE · ÚNICO · NO APLICABLE/NO DISPONIBLE · REVERSIBLE |
tipve | VARCHAR | 100 % | 6 | PEATÓN-BICI-VEHÍCULO · NO APLICABLE/NO DISPONIBLE · PEATÓN-BICI · PEATÓN · VEHÍCULO · BICI |
titul | VARCHAR | 100 % | 12 | AYUNTAMIENTO · COMUNIDAD AUTÓNOMA · DIPUTACIÓN PROVINCIAL · NO APLICABLE/NO DISPONIBLE · ADMINISTRACIÓN GENERAL DEL · CABILDO-CONSELL INSULAR · SIN DOCUMENTAR EN LA ESPEC · CONFEDERACIÓN HIDROGRÁFICA |
calz | VARCHAR | 100 % | 3 | ÚNICA · DOBLE · NO APLICABLE/NO DISPONIBLE |
prov_code | VARCHAR | 100 % | 53 | |
prov_name | VARCHAR | 100 % | 53 | |
prov_aprox | BOOLEAN | 100 % | 2 | false · true |
_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 % | — |