Docs
Contents

Medium-voltage distribution network (HV)

What it is

The 2,900,284 segments through which any project that is not a power plant actually connects: 1,036,732 overhead and 1,863,552 underground, told apart by the tipo column. It is the second tier of the French network —below RTE transmission, which lives in the high-voltage lines layer— and the one that drives connection cost: distance to the nearest medium-voltage line is the first figure in any grid connection study. Each segment carries its IRIS, municipality, EPCI, department and region. ⚠ Enedis publishes the route, not the characteristics: there is no exact voltage, no conductor size, no operator, no year; the only physical fact available is whether the segment runs overhead or underground. ⚠ It covers mainland France excluding Corsica; Corsica and the overseas departments are published separately.

The upstream service publishes no abstract for this layer.

At a glance

IDfr_energia_lineas_hta
Records2,900,284
Size417.8 MB
GeometryLINESTRING, POINT
CRSEPSG:4326
Versionv/2026-08
Sourceenedis
Upstream layerenedis:7p9-paqaf6cckipnjiubcncw
LicenceLicence Ouverte 2.0 (Etalab)

Extent: -5.12873, 42.34875 → 7.723957, 51.087806

Download

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

sha256 of this version:

5e018b9fb69dd9eae14062e2c7ecea96e2d1e4788b5e3067211b8ee771a2de9e

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
code_departementVARCHAR99.99 %94
nom_irisVARCHAR99.85 %40,147
nom_departementVARCHAR99.99 %94
code_irisVARCHAR99.85 %45,910
code_communeVARCHAR99.99 %32,639
code_epciVARCHAR99.98 %1,209
nom_regionVARCHAR99.99 %12Nouvelle-Aquitaine · Auvergne-Rhône-Alpes · Occitanie · Île-de-France · Pays de la Loire · Bretagne · Hauts-de-France · Normandie
code_regionVARCHAR99.99 %1275 · 84 · 76 · 11 · 52 · 53 · 32 · 28
nom_communeVARCHAR99.99 %30,627
nom_epciVARCHAR99.98 %1,207
tramo_idVARCHAR100 %2,900,284
tipoVARCHAR100 %2subterranea · aerea
dep_codeVARCHAR100 %94
dep_nameVARCHAR100 %94
dep_aproxBOOLEAN100 %2false · true
_fuenteVARCHAR100 %1enedis
_fecha_capturaDATE100 %12026-08-24
_fecha_edicionDATE100 %12026-08-24
_licenciaVARCHAR100 %1Licence Ouverte 2.0 (Etala
_atribucionVARCHAR100 %1Enedis — Licence Ouverte 2
bboxSTRUCT(xmin DOUBLE, ymin DOUBLE, xmax DOUBLE, ymax DOUBLE)100 %—
geometryGEOMETRY(‘EPSG:4326’)100 %—