Docs
Contents

Kilometre posts

What it is

The 223,059 kilometre posts of the network, split by subcapa into road 190,893 and rail 32,166. They serve what no coordinate solves: translating an administrative reference — “N-340, km 312” — into a point on the map, which is how access permits, expropriation files and incident reports are written. senti distinguishes 19,560 ascending and 18,324 descending, with 153,008 two-way. They join to es_transportes_carreteras through id_vial.

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_puntos_kilometricos
Records223,059
Size11.7 MB
GeometryPOINT
CRSEPSG:4326
Versionv/2026-08
Sourceign
Upstream layerign:btn0618p_kil_carr
LicenceCC-BY-4.0

Extent: -18.14648, 27.643741 → 4.308516, 43.772209

Download

curl -H "x-api-key: $GEOVIS_API_KEY" \
https://datos.geovis.es/v1/data/datasets/es_transportes_puntos_kilometricos/download

sha256 of this version:

7fb19cbab0e32b614148f1e1cd59cae87d91a9412f933acb7412d808ab6747ef

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
senti_0618VARCHAR85.58 %403 · 01 · 02 · 99
pk_0618DOUBLE85.58 %1,243Range: 0.0 → 1244.0
id_vialDOUBLE85.58 %15,456Range: 60140000136.0 → 807000391437.0
id_pkDOUBLE99.99 %222,930Range: 10010000411.0 → 530830000201.0
f_altaVARCHAR100 %18
pk_0653VARCHAR14.42 %5,322
id_lineafcVARCHAR14.41 %331
sentiVARCHAR85.58 %4DOBLE · ASCENDENTE · DESCENDENTE · NO APLICABLE/NO DISPONIBLE
subcapaVARCHAR100 %2carretera · ferrocarril
prov_codeVARCHAR100 %52
prov_nameVARCHAR100 %52
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 %—