{"schema_version":"1.0","country":"es","country_name":"Spain","topic":"oil-pipelines-and-refineries","question":"Where can I get the routes (geometry) of oil product pipelines and a list of refineries in Spain, with location, operator, capacity 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":"usable","summary":"Refineries: CORES publishes an xlsx with the 10 Spanish refineries by owner group and crude capacity (kt/y, to 2025); PRTR-España gives operator, point and status on each complex page. Pipelines: the IGN BTN has national oleoducto lines (vector tiles, GeoPackage), without owner or status; CNMC says Exolum owns the network (about 4 000 km). Pipeline capacity and in-service status are not published.","main_caveats":["BTN oleoducto lines carry no owner, product (crude vs refined) or in-service flag; the whole-country GeoPackage from CNIG could not be fetched with curl, only the vector-tile service was tested.","CORES capacity is in thousand tonnes per year; Tenerife keeps 4 500 kt although it is not operational (CORES English note), so exclude it for operating capacity.","Concawe's Petronor point is 15.9 km off the PRTR point and its terms allow only personal non-commercial use; Climate TRACE's Cartagena point is 7.9 km off. PRTR and OSM are the reference.","Only Andalucía's regional WFS was found with named pipeline sections; the other regions were not checked individually.","Moeve's site blocks automated clients, so Moeve figures come from CORES and Concawe, not from the company."],"confidence":"medium","confidence_reason":"Refinery data cross-checked across CORES, PRTR, Concawe and Climate TRACE; pipeline completeness rests on one decoded BTN tile plus the Atlas total (4 106 km) against CNMC's 4 000 km.","attributes":[{"attribute":"pipeline_geometry","covered":"yes","source_ids":["s003","s004","s008","s009"],"note":"BTN layer 0701L national; DERA Andalucía names sections; OSM and Atlas copies cross-check.","gap":null,"gap_note":null},{"attribute":"refinery_location","covered":"yes","source_ids":["s002","s007"],"note":"PRTR complex pages give a point (read 4 of 10); Climate TRACE and OSM cover 9 and 7. CORES has no coordinates.","gap":null,"gap_note":null},{"attribute":"operator","covered":"partial","source_ids":["s001","s002","s005"],"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":"capacity","covered":"partial","source_ids":["s001","s006","s007"],"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":"status","covered":"partial","source_ids":["s002","s001"],"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."}]},"sources":[{"source_id":"s001","name":"Spanish Refinery Capacity (Capacidad de refino en España), annual series by refinery","publisher":"CORES (Corporación de Reservas Estratégicas de Productos Petrolíferos), from company data","official":true,"landing_url":"https://www.cores.es","data_url":"https://www.cores.es/sites/default/files/archivos/estadisticas/refinery-capacity.xlsx","access":"direct_download","format":"xlsx (sheets Start, Crude, Repsol, Moeve, BP, Asesa, Total National). The annual statistical report xlsx has the same table by process unit in sheet 'Capacidad Refinerías españolas'.","license":"unknown","language":"en (annual report: es)","has_coordinates":false,"location_precision":"none","summary":"Spanish Refinery Capacity (Capacidad de refino en España), annual series by refinery","coverage_note":"Spain, all refineries of Repsol, Moeve (ex Cepsa), BP and ASESA; crude capacity series 1984-2025.","data_date":"Figures at 31 December of each year; file updated 30-07-2026 (HTTP Last-Modified 2026-09-10).","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"test":{"tested_on":"2026-11-16","method":"download","http_status":200,"problems":[]},"example":{"example_request":"curl -sL -o refinery-capacity.xlsx \"https://www.cores.es/sites/default/files/archivos/estadisticas/refinery-capacity.xlsx\"; open sheet 'Crude'; headers in row 6, data from row 7 (1984); row 48 is 2025.","example_result":"2025 row (thousand t): Cartagena 11000, La Coruña 6000, Puertollano 7500, Tarragona 9000, Bilbao 11000, Tenerife 4500, San Roque 12200, La Rábida 11200, Castellón 5400, ASESA 1400, national total 79200."},"members_summary":null},{"source_id":"s002","name":"PRTR-España: Registro Estatal de Emisiones y Fuentes Contaminantes, industrial complexes","publisher":"MITECO (Ministerio para la Transición Ecológica y el Reto Demográfico)","official":true,"landing_url":"https://prtr-es.miteco.gob.es/informes/fichacomplejo.aspx?Id_Complejo=1359","data_url":"https://prtr-es.miteco.gob.es/informes/descargas/PRTR_Espana_MITECO_Complejos.zip","access":"direct_download","format":"zip containing one XML (ArrayOfComplejo); per-complex HTML pages","license":"unknown (file comment asks to cite PRTR-España as source)","language":"es","has_coordinates":true,"location_precision":"exact","summary":"PRTR-España: Registro Estatal de Emisiones y Fuentes Contaminantes, industrial complexes","coverage_note":"Spain, all industrial complexes reporting to PRTR (9 430 in the XML); 10 are refineries (CNAE 19.20).","data_date":"XML file Last-Modified 2026-11-16; each complex page has its own validated reporting years.","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"test":{"tested_on":"2026-11-16","method":"download","http_status":200,"problems":["The bulk XML carries no coordinates, capacity or status."]},"example":{"example_request":"curl -sL -o PRTR.zip \"https://prtr-es.miteco.gob.es/informes/descargas/PRTR_Espana_MITECO_Complejos.zip\"; unzip, parse PRTR_Espana_MITECO_Complejos.xml; keep Complejo where CNAE-2009 starts with '19.2'. Then GET https://prtr-es.miteco.gob.es/informes/fichacomplejo.aspx?Id_Complejo=1359 and read the text after 'FACILITY Nombre:'.","example_result":"10 complexes with CNAE 19.20 / 1.a.i, e.g. 1529 'REPSOL PETRÓLEO, S.A. - C.I. CARTAGENA' | REPSOL PETROLEO, S.A. | Cartagena, Murcia; page 1359: Latitud 37,622214, Longitud -0,982184, Estado En funcionamiento. Page 1314 (Tenerife): 28,455185 / -16,260967, Estado Cese Parcial."},"members_summary":null},{"source_id":"s003","name":"Base Topográfica Nacional (BTN), object 0701L Conducción de combustible (TIPO_0701 = 01 oleoducto)","publisher":"Instituto Geográfico Nacional (IGN-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":"Mapbox vector tiles (layer btn0701l_con_comb); thematic GeoPackage 'BTN Tema - Energía' (BTN_T_Energia) in the CNIG Centro de Descargas","license":"CC BY 4.0 (IGN licence)","language":"es","has_coordinates":true,"location_precision":"exact","summary":"Base Topográfica Nacional (BTN), object 0701L Conducción de combustible (TIPO_0701 = 01 oleoducto)","coverage_note":"Whole of Spain; the BTN is a continuous 1:2 000-1:25 000 multiscale database.","data_date":"Per-feature date in field f_alta (sample 2018/06/28); the tile service file date was 2026-07-31 (HTTP Last-Modified); no single dataset date.","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":["curl to centrodedescargas.cnig.es returned 'Empty reply from server' on https and a 302 on http; the GeoPackage was not downloaded. The tile service answered normally."]},"example":{"example_request":"curl -sS -o tile.pbf \"https://vt-btn.idee.es/1.0.0/btn/tile/14/6166/8048.pbf\" (URL pattern {z}/{y}/{x}); decode the protobuf and read layer 'btn0701l_con_comb'.","example_result":"Layer btn0701l_con_comb, 10 features in the tile; first: {'id': 285834354, 'tipo_0701': '01 OLEODUCTO', 'situa_0701': '01 SUBTERRÁNEO', 'f_alta': '2018/06/28'}; segment ends decoded to (40.60133, -3.16441) and (40.61071, -3.15265), which match the start of OSM way 258610918 (operator Exolum, substance oil, from 40.60149, -3.16120)."},"members_summary":null}],"other_sources_count":6,"if_unstructured":{"summary":null},"local_terms":[{"term":"oleoducto","language":"es","meaning":"pipeline for oil or refined products; BTN TIPO_0701 = 01"},{"term":"poliducto","language":"es","meaning":"multi-product pipeline (used in BOPV for Petronor-Puerto de Bilbao)"},{"term":"refinería / complejo industrial / parque energético","language":"es","meaning":"refinery; Moeve renamed its refineries 'Parque Energético' in 2023"},{"term":"instalaciones fijas de almacenamiento y transporte de productos petrolíferos","language":"es","meaning":"wording of art. 41 Ley 34/1998 used by the CNMC"},{"term":"Exolum (antes CLH)","language":"es","meaning":"owner of the national pipeline network; formerly Compañía Logística de Hidrocarburos"},{"term":"declaración de utilidad pública","language":"es","meaning":"legal step for a pipeline route, published in BOE with affected parcels"},{"term":"CNAE 19.20","language":"es","meaning":"activity code 'refino de petróleo' used by PRTR-España"},{"term":"Conducción de combustible","language":"es","meaning":"BTN object 0701L, oil and gas pipelines"}],"provenance":{"pass_count":1,"models":["Claude Sonnet 5.5 (High)"],"minutes_estimate":38,"pages_opened":52,"passes":[{"pass":1,"date":"2026-11-16","model":"Claude Sonnet 5.5 (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/oil-pipelines-and-refineries.json","detail_url":"https://georutter.org/v1/es/oil-pipelines-and-refineries/detail.json","html_url":"https://georutter.org/es/oil-pipelines-and-refineries/","country_url":"https://georutter.org/v1/countries/es.json"}
