Docs
Contents

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

IDes_transportes_viario_urbano
Records4,312,280
Size615.6 MB
GeometryLINESTRING
CRSEPSG:4326
Versionv/2026-08
Sourceign
Upstream layerign:btn0622l_urbana
LicenceCC-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/download

sha256 of this version:

a968e620854b09129a2d843749cbfd9a9f3116bbf6acf54a328045b1c9b56afd

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
nombreVARCHAR96.75 %387,954
situa_0622VARCHAR100 %702 · 03 · 01 · 04 · 05 · 06 · 99
id_vialDOUBLE99.59 %836,129Range: 10010000001.0 → 816000028017.0
id_tramoDOUBLE99.59 %4,289,923Range: 10010000001.0 → 530740001124.0
f_altaVARCHAR100 %39
ncarr_0622DOUBLE72.40 %81.0 · 2.0 · 3.0 · 4.0 · 5.0 · 8.0 · 6.0 · 7.0
tramo_0622VARCHAR100 %401 · 12 · 11 · 10
tipin_0622VARCHAR95.87 %277
estad_0622VARCHAR100 %401 · 99 · 02 · 03
firme_0622VARCHAR100 %501 · 03 · 02 · 04 · 99
codigoVARCHAR95.37 %680,018
nom_alternVARCHAR10.56 %60,805
senti_0622VARCHAR100 %402 · 01 · 99 · 03
tipve_0622VARCHAR100 %602 · 99 · 03 · 05 · 01 · 04
titul_0622VARCHAR100 %1205 · 02 · 03 · 99 · 01 · 04 · 11 · 06
calz_0622VARCHAR100 %301 · 02 · 99
situaVARCHAR100 %7SUPERFICIE · ELEVADO · SUBTERRÁNEO · EN VADO · TRANSBORDADOR · SOBRE PRESA · NO APLICABLE/NO DISPONIBLE
tramoVARCHAR100 %4TRONCAL · ENLACE · ROTONDA · VÍA DE SERVICIO
estadVARCHAR100 %4EN USO · NO APLICABLE/NO DISPONIBLE · EN CONSTRUCCIÓN · FUERA DE SERVICIO
firmeVARCHAR100 %5PAVIMENTADO · SIN TRATAMIENTO SUPERFICIA · TRATAMIENTO SUPERFICIAL · PARCIALMENTE PAVIMENTADO · NO APLICABLE/NO DISPONIBLE
sentiVARCHAR100 %4DOBLE · ÚNICO · NO APLICABLE/NO DISPONIBLE · REVERSIBLE
tipveVARCHAR100 %6PEATÓN-BICI-VEHÍCULO · NO APLICABLE/NO DISPONIBLE · PEATÓN-BICI · PEATÓN · VEHÍCULO · BICI
titulVARCHAR100 %12AYUNTAMIENTO · 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
calzVARCHAR100 %3ÚNICA · DOBLE · NO APLICABLE/NO DISPONIBLE
prov_codeVARCHAR100 %53
prov_nameVARCHAR100 %53
prov_aproxBOOLEAN100 %2false · true
_fuenteVARCHAR100 %1ign
_fecha_capturaDATE100 %12026-08-22
_licenciaVARCHAR100 %1CC-BY-4.0
_atribucionVARCHAR100 %1Obra derivada de BTN 2026
bboxSTRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE)100 %—
geometryGEOMETRY(‘EPSG:4326’)100 %—