{"schema_version":"1.0","country":"es","country_name":"Spain","topic":"power-lines","question":"Where can I get the routes (geometry) of electricity transmission and distribution lines in Spain, with voltage level, operator and status?","territory":"es","territory_level":"country","parent_url":null,"published_on":"2026-11-19","research_reviewed_on":"2026-11-16","access_checked_on":null,"answer":{"official_data":"partial","non_official_data":"partial","summary":"No open official Spanish dataset provides all transmission and distribution line routes with exact voltage, operator and status. Nationally, IGN Base Topográfica Nacional (BTN 0710L_LIN_ELEC via vt-btn.idee.es MVT API or CNIG GeoPackage) gives overhead routes and banded voltages (<100, 100-150, 220, 400 kV), excluding underground/submarine cables, operator and status. Official operator and exact >=50 kV voltage exist for Andalucía (MIEA WFS) and transmission status appears in schematic MITECO 2025-2030 PDFs; REE Infored (request form) and Inkolan (paid DWG) hold operator plans, while OpenStreetMap/OpenInfraMap partially covers all fields nationally.","main_caveats":["IGN BTN 0710L_LIN_ELEC excludes all underground and submarine cables (lines stop at transition towers) and omits operator and status fields.","CNMC Circular 6/2025 access-capacity maps publish substation point nodes only, not line routes; none of Spain's 325 active DSOs publish open line-route GIS.","CNIG Centro de Descargas (BTN_T_Energia GeoPackage) drops automated HTTP requests (empty reply); programmatic access works via IGN/IDEE MVT tiles at vt-btn.idee.es.","ENTSO-E Grid Map explicitly warns elements are not at exact geographic coordinates; REE public GeoRED MapServer exposes only 63 sample circuits.","OpenStreetMap/OpenInfraMap maps 128,460 km in Spain (2026-11-15), but 19.5% lacks voltage tags and ~85% of lines in Madrid/Granada samples lack operator tags."],"confidence":"high","confidence_reason":"Verified official regulator, ministry, TSO, IGN/IDEE, regional WFS, ENTSO-E, OSM/OpenInfraMap, and Inkolan endpoints directly with live queries and file downloads.","attributes":[{"attribute":"route_geometry","covered":"partial","source_ids":["s001","s002","s003","s004","s005","s006","s008"],"note":"Coverage combines distinct components of the question; see the original detailed evidence and its geographic and technical limits.","gap":"not_checked","gap_note":"The original rows have different scopes. Their combination has not been established as complete; original rows are retained in internal curation."},{"attribute":"voltage","covered":"partial","source_ids":["s001","s002","s003","s004","s005","s007"],"note":"IGN BTN uses 4 bands (<100, 100-150, 220, 400 kV); Andalucía MIEA gives exact kV (>=50 kV); OSM has exact voltage on 80.5% of mapped length; ENTSO-E/MITECO cover >=132 kV.","gap":"not_published","gap_note":"No open national source gives exact kV for all distribution tiers (<100 kV); IGN BTN groups all lines below 100 kV and 100-150 kV into coarse bands."},{"attribute":"operator","covered":"partial","source_ids":["s002","s004","s006","s007","s008"],"note":"IGN BTN and ENTSO-E lack operator; Andalucía MIEA gives PROPIETARIO (>=50 kV); REE is statutory sole TSO; OSM tags operator on ~14% in samples; Inkolan organizes by partner DSO.","gap":"not_published","gap_note":"Outside Andalucía (>=50 kV) and statutory TSO REE, open GIS datasets lack distribution operator names across Spain's 325 active DSOs."},{"attribute":"status","covered":"partial","source_ids":["s003","s004","s005","s007"],"note":"IGN BTN and Andalucía MIEA lack status; MITECO 2025-2030 PDF shows existing/planned/retired schematically; ENTSO-E marks Under Construction; OSM tags construction.","gap":"not_published","gap_note":"No open national GIS vector dataset tracks operational status for both transmission and distribution lines; distribution status is unpublished as open GIS."}]},"sources":[{"source_id":"s001","name":"IGN Base Topográfica Nacional (BTN) — 0710L Línea eléctrica (Vector Tiles API & CNIG Download)","publisher":"Instituto Geográfico Nacional (IGN) / Centro Nacional de Información Geográfica (CNIG)","official":true,"landing_url":"https://www.ign.es/resources/docs/IGNCnig/BTN/ESPBTN.pdf","data_url":"https://vt-btn.idee.es/1.0.0/btn/tile/{z}/{y}/{x}.pbf","access":"api","format":"MVT (.pbf); GeoPackage (.gpkg) & Shapefile (.shp) on CNIG portal","license":"CC BY 4.0","language":"es","has_coordinates":true,"location_precision":"exact","summary":"IGN Base Topográfica Nacional (BTN) — 0710L Línea eléctrica (Vector Tiles API & CNIG Download)","coverage_note":"All of Spain (Peninsula, Illes Balears, Canarias, Ceuta, Melilla)","data_date":"2026-07-27 (MVT snapshot 20260723_docker_des / layer poligonoTile27072026; spaignmvt_BTN metadata 2025-12-22; feature f_alta dates up to 2024-2026)","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"test":{"tested_on":"2026-11-16","method":"api_query","http_status":200,"problems":["Secondary direct-download portal https://centrodedescargas.cnig.es/CentroDescargas/btn rejects automated HTTP clients with empty reply (curl error 52 via BigIP)."]},"example":{"example_request":"curl -sL 'https://vt-btn.idee.es/1.0.0/btn/tile/14/6361/8022.pbf' -o caparacena_z14.pbf","example_result":"MVT layer btn0710l_lin_elec (12 features in tile 14/6361/8022); decoded sample: {'id': None, 'tensi_0710': '03 220 kV', 'f_alta': '2024/09/16'} with LineString coordinates [[-3.725331, 37.26741], [-3.724515, 37.26753], [-3.713036, 37.267684]]."},"members_summary":null},{"source_id":"s002","name":"Andalucía MIEA — Líneas Eléctricas (Agencia Andaluza de la Energía WFS)","publisher":"Agencia Andaluza de la Energía (Junta de Andalucía)","official":true,"landing_url":"https://www.agenciaandaluzadelaenergia.es/es/informacion-energetica/cartografia-energetica-de-andalucia/servicio-wms-infraestructura-energetica-de-andalucia","data_url":"https://www.agenciaandaluzadelaenergia.es/mapwms/wfs","access":"api","format":"WFS 2.0.0 (GeoJSON, GML 3.2)","license":"unknown","language":"es","has_coordinates":true,"location_precision":"exact","summary":"Andalucía MIEA — Líneas Eléctricas (Agencia Andaluza de la Energía WFS)","coverage_note":"Andalucía (8 provinces, southern Spain)","data_date":"2025-12-31","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"test":{"tested_on":"2026-11-16","method":"api_query","http_status":200,"problems":[]},"example":{"example_request":"https://www.agenciaandaluzadelaenergia.es/mapwms/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=MIEA:LineasElect&outputFormat=application/json&srsName=EPSG:4326","example_result":"FeatureCollection with 899 MultiLineString features (all 899 verified inside Andalucía bbox [-8.0, 35.8, -1.2, 38.9]): e.g. id='LineasElect.1', coordinates [[[-7.26023116, 37.48824684], ...]]. Counts: 66 kV (574), 132 kV (162), 220 kV (108), 400 kV (48), 50 kV (7); E-Distribución Redes Digitales (727), Red Eléctrica (158), Pequeña distribuidora (14)."},"members_summary":null},{"source_id":"s003","name":"Spanish Regional Geoportals (Partial Topographic BTA, Avifauna RD 1432/2008 & Renewable Evacuation Layers)","publisher":"Regional governments / IDEs of Spain (La Rioja, País Vasco, Comunitat Valenciana, Canarias, Cantabria, plus checked non-line portals)","official":true,"landing_url":"https://ogc.larioja.org/wfs/request.php?SERVICE=WFS&REQUEST=GetCapabilities","data_url":"https://ogc.larioja.org/wfs/request.php?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=bta:f_0116_tendido_lineas&CQL_FILTER=TIPO_0116%3D%27el%C3%A9ctrico%27&outputFormat=application/json&srsName=EPSG:4326","access":"api","format":"WFS (GeoJSON/GML), Shapefile (.zip), ArcGIS REST","license":"CC BY 4.0 / regional open data terms","language":"es","has_coordinates":true,"location_precision":"exact","summary":"Spanish Regional Geoportals (Partial Topographic BTA, Avifauna RD 1432/2008 & Renewable Evacuation Layers)","coverage_note":"Selected regions of Spain only (out of 17 CCAA + 2 autonomous cities: 1 full HV grid in Rank 2, 5 partial line layers here, 9 checked with no general grid line WFS, 4 sampled/unreachable)","data_date":"Varies by region (País Vasco 2015/2018; La Palma 2007/2015; València/Cantabria/La Rioja active)","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"test":{"tested_on":"2026-11-16","method":"api_query","http_status":200,"problems":["Regional coverage is fragmented: most Autonomous Communities do not publish full transmission/distribution line geometries."]},"example":{"example_request":"https://ogc.larioja.org/wfs/request.php?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=bta:f_0116_tendido_lineas&CQL_FILTER=TIPO_0116%3D%27el%C3%A9ctrico%27&COUNT=2&outputFormat=application/json&srsName=EPSG:4326","example_result":"FeatureCollection with numberMatched=4788 (100/100 sampled coordinates inside La Rioja bbox [-3.3, 41.8, -1.6, 42.8]): e.g. id='f_0116_tendido_lineas.fid-27dae327_1a1dc64718d_4087', properties={'ID': 106812, 'TIPO_0116': 'eléctrico', 'TENSI_0116': 'alta'}."},"members_summary":{"total":null,"listed":6,"tested":5,"data_found":0,"scope_note":"Inherited members; data findings were not reclassified during this structural migration. Consult each member note.","pattern":null}}],"other_sources_count":5,"if_unstructured":{"summary":null},"local_terms":[{"term":"red de transporte (primario / secundario)","language":"es","meaning":"Electricity transmission grid (>=380/400 kV primary, >=220 kV secondary mainland, >=66 kV non-peninsular)"},{"term":"red de distribución","language":"es","meaning":"Electricity distribution network (<220 kV mainland except secondary transmission; HV 132/66/50/45 kV, MV, LV)"},{"term":"línea eléctrica / tendido eléctrico","language":"es","meaning":"Power line / overhead electrical line (BTN 0710L_LIN_ELEC; BTA f_0116_tendido_lineas)"},{"term":"tensión (kV)","language":"es","meaning":"Voltage level in kilovolts"},{"term":"transportista único","language":"es","meaning":"Sole statutory transmission system operator (Red Eléctrica de España, S.A.U.)"},{"term":"empresa distribuidora","language":"es","meaning":"Distribution system operator (DSO)"},{"term":"autorización administrativa previa / de construcción","language":"es","meaning":"Official prior and construction administrative authorizations published in BOE/regional gazettes"},{"term":"declaración de utilidad pública (DUP)","language":"es","meaning":"Public utility declaration publishing affected cadastral polygons and parcels (Anexo II)"}],"provenance":{"pass_count":1,"models":["Gemini 4 Hydrogen (Extra High)"],"minutes_estimate":28,"pages_opened":141,"passes":[{"pass":1,"date":"2026-11-16","model":"Gemini 4 Hydrogen (Extra High)"}],"note":"Minutes are researcher estimates. Counts describe documented passes, not publication approval. Missing history or effort is not reconstructed."},"card_url":"https://georutter.org/v1/es/power-lines.json","detail_url":"https://georutter.org/v1/es/power-lines/detail.json","html_url":"https://georutter.org/es/power-lines/","country_url":"https://georutter.org/v1/countries/es.json"}
