{"schema_version":"1.0","country":"es","country_name":"Spain","topic":"roads","question":"Where can I get the road network (geometry) of Spain, with road category, owner and traffic volume (annual average daily traffic)?","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 single national file has geometry, category, owner and AADT for all Spanish roads. The Ministry of Transport's HERMES ArcGIS REST service gives State-network (RCE) section lines with owner, road type and IMD (vehicles/day, 2020-2024 per section) as open API. IGN's IGR-RT covers all roads of every owner with category and owner but no traffic. IMD on regional roads is published region by region (Valencia, Catalonia, Navarre, Castilla y Leon tested).","main_caveats":["HERMES holds several years per section: filter Dato_hasta (epoch ms) to the newest, or you get duplicates (23,113 rows, 11,338 unique road+PK ranges). Row id 0 is empty. Valido_hasta is empty in all rows.","In HERMES layer 198 IMD_asc/IMD_desc are percentages of the total (they add to 100) although the data dictionary says vehicles/day; IMD_asc is null in 6,443 rows.","HERMES IMD lines cover the State network only (Titular=Estado in 23,046 of 23,112 rows); the station layers (195, 151) return HTTP 400 to every query tried.","IGR-RT is the only nationwide owner/category source but its download is a browser button (link '#'); curl got an empty reply from CNIG. Licence compatible with CC-BY 4.0. No traffic field.","Regional IMD sets differ: Catalonia and Navarre give points at stations, Castilla y Leon has no geometry, Valencia has lines (GML only). Years differ per region."],"confidence":"medium","confidence_reason":"HERMES and 4 regional sets were queried and counted; the IGR-RT owner/category files and 12 regions' IMD were not opened or downloaded; ministry site rejects automated clients.","attributes":[{"attribute":"route_geometry","covered":"yes","source_ids":["s001","s002"],"note":"IGR-RT: 9.9M road links via OGC API (3D lines, all owners incl. urban). HERMES: 1,602 RTIG section lines (29,238 km) and 23,112 IMD lines.","gap":null,"gap_note":null},{"attribute":"road_category","covered":"partial","source_ids":["s001","s002"],"note":"HERMES Tipo_de_via (4 values) for RTIG roads; IGR-RT API has only INSPIRE functionalclass/formofway; the clase/orden fields are in files I could not download.","gap":"not_checked","gap_note":"Open the national IGR-RT GeoPackage from CNIG (download button needs a browser) and list the rt_tramo_l fields clase, orden, titular."},{"attribute":"owner","covered":"partial","source_ids":["s001","s002","s003"],"note":"HERMES Titular (Estado plus a few regional owners) for RTIG roads; owner of every road is the titular field of IGR-RT files per its data model (files not downloaded).","gap":"not_checked","gap_note":"Same as above: titular values of the national IGR-RT file were not inspected; the API roadlink has no owner field."},{"attribute":"annual_average_daily_traffic","covered":"partial","source_ids":["s001","s003"],"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":"HERMES - Red de Transporte de Interes General (ArcGIS REST): IMD per section, road type and owner of the State road network","publisher":"Ministerio de Transportes y Movilidad Sostenible (SG de Planificacion, Red Transeuropea y Logistica; data from DG de Carreteras)","official":true,"landing_url":"https://datos.gob.es/es/aplicaciones/hermes","data_url":"https://mapas.fomento.gob.es/arcgis/rest/services/Hermes/3__USO_DE_LA_RED/MapServer/198","access":"api","format":"ArcGIS REST MapServer 10.91 (f=json, f=geojson, f=pjson); layers: 3__USO_DE_LA_RED/198 IMD per section, 0__CARRETERAS/0 road type, HERMES_CARRETERAS/89 RCE catalogue","license":"unknown","language":"es","has_coordinates":true,"location_precision":"exact","publisher_type":"national_government","adds":null,"first_seen_pass":1,"rank":1,"summary":"HERMES - Red de Transporte de Interes General (ArcGIS REST): IMD per section, road type and owner of the State road network","coverage_note":"State road network (RCE) and other RTIG roads, peninsular Spain; bbox of IMD lines lon -8.78..3.17, lat 36.02..43.69 (no island lines)","data_date":"Calendar year of each row: Dato_hasta 2024-12-31 in 10,412 rows, 2021 in 10,724, 2023 in 1,024, 2022 in 568, 2020 in 384","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"coverage":{"geographic":"State road network (RCE) and other RTIG roads, peninsular Spain; bbox of IMD lines lon -8.78..3.17, lat 36.02..43.69 (no island lines)"},"fine_print":{"unit":{"value":"vehicles/day (IMD_total); IMD_asc/IMD_desc are percent of total; Pesados is percent; lengths in metres","quote":"IMD_total Integer Intensidad media diaria total (vehiculos/dia)","url":"https://cdnfomento.blob.core.windows.net/hermes/Diccionario_datos_HERMES.pdf","attempts":[]},"inclusion_rule":{"value":"Gauged sections of the State road network (RCE)","quote":"Contiene la Intensidad Media Diaria (IMD) de los tramos aforados de la RCE.","url":"https://cdnfomento.blob.core.windows.net/hermes/Diccionario_datos_HERMES.pdf","attempts":[]},"reference_date":{"value":"Calendar year of each row: Dato_hasta 2024-12-31 in 10,412 rows, 2021 in 10,724, 2023 in 1,024, 2022 in 568, 2020 in 384","quote":"Dato_hasta Date Ultimo dia del ano de cobertura de los datos.","url":"https://cdnfomento.blob.core.windows.net/hermes/Diccionario_datos_HERMES.pdf","attempts":[]},"update_frequency":{"value":null,"quote":null,"url":null,"attempts":["Data dictionary v1.2.06 (2025-10-01) version table only says 'Actualizacion de contenido por cambios en las capas publicadas' (dictionary revisions 2024-09 to 2025-10)","User manual (Manual_HERMES.pdf) and ArcGIS service/layer metadata (copyrightText and description empty) state no update frequency"]},"exclusions":{"value":"Roads outside the RTIG: regional, provincial and local roads; sections without a gauging station; Canary and Balearic islands absent from IMD lines","quote":"La RTIG queda definida en el ambito de las carreteras por aquellas pertenecientes a la Red de Carreteras del Estado (RCE), las que estan incluidas en la Red TEN-T, otras vias de Alta Capacidad, y aquellas que permiten la conexion con las anteriores acabando de cerrar itinerarios.","url":"https://cdnfomento.blob.core.windows.net/hermes/Diccionario_datos_HERMES.pdf","attempts":[]}},"key_fields":[{"field":"Carretera","meaning":"Road code (A-1, N-340, AP-7...)"},{"field":"PK_inicio / PK_fin","meaning":"Start and end kilometre point of the section"},{"field":"IMD_total","meaning":"Annual average daily traffic, all vehicles, vehicles/day"},{"field":"IMD_coches, IMD_motos, IMD_autobuses, IMD_camionetas, IMD_articulados, IMD_semiremolques, IMD_trenes...","meaning":"IMD by vehicle class (vehicles/day)"},{"field":"Pesados","meaning":"Percentage of heavy vehicles"},{"field":"IMD_asc / IMD_desc","meaning":"Share (%) of the IMD in each direction"},{"field":"Dato_desde / Dato_hasta","meaning":"First and last day of the data year (epoch milliseconds)"},{"field":"Titular","meaning":"Owner (Estado, Comunidad Foral de Navarra, Diputacion Foral de Alava, Ayuntamiento de Leon; null in 53 rows)"},{"field":"TENT, TENT_red_basica, TENT_corredor","meaning":"TEN-T membership, network level and corridor"},{"field":"Tipo_de_via (layer 0__CARRETERAS/0)","meaning":"Autopista peaje, Autopista libre\\Autovia, Multicarril, Carretera convencional"}],"how_to_use":{"example_request":"curl -sG \"https://mapas.fomento.gob.es/arcgis/rest/services/Hermes/3__USO_DE_LA_RED/MapServer/198/query\" --data-urlencode \"where=Carretera='A-1' AND Dato_hasta=DATE '2024-12-31'\" --data-urlencode \"outFields=Carretera,PK_inicio,PK_fin,IMD_total,Pesados,Titular,Dato_hasta\" --data-urlencode \"outSR=4326\" --data-urlencode \"resultRecordCount=2\" --data-urlencode \"f=geojson\"","example_result":"Feature LineString [[-3.6585589,40.5038107],[-3.6583294,40.5042158],...] properties {\"Carretera\":\"A-1\",\"PK_inicio\":12,\"PK_fin\":12.69,\"IMD_total\":141954,\"Pesados\":3.00660777,\"Titular\":\"Estado\",\"Dato_hasta\":1735603200000}. Count query where=Dato_hasta=DATE '2024-12-31' returned {\"count\":10412}; with IMD_total>=100000 returned 254.","steps":["Page with resultOffset and resultRecordCount=2000 (maxRecordCount 2000, 12 requests for all 23,113 rows); add orderByFields=id and outSR=4326 to get lon/lat.","Drop row id 0 (null attributes, empty geometry). Keep for each (Carretera, PK_inicio, PK_fin) the row with the largest Dato_hasta, or filter Dato_hasta=DATE '2024-12-31' for the 2024 set.","Convert Dato_desde/Dato_hasta from epoch milliseconds. IMD_total is vehicles/day; IMD_asc is a percent.","Category: join layer 0__CARRETERAS/0 (Tipo_de_via, 1,602 line sections) by Carretera and overlapping PK range. Owner: Titular is in both layers. Whole RCE catalogue: HERMES_CARRETERAS/89 (1,303 sections, 26,459 km, with Inicio and Final)."],"reading_traps":["23,113 rows but only 11,338 distinct road+PK ranges: each section appears once per gauged year (2020-2024); summing lengths gives 53,747 km, double the RCE (26,459 km in layer 89).","IMD_asc and IMD_desc sum to 100 (e.g. 52.21 / 47.79): percentages, contradicting the dictionary text 'vehiculos/dia'; null in 6,443 rows.","Same section, different years can differ a lot: A-1 PK 12-12.69 has IMD_total 183,647 (2021) and 141,954 (2024).","Station layers 3__USO_DE_LA_RED/195 and HERMES_CARRETERAS/151 answer 'Failed to execute query' (HTTP 400) to count and record queries; use the section layers.","Titular is null in 53 IMD rows and 10 rows of the road-type layer; Tipo_de_via is null in 11."]},"test":{"tested_on":"2026-11-16","method":"api_query","http_status":200,"content_type":"application/json","size_bytes":null,"records_total":23113,"records_for_country":23113,"problems":["Station layers (195, 151) return HTTP 400 'Failed to execute query' on every query","Licence not stated in the REST metadata; the viewer's download button is said to show it"]},"evidence":[{"claim":"IMD layer content","url":"https://cdnfomento.blob.core.windows.net/hermes/Diccionario_datos_HERMES.pdf","quote":"Contiene la Intensidad Media Diaria (IMD) de los tramos aforados de la RCE."},{"claim":"HERMES includes traffic data and DG Carreteras as a provider","url":"https://datos.gob.es/es/aplicaciones/hermes","quote":"Las tematicas de los parametros incluyen caracteristicas tecnicas de la infraestructura, instalaciones y servicios, datos de trafico y uso de la red"},{"claim":"Viewer download button gives shapefile/GML and the licence","url":"https://cdnfomento.blob.core.windows.net/hermes/Manual_HERMES.pdf","quote":"Permite la descarga de los ficheros SIG asociados, en formato GML y Shapefile, tambien se da acceso a la licencia de uso a la que estan sometidos los datos"}],"members":[],"members_summary":null},{"source_id":"s002","name":"IGR-RT - Redes de Transporte de Espana: road network (carreteras, urban streets, tracks) with owner and category","publisher":"Instituto Geografico Nacional (IGN) / Centro Nacional de Informacion Geografica (CNIG)","official":true,"landing_url":"https://centrodedescargas.cnig.es/CentroDescargas/redes-transporte","data_url":"https://api-features.idee.es/collections/roadlink","access":"api","format":"OGC API Features (GeoJSON, 3D lines CRS84), INSPIRE WFS 2.0.0 and WMS; files: national GeoPackage/Shapefile (roads only) and 50 provincial files (GeoPackage, Shapefile)","license":"IGN use licence, 'compatible con CC-BY 4.0' (Orden FOM/2807/2015), attribution required","language":"es","has_coordinates":true,"location_precision":"exact","publisher_type":"national_government","adds":"Covers every road of every owner nationwide (about 9.9M links incl. urban streets), with per-road owner and category in the files; HERMES covers only the State network.","first_seen_pass":1,"rank":2,"summary":"IGR-RT - Redes de Transporte de Espana: road network (carreteras, urban streets, tracks) with owner and category","coverage_note":"Spain (extent -19..5, 27..44), peninsula, Balearics, Canarias, Ceuta, Melilla","data_date":"Files dated 07/2026; model v1.9 dated 2026-01-01; API features carry fecha_alta per link","caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"coverage":{"geographic":"Spain (extent -19..5, 27..44), peninsula, Balearics, Canarias, Ceuta, Melilla"},"fine_print":{"unit":{"value":"lengths in metres via geometry; no traffic magnitude","quote":"Esta red de cobertura nacional se ha generado y actualizado por el IGN a partir los datos de esta tematica existentes en sus productos","url":"https://datos.gob.es/es/catalogo/e0dat0002-redes-de-transporte-de-espana1","attempts":[]},"inclusion_rule":{"value":"National file: road network only; provincial files: roads, urban streets, cycle lanes and tracks. 'orden' Principal = motorways, dual carriageways and all roads of the State catalogue","quote":"los archivos provinciales contienen los datos relativos a red de carreteras, viario urbano, carriles bici y red de caminos, mientras el archivo de ambito nacional contiene unicamente los datos relativos a la red de carreteras","url":"https://datos.gob.es/es/catalogo/e0dat0002-redes-de-transporte-de-espana1","attempts":[]},"reference_date":{"value":"Files dated 07/2026; model v1.9 dated 2026-01-01; API features carry fecha_alta per link","quote":"Listed files are dated 07/2026 (CNIG listing read via WebFetch)","url":"https://centrodedescargas.cnig.es/CentroDescargas/redes-transporte","attempts":[]},"update_frequency":{"value":null,"quote":null,"url":null,"attempts":["CNIG listing page and file detail page (sec=9150707) show only the date 07/2026 and a 'novedades?codSerie=REDTR' link","datos.gob.es record e0dat0002-redes-de-transporte-de-espana1 says updates happen 'en el marco de cooperacion del Sistema Cartografico Nacional' with no frequency"]},"exclusions":{"value":"Traffic volumes are not in the model; roads out of service are tied to an unnamed road; owner -997 when unknown for uncatalogued roads","quote":"En carreteras no catalogadas, en caminos y sendas: si se conoce, rellenar valor; si no se conoce, -997.","url":"https://centrodedescargas.cnig.es/CentroDescargas/documentos/ModeloF%C3%ADsico_IGR-RT_V1_9_publicado.pdf","attempts":[]}},"key_fields":[{"field":"titular (rt_tramo_l)","meaning":"Owner code: 1 AGE (State road network), 2 Comunidad Autonoma, 3 Diputacion Provincial, 4 Cabildo/Consell Insular, 5 Ayuntamiento, 6 Confederacion hidrografica, 7 Autoridad portuaria, 8 Militar, 9 Empresa minera, 10 Ciudad Autonoma, 11 Patrimonio Nacional, 99 Otros"},{"field":"clase / tipo_vial","meaning":"1001 autopista, 1002 autovia, 1003 carretera convencional, 1005 carretera multicarril (catalogue); tipo_vial 1000 carretera, 1004 vial bici, 3000 camino"},{"field":"orden","meaning":"P principal, 1/2/3 first-third order, N not catalogued"},{"field":"codigo (rt_catcarreteras_a)","meaning":"Road code, mostly from DGT"},{"field":"functionalclass, formofway_href, numberoflanes (API roadlink)","meaning":"INSPIRE attributes exposed by the API"}],"how_to_use":{"example_request":"curl -sL \"https://api-features.idee.es/collections/roadlink/items?f=json&limit=2\"  (count: curl -sL \"https://api-features.idee.es/collections/roadlink/items?f=json&limit=1&skipGeometry=true\")","example_result":"numberMatched 9900688. Feature id VIAL_TR100010000249, properties {\"functionalclass\":null,\"surfacecategory\":\"paved\",\"fecha_alta\":\"2023-09-15T00:00:00\",\"formofway_href\":\"http://inspire.ec.europa.eu/codelist/FormOfWayValue/singleCarriageway\",\"id_tramo\":100010000249,\"numberoflanes\":null,\"fictitious\":\"true\"}, geometry LineString [[-5.975928,40.260412,452.3],...]","steps":["For owner and category use the national road file (CNIG listing, GeoPackage or Shapefile): table rt_tramo_l has titular, orden, clase; rt_catcarreteras_a gives codigo and name; join by id_vial per the data model PDF (ModeloFisico_IGR-RT_V1_9).","titular=1 selects the State network ('El valor 1 ... se refiere especificamente a la Red de Carreteras del Estado').","The OGC API/WFS expose only the INSPIRE view (functionalclass, formofway, lanes): paginate with limit and offset; use skipGeometry=true for counts.","The download control on the CNIG page links to '#' (JavaScript); it was not tested."],"reading_traps":["API roadlink has no owner and no road code; the first two records returned have fictitious='true' (intersection paths) and functionalclass null.","Whole national road layer has 9,900,688 links in the API including urban streets, tracks and fictitious links; the national file is roads only.","Each ownership or class changes along a road: the catalogue stores titular1..titular4 and clase1..3 per road; locate them in rt_tramo_l.","CNIG endpoints answered curl with an empty reply; the page was read only through WebFetch, so the file download and field values were not verified."]},"test":{"tested_on":"2026-11-16","method":"api_query","http_status":200,"content_type":"application/json","size_bytes":null,"records_total":9900688,"records_for_country":9900688,"problems":["CNIG centrodedescargas answers command-line clients with an empty reply (connection closed)","Download button on the file page links to '#'; no direct URL found","nco.ign.es transport MapServer answered 'No se puede acceder a ningun equipo del servidor' on 2026-11-16"]},"evidence":[{"claim":"Owner field with State network value","url":"https://centrodedescargas.cnig.es/CentroDescargas/documentos/ModeloF%C3%ADsico_IGR-RT_V1_9_publicado.pdf","quote":"El valor 1 \"Administracion General del Estado\" de la lista de valores ValorTitularidad en su aplicacion al modo de red viaria se refiere especificamente a la Red de Carreteras del Estado."},{"claim":"Roads catalogue with class and owner","url":"https://centrodedescargas.cnig.es/CentroDescargas/documentos/ModeloF%C3%ADsico_IGR-RT_V1_9_publicado.pdf","quote":"Para los atributos clase, titular y orden se especifican los distintos valores que adopta la carretera a lo largo de su trazado."},{"claim":"Files by province and national, licence","url":"https://datos.gob.es/es/catalogo/e0dat0002-redes-de-transporte-de-espana1","quote":"Los datos se distribuyen en archivos de ambito provincial y nacional."}],"members":[],"members_summary":null},{"source_id":"s003","name":"Regional road traffic (IMD) datasets of autonomous communities and councils","publisher":"Autonomous communities (Generalitat Valenciana, Generalitat de Catalunya, Gobierno de Navarra, Junta de Castilla y Leon, Comunidad de Madrid, Xunta de Galicia...)","official":true,"landing_url":"https://datos.gob.es/es/catalogo/a10002983-intensidad-media-diaria-anual-imd-de-trafico-por-tramos-red-autonomica-de-carreteras-de-la-comunitat-valenciana-2009-2025","data_url":null,"access":"api","format":"WFS (GML/GPKG), Socrata JSON/CSV, Shapefile, CSV, PDF, depending on the region","license":"varies by region (Navarre CC BY 4.0; others not checked)","language":"es","has_coordinates":true,"location_precision":"exact","publisher_type":"regional_government","adds":"IMD for roads that are not State-owned (regional networks), which HERMES lacks.","first_seen_pass":1,"rank":3,"summary":"Regional road traffic (IMD) datasets of autonomous communities and councils","coverage_note":"Tested: Comunitat Valenciana, Catalunya, Navarra, Castilla y Leon (+ Madrid as PDF). Roads of that owner only","data_date":null,"caveats":["Consult the main caveats and the complete reading traps and access evidence in the detail."],"coverage":{"geographic":"Tested: Comunitat Valenciana, Catalunya, Navarra, Castilla y Leon (+ Madrid as PDF). Roads of that owner only"},"fine_print":{"unit":{"value":null,"quote":null,"url":null,"attempts":[]},"inclusion_rule":{"value":null,"quote":null,"url":null,"attempts":[]},"reference_date":{"value":null,"quote":null,"url":null,"attempts":[]},"update_frequency":{"value":null,"quote":null,"url":null,"attempts":[]},"exclusions":{"value":null,"quote":null,"url":null,"attempts":[]}},"key_fields":[{"field":"imd / IMDTOTAL / IMD AÑO","meaning":"Annual average daily traffic in vehicles/day (name differs per region)"},{"field":"carretera / CARRETERA / CTRA","meaning":"Road code"},{"field":"pesants / IMDPESADOS / vehiculo_pesados_zp","meaning":"Heavy vehicles (share or count, differs per region)"}],"how_to_use":{"example_request":"curl -sL \"https://analisi.transparenciacatalunya.cat/resource/xsvx-ym46.json?$limit=2\"  |  curl -sL \"https://terramapas.icv.gva.es/0902_Aforos?request=GetFeature&service=WFS&version=2.0.0&typename=Aforos2024&count=1\"","example_result":"Catalonia: {\"any\":\"2018\",\"codi\":\"57043443\",\"carretera\":\"T-704\",\"pk_inici\":\"33.69\",\"pk_final\":\"36.948\",\"class_func\":\"C\",\"imd\":\"177\",\"pesants\":\"0.009\",\"latitud\":\"41.291298\",\"longitud\":\"1.002887\"}. Valencia: carretera CV-10, titular Gva, tipo_calzada Autovia, pk_inicio 0+000, pk_fin 1+650, imd 26072, vehiculo_pesados_zp 18, 4 line parts EPSG:25830.","steps":["Valencia: GetFeature resultType=hits gave numberMatched=510 for 2024; one typename per year 2009-2025; ask GML or the gpkg URL in the catalogue record.","Catalonia: filter by year with $where=any='2024'; points are stations, section extent comes from pk_inici/pk_final.","Navarra and Castilla y Leon: unzip or read the CSV (separator ';', first column year); Castilla y Leon needs a join to its road geometry (road + PK).","Madrid: render pdf page 49 with pdftoppm -png -r 80 -f 49 -l 49 dossier2024.pdf and read the table (no text layer)."],"reading_traps":["Catalonia's first two rows repeat the same station for 2018 and 2020 with the field any_1=2016 (last count year): 'any' is the publication year, any_1 the count year.","Madrid's open-data CSV 'Intensidad media diaria de vehiculos en las carreteras' is a network-level indicator (648 rows: vehicle-km and mean IMD for red principal/secundaria/local), not section data.","Castilla y Leon HEAD returns text/html 829 bytes; use GET.","No two regions share field names, units of heavy vehicles or geometry type."]},"test":{"tested_on":"2026-11-16","method":"api_query","http_status":200,"content_type":"application/json","size_bytes":null,"records_total":null,"records_for_country":null,"problems":["Castilla-La Mancha xlsx links redirect to the portal home page (portal being rebuilt)","Valencia WFS refuses application/json output"]},"evidence":[{"claim":"Valencia IMD per section","url":"https://datos.gob.es/es/catalogo/a10002983-intensidad-media-diaria-anual-imd-de-trafico-por-tramos-red-autonomica-de-carreteras-de-la-comunitat-valenciana-2009-2025","quote":"Intensidad Media Diaria anual (IMD) de trafico por tramos. Red autonomica de carreteras de la Comunitat Valenciana (2009-2025)"},{"claim":"Navarre station attribute definition","url":"https://idena.navarra.es/descargas/INFRAE_Sym_AforoTrafico_DT.zip","quote":"IMDTOTAL - Descripcion: Intensidad Media Diaria Total (vehiculos / dia)"},{"claim":"Madrid IMD definition","url":"https://datos.gob.es/es/catalogo/a13002908-intensidad-media-diaria-de-vehiculos-en-las-carreteras","quote":"Intensidad Media Diaria (IMD): Numero total de vehiculos que pasan por una seccion de carretera durante un ano, dividido por 365 dias."}],"members":[{"name":"Comunitat Valenciana - IMD anual por tramos, red autonomica (2009-2025)","landing_url":"https://datos.gob.es/es/catalogo/a10002983-intensidad-media-diaria-anual-imd-de-trafico-por-tramos-red-autonomica-de-carreteras-de-la-comunitat-valenciana-2009-2025","data_url":"https://terramapas.icv.gva.es/0902_Aforos?request=GetFeature&service=WFS&version=2.0.0&typename=Aforos2024","access":"api","tested":true,"data_found":null,"note":"WFS 2.0.0, one layer per year; Aforos2024 has 510 sections as MultiCurve EPSG:25830; fields carretera, titular, tipo_calzada, imd, vehiculo_pesados_zp; application/json output refused, GML or gpkg only"},{"name":"Catalunya - Intensitat mitjana diaria (IMD) de vehicles a les carreteres","landing_url":"https://datos.gob.es/es/catalogo/a09002970-intensidad-media-diaria-de-vehiculos-en-las-carreteras-imd","data_url":"https://analisi.transparenciacatalunya.cat/resource/xsvx-ym46.json","access":"api","tested":true,"data_found":null,"note":"Socrata API, 4,297 rows; fields any, carretera, pk_inici, pk_final, imd, pesants, class_func, latitud, longitud: one point per station-section, no line"},{"name":"Navarra - Mapa de IMD, estaciones de aforo (IDENA)","landing_url":"https://datos.gob.es/es/catalogo/a15002917-mapa-de-intensidades-medias-diarias-de-trafico-estaciones-de-aforo-2024-2025","data_url":"https://idena.navarra.es/descargas/INFRAE_Sym_AforoTrafico_DT.zip","access":"direct_download","tested":true,"data_found":null,"note":"Shapefile 65 KB, 643 station points ETRS89 UTM30; IMDTOTAL, IMDPESADOS, IMDLIGEROS vehicles/day; FECHADATE 2025-06-01; CC BY 4.0"},{"name":"Castilla y Leon - Intensidades medias diarias de trafico y velocidades, red regional","landing_url":"https://datos.gob.es/es/catalogo/a07002862-intensidades-medias-diarias-de-trafico-y-velocidades-red-regional-de-carreteras1","data_url":"https://datosabiertos.jcyl.es/web/jcyl/risp/es/transporte/intensidad_circulacion/1284733182199.csv","access":"direct_download","tested":true,"data_found":null,"note":"CSV ';' 3.46 MB, 15,591 rows from 2010, no geometry (road CTRA, TR section, PK); HEAD answers text/html 829 bytes but GET returns the CSV"},{"name":"Comunidad de Madrid - Estudio de IMD (dossier PDF, ZIP per year)","landing_url":"https://www.comunidad.madrid/transporte/estudio-intensidad-media-diaria-vehiculos-imd","data_url":"https://www.comunidad.madrid/media/transportes/dossier2024.pdf","access":"pdf","tested":true,"data_found":null,"note":"Dossier 2024 PDF 26 MB, 96 pages, no text layer (annex table p.49 = doc page 39, per station: road, PK, IMD, % heavy). imd_trafico_2024.zip is 1.44 GB (headers only). Open-data CSV datos.comunidad.madrid has network-level aggregates only"},{"name":"Castilla-La Mancha - Planes de aforo (IMD xlsx 2021, 2023, 2024)","landing_url":"https://datos.gob.es/es/catalogo/a08002880-planes-de-aforo-de-trafico-en-castilla-la-mancha","data_url":"https://datosabiertos.castillalamancha.es/sites/datosabiertos.castillalamancha.es/files/Aforo%20tr%C3%A1fico%20IMD%202024.xlsx","access":"direct_download","tested":true,"data_found":null,"note":"Catalogue lists 3 xlsx; all three links answer 301 and return the portal home page ('estamos trabajando en el desarrollo de un nuevo Portal')"},{"name":"Galicia - Memoria de Trafico de la red autonomica (Xunta)","landing_url":"https://www.xunta.gal/es/hemeroteca/-/nova/123096/red-autonomica-carreteras-registro-promedio-2020-casi-21-menos-trafico-que-ano","data_url":null,"access":"pdf","tested":false,"data_found":null,"note":"Press note only (2020 mean IMD 2,549 vehicles/day from 380 stations); the memoria itself and a data set were not found"}],"members_summary":{"total":null,"listed":7,"tested":6,"data_found":0,"scope_note":"Inherited members; data findings were not reclassified during this structural migration. Consult each member note.","pattern":null},"member_scope":{"total":null,"note":"Inherited members; data findings were not reclassified during this structural migration. Consult each member note.","pattern":null}},{"source_id":"s004","name":"OpenStreetMap road network (Geofabrik Spain extract)","publisher":"OpenStreetMap contributors (extract by Geofabrik)","official":false,"landing_url":"https://wiki.openstreetmap.org/wiki/Key:highway","data_url":"https://download.geofabrik.de/europe/spain-latest.osm.pbf","access":"direct_download","format":"OSM PBF (1.5 GB); tags highway=*, ref, operator","license":"ODbL","language":"en","has_coordinates":true,"location_precision":"exact","publisher_type":"community","adds":"Free whole-country road geometry with highway class and ref in one file; no owner or traffic guaranteed.","first_seen_pass":1,"rank":4,"coverage":{"geographic":"Spain (extract of 2026-11-15)"},"fine_print":{"unit":{"value":null,"quote":null,"url":null,"attempts":[]},"inclusion_rule":{"value":null,"quote":null,"url":null,"attempts":[]},"reference_date":{"value":null,"quote":null,"url":null,"attempts":[]},"update_frequency":{"value":null,"quote":null,"url":null,"attempts":[]},"exclusions":{"value":null,"quote":null,"url":null,"attempts":[]}},"key_fields":[{"field":"highway","meaning":"Road class (motorway ... service); not the official Spanish classification"},{"field":"ref","meaning":"Road reference number"},{"field":"operator","meaning":"Owner/operator when mapped (not tested for Spain)"}],"how_to_use":{"example_request":"curl -sIL \"https://download.geofabrik.de/europe/spain-latest.osm.pbf\"","example_result":"307 to spain-261115.osm.pbf; 200, content-length 1502298195, last-modified Mon, 16 Nov 2026 03:17:48 GMT. taginfo: keys aadt and traffic_volume have 0 uses worldwide.","steps":["Download the PBF and filter with osmium/ogr2ogr on highway=*; Overpass servers were not reachable from here, so no tag counts for Spain were taken."],"reading_traps":["OSM has no AADT tag in use (taginfo count 0 for aadt and traffic_volume).","OSM wiki says official road classifications 'are widely used as a guide' but highway values are OSM's own ranking, not Spanish owner categories."]},"test":{"tested_on":"2026-11-16","method":"headers_only","http_status":200,"content_type":"application/octet-stream","size_bytes":1502298195,"records_total":null,"records_for_country":null,"problems":[]},"evidence":[{"claim":"OSM highway classification is its own","url":"https://wiki.openstreetmap.org/wiki/Key:highway","quote":"OpenStreetMap classifies roads by their importance within countries' road networks using its own set of values for highway =*."}],"members":[],"members_summary":null},{"source_id":"s005","name":"GRIP4 - Global Roads Inventory Project, Europe region","publisher":"PBL Netherlands Environmental Assessment Agency / GLOBIO","official":false,"landing_url":"https://www.globio.info/download-grip-dataset","data_url":"https://dataportaal.pbl.nl/downloads/GRIP4/GRIP4_Region4_vector_shp.zip","access":"direct_download","format":"Shapefile / ESRI file geodatabase (Europe region 4)","license":"CC-0","language":"en","has_coordinates":true,"location_precision":"exact","publisher_type":"academic","adds":"Harmonised multi-country road geometry in 5 road-type classes, CC-0, for modelling; no owner or traffic.","first_seen_pass":1,"rank":5,"coverage":{"geographic":"Europe region (includes Spain, not extracted)"},"fine_print":{"unit":{"value":null,"quote":null,"url":null,"attempts":[]},"inclusion_rule":{"value":null,"quote":null,"url":null,"attempts":[]},"reference_date":{"value":null,"quote":null,"url":null,"attempts":[]},"update_frequency":{"value":null,"quote":null,"url":null,"attempts":[]},"exclusions":{"value":null,"quote":null,"url":null,"attempts":[]}},"key_fields":[{"field":"road type","meaning":"Five classes (highways to local roads) per World Bank/PBL description; field names not inspected"}],"how_to_use":{"example_request":"curl -sIL \"https://dataportaal.pbl.nl/downloads/GRIP4/GRIP4_Region4_vector_shp.zip\"","example_result":"302 then 200 application/zip, content-length 1233416132, last-modified 2023-12-06","steps":["Download the Europe shapefile and clip to Spain's boundary (not done: file above 100 MB)."],"reading_traps":["Page says 'The dataset is not suitable for navigation' and it is built from many sources including OpenStreetMap; no owner or traffic field is advertised."]},"test":{"tested_on":"2026-11-16","method":"headers_only","http_status":200,"content_type":"application/zip","size_bytes":1233416132,"records_total":null,"records_for_country":null,"problems":[]},"evidence":[{"claim":"GRIP purpose and licence","url":"https://www.globio.info/download-grip-dataset","quote":"GRIP4 is provided under a Creative Commons License (CC-0) and is free to use."}],"members":[],"members_summary":null},{"source_id":"s006","name":"EuroGlobalMap (EuroGeographics) topographic dataset including transport network","publisher":"EuroGeographics (record in the EEA geospatial catalogue)","official":true,"landing_url":"https://sdi.eea.europa.eu/catalogue/srv/api/records/27812b75-404e-476e-8a21-07df0122d764","data_url":null,"access":"registration_required","format":"unknown","license":"Open data with attribution (EGM)","language":"en","has_coordinates":true,"location_precision":"exact","publisher_type":"supranational","adds":"Pan-European official generalised transport layer; listed for completeness, download behind Eionet login.","first_seen_pass":1,"rank":6,"coverage":{"geographic":"EU and other European countries incl. Spain"},"fine_print":{"unit":{"value":null,"quote":null,"url":null,"attempts":[]},"inclusion_rule":{"value":null,"quote":null,"url":null,"attempts":[]},"reference_date":{"value":null,"quote":null,"url":null,"attempts":[]},"update_frequency":{"value":null,"quote":null,"url":null,"attempts":[]},"exclusions":{"value":null,"quote":null,"url":null,"attempts":[]}},"key_fields":[],"how_to_use":{"example_request":null,"example_result":null,"steps":["Download requires Eionet authentication; road attributes were not checked."],"reading_traps":[]},"test":{"tested_on":"2026-11-16","method":"page_only","http_status":200,"content_type":"application/json","size_bytes":null,"records_total":null,"records_for_country":null,"problems":["Download link marked 'Eionet authentication'"]},"evidence":[{"claim":"Open data with attribution","url":"https://sdi.eea.europa.eu/catalogue/srv/api/records/27812b75-404e-476e-8a21-07df0122d764","quote":"EGM is available as Open Data."}],"members":[],"members_summary":null}],"sector":{"regulator":{"name":"Ministerio de Transportes (Direccion General de Carreteras) for the State network; each autonomous community, foral/provincial council and municipality for its own roads","url":"https://nap.dgt.es/en/organization/direccion-general-de-carreteras-del-mitma"},"operators":{"structure":"many","note":"Owner-managers: State (RCE, directly or by toll concession), 17 autonomous communities, Basque/Navarre foral bodies, provincial councils, island councils, municipalities. Owner codes are in the IGR-RT data model (titular 1-11, 99).","census_url":"https://centrodedescargas.cnig.es/CentroDescargas/documentos/ModeloF%C3%ADsico_IGR-RT_V1_9_publicado.pdf"},"publication_obligation":{"exists":"yes","norm":"Ley 37/2015, de 29 de septiembre, de carreteras, art. 6","url":"https://www.boe.es/buscar/act.php?id=BOE-A-2015-10439","what_must_be_published":"Art. 6.1: 'Por el Ministerio de Fomento se facilitara informacion actualizada sobre vialidad, actuaciones en ejecucion, mapas de carreteras, estadisticas y datos sobre aforos'. Art. 6.2 obliges other administrations to supply requested information. No format or frequency stated.","frequency":"not stated in the law"},"consolidated_republication":{"found":"partial","note":"HERMES republishes the State network (plus a few regional owners); IGR-RT republishes the geometry and owner of all roads without traffic. Nobody found that republishes regional IMD nationally.","checked_pages":[{"organization":"Ministerio de Transportes (HERMES)","url":"https://datos.gob.es/es/aplicaciones/hermes","saw":"HERMES node gathers data from IGN, DG Carreteras, toll concession delegation, ADIF, ports, AENA; includes 'datos de trafico y uso de la red'"},{"organization":"Ministerio de Transportes (HERMES)","url":"https://mapas.fomento.gob.es/arcgis/rest/services/Hermes","saw":"22 MapServers; 3__USO_DE_LA_RED/198 IMD per section of the State network"},{"organization":"Direccion General de Trafico (Punto de Acceso Nacional)","url":"https://nap.dgt.es/en/organization/direccion-general-de-carreteras-del-mitma","saw":"Only 2 DG Carreteras datasets (fauna incident sections, speed limits); no IMD"},{"organization":"Instituto Geografico Nacional (CNIG)","url":"https://centrodedescargas.cnig.es/CentroDescargas/redes-transporte","saw":"IGR-RT national road file and 50 provincial files, 07/2026; integrates State and regional catalogues"}]}},"national_registry":{"exists":"partial","note":"IGN's IGR-RT is a national, public road network with owner and category (catalogue of roads with DGT codes) but no traffic; the State's IMD is a separate ministry service (HERMES).","checked_pages":[{"organization":"Instituto Geografico Nacional (datos.gob.es record)","url":"https://datos.gob.es/es/catalogo/e0dat0002-redes-de-transporte-de-espana1","saw":"'En lo que respecta a la red viaria, incluye tanto las vias interurbanas (red de carreteras con sus puntos kilometricos...) como las vias urbanas'"},{"organization":"Ministerio de Transportes (HERMES dictionary)","url":"https://cdnfomento.blob.core.windows.net/hermes/Diccionario_datos_HERMES.pdf","saw":"Carreteras layer of the RTIG with Tipo_de_via and Titular; IMD layers for the RCE"},{"organization":"Direccion General de Trafico (NAP)","url":"https://nap.dgt.es/en/dataset?q=IMD","saw":"'No datasets found for IMD'"},{"organization":"Agencia Estatal Boletin Oficial del Estado","url":"https://www.boe.es/buscar/act.php?id=BOE-A-2015-10439","saw":"Art. 4: State roads are those owned by the AGE; art. 6 information duty"},{"organization":"Ministerio de Transportes (transportes.gob.es)","url":"https://www.transportes.gob.es/carreteras/trafico-velocidades-y-accidentes-mortales/mapas-de-trafico","saw":"HTTP 403 'Pagina web bloqueada' to curl and to WebFetch; content not seen"}]},"if_unstructured":{"summary":null,"recipe":["Madrid: download dossier2024.pdf (26 MB, 96 pages; pdftotext returns nothing).","Render the annex pages: pdftoppm -png -r 80 -f 49 -l 49 dossier2024.pdf p (the index puts Annex 1 at document page 39, which is PDF page 49).","Read the table (or OCR it): columns Carretera, Ubicacion P.K., Tipo estacion, IMD 2024, % Pesados, Localizacion. Spanish thousands separator '.' and decimal ',' (47.718 = 47,718 vehicles/day).","Only station-level values: one IMD per station, not per line section. Other regions: apply the same pattern to their annual aforos memoria; Galicia's was not found."],"location_method":"The Madrid table gives road code, PK and a text location only; coordinates are not in the document. Joining by road code and PK to a road geometry was not tested.","cross_with":["IGR-RT (rank 2) for road geometry and owner","HERMES (rank 1) for the State network IMD"],"where_published":[{"name":"Comunidad de Madrid - Estudio de Intensidad Media Diaria (annual dossier)","url":"https://www.comunidad.madrid/transporte/estudio-intensidad-media-diaria-vehiculos-imd","what":"Annual PDF/EPUB dossiers (2015-2024) and ZIP data packages with IMD per counting station of the regional network","how_to_search_inside":"No search: the page lists one dossier per year; open the PDF and go to Annex 1 (values IMD per road).","example_document":{"url":"https://www.comunidad.madrid/media/transportes/dossier2024.pdf","what_it_gives":"PDF page 49 (document page 39), annex table, no text layer: row 'M-100 | 0,15 | Primaria | 10.707 | 23,71 | Entre las intersecciones con A-2 y antigua M-100'; row 'M-100 | 22,97 | Permanente | 47.718 | 6,09 | Entre las intersecciones con A-1 y M-111'. Columns: road, PK, station type, IMD 2024, % heavy, location."}},{"name":"Xunta de Galicia - Memoria de Trafico (press note on the annual figures)","url":"https://www.xunta.gal/es/hemeroteca/-/nova/123096/red-autonomica-carreteras-registro-promedio-2020-casi-21-menos-trafico-que-ano","what":"Annual summary of the regional network IMD; the memoria with per-section data was not located","how_to_search_inside":"xunta.gal hemeroteca; the note says the Memoria de Trafico is published after the note","example_document":{"url":"https://www.xunta.gal/es/hemeroteca/-/nova/123096/red-autonomica-carreteras-registro-promedio-2020-casi-21-menos-trafico-que-ano","what_it_gives":"'Las carreteras de titularidad autonomica alcanzaron un promedio de 2.549 vehiculos al dia, dato que se elevo en las vias de alta capacidad a 6.917' (2020, 380 stations): aggregate only, no per-section table."}}]},"related_not_answering":[{"name":"NAP DGT - SPFRIA (road sections with fauna incidents) and speed limits of the State network","url":"https://nap.dgt.es/en/organization/direccion-general-de-carreteras-del-mitma","why":"Only DG Carreteras datasets on the National Access Point; sections and signs, no IMD."},{"name":"Anuario de Aforos / SAIH-ROEA (datos.gob.es e00125801, e05068001)","url":"https://datos.gob.es/es/catalogo/e00125801-anuario-de-aforos","why":"'Aforos' here are river-flow gauging, not traffic."},{"name":"RACE EuroRAP road assessment of the State network 2024","url":"https://race.es/wp-content/uploads/2025/01/Informe-RACE-EuroRAP-2024.pdf","why":"Derived report using IMD classes for accident risk; not a data source for IMD."},{"name":"Comunidad de Madrid open-data 'Intensidad media diaria de vehiculos en las carreteras'","url":"https://datos.gob.es/es/catalogo/a13002908-intensidad-media-diaria-de-vehiculos-en-las-carreteras","why":"Network-level indicators (vehicle-km, mean IMD per red), not IMD per section."}],"open_questions":["HERMES dictionary says IMD_asc/IMD_desc are vehicles/day while the layer name and values say percentage of total: only the Ministry can confirm.","Why the same section's IMD differs strongly between years (A-1 PK 12-12.69: 183,647 in 2021, 141,954 in 2024) cannot be resolved from the service."],"history":[{"pass":1,"date":"2026-11-16","role":"research","model":"Claude Sonnet 5.5 (High)","rules_version":"6.12","note":"HERMES ArcGIS REST (State-network IMD, type, owner) found through the Ministry app record; IGR-RT gives owner/category for all roads; regional IMD tested in 4 regions.","headline":{"official_data":"partial","non_official_data":"partial","national_registry":"partial"},"sources":{"total":6,"new":6,"dropped":0},"negatives":{"overturned":0,"confirmed":0},"effort":{"pages":36,"minutes":80}}],"local_terms":[{"term":"IMD (Intensidad Media Diaria)","language":"es","meaning":"Annual average daily traffic (AADT), vehicles/day"},{"term":"Red de Carreteras del Estado (RCE)","language":"es","meaning":"State-owned road network"},{"term":"RTIG (Red de Transporte de Interes General)","language":"es","meaning":"General-interest transport network used by HERMES"},{"term":"titularidad / titular","language":"es","meaning":"road ownership / owner"},{"term":"estacion de aforo / plan de aforos","language":"es","meaning":"traffic counting station / counting programme"},{"term":"tramo y PK (punto kilometrico)","language":"es","meaning":"road section and kilometre point"},{"term":"Catalogo de carreteras","language":"es","meaning":"official list of roads with owner, class and order"},{"term":"red autonomica / foral / provincial","language":"es","meaning":"regional / foral / provincial road network"}],"provenance":{"pass_count":1,"models":["Claude Sonnet 5.5 (High)"],"minutes_estimate":80,"pages_opened":36,"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/roads.json","detail_url":"https://georutter.org/v1/es/roads/detail.json","html_url":"https://georutter.org/es/roads/","country_url":"https://georutter.org/v1/countries/es.json"}
