Hostname: page-component-586b7cd67f-2plfb Total loading time: 0 Render date: 2024-11-24T20:17:55.710Z Has data issue: false hasContentIssue false

The Spanish railway network, 1848–2023

Published online by Cambridge University Press:  15 May 2024

Guillermo Esteban-Oliver*
Affiliation:
Department of Applied Economics, Universidad de Zaragoza, Zaragoza, Spain
Jordi Martí-Henneberg
Affiliation:
Department of Geography, History and History of Arts, Universitat de Lleida, Lleida, Spain
*
Corresponding author: Guillermo Esteban-Oliver; Email: [email protected]
Rights & Permissions [Opens in a new window]

Abstract

GIS data on the evolution of railway networks facilitate the study of the role played by the expansion of transport infrastructure since the industrial revolution. The arrival of the railway transformed economic and social activity and the distribution of population within the territory. Given their importance, we have reconstructed and digitised the layout of the railway lines and the location of the stations and halts that existed from the opening of Spain's first railway line, in 1848, until 2023. We have also added indicators of the quality of the network, more specifically, the dates of its electrification and when the track was doubled to allow two-way traffic. The potential of this database lies in its capacity to analyse the interrelationship between the railway infrastructure and a wide range of elements located in the territory, amongst which it is necessary to highlight other modes of transport, urban expansion and socio-economic development.

Resumen

Resumen

Conocer la evolución y características de las redes ferroviarias en SIG facilita el estudio del papel desempeñado por la expansión de las infraestructuras de transporte desde el inicio de la Revolución Industrial. Dada la relevancia del ferrocarril en el desarrollo económico y social, hemos reconstruido y digitalizado el trazado de las líneas ferroviarias y las ubicaciones de las estaciones y apeaderos que existieron desde la apertura de la primera línea ferroviaria en España, en 1848, hasta 2023. También hemos añadido indicadores de la calidad de la red, específicamente las fechas de electrificación y de desdoblamiento de vías. El potencial de esta base de datos radica en su capacidad para analizar la interrelación entre la infraestructura ferroviaria y una amplia gama de elementos ubicados en el territorio, entre los cuales es necesario destacar: otros modos de transporte, la expansión urbana o el desarrollo socioeconómico.

Type
Research Note
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
Copyright © The Author(s), 2024. Published by Cambridge University Press on behalf of Instituto Figuerola de Historia y Ciencias Sociales, Universidad Carlos III de Madrid

1. Introduction

Historical data on transport infrastructure are raising increasing interest due to their tremendous power to stimulate economic and social change (Banerjee et al., Reference Banerjee, Duflo and Qian2020). This type of data is especially relevant when used to track long-term changes at a high level of geographic detail. When this is the case, such data allow us to understand the impact of this type of investment from a long-term perspective and at different territorial scales: local, national and even continental.

Interest in the reconstruction of data on historical road networks is currently booming and includes -among many others- initiatives such as the digitisation of the Roman road network (De Soto and Carreras Monfort, Reference De Soto and Y Carreras Monfort2009; Åhlfeldt, Reference Åhlfeldt2013), the French (Perret et al., Reference Perret, Gribaudi and Barthelemy2015) and Spanish (Pablo-Martí et al., Reference Pablo-Martí, Alañón-Pardo and Sánchez2021) road networks of the 18th century, and the streets and main road networks of several cities (Casali and Heinimann, Reference Casali and Heinimann2019; Wang et al., Reference Wang, Yu, Kwan, Zhou, Li and Miao2019). However, the mode of transport that has attracted the greatest interest is the railway. There is, in fact, a long tradition in the reconstruction and digitisation of this type of infrastructure, which has manifested itself in both the increase in the number of territories studied and in improvements in the approaches used in the field of the Geographical Information Systems (GIS).

With regard to the territories studied, the first attempts were made by Knowles and Healey (Reference Knowles and Healey2005), who digitised the Pennsylvania railway network in GIS format. This made it possible to link this mean of transport to the development of the steel and mining industry in this US state. The potential of this type of analysis was soon apparent, and other reconstruction work, digitisation and geo-historical analyses were carried out for the US MidWest (Atack et al., Reference Atack, Haines and Margo2008), Britain (Marti-Henneberg et al., Reference Marti-Henneberg, Satchell, You, Shaw-Taylor and Wrigley2018) and in Europe (Martí-Henneberg, Reference Martí-Henneberg2013). It is also relevant to highlight the digitisation of the railway networks of colonial India (Donaldson Reference Donaldson2018) or Canada (Cartography Office, Reference Cartography Office2020), and the inclusion of the stations and improvements in the detail of the digitisation of the 19th century European network in the cases of France (Thévenin et al., Reference Thévenin, Schwartz and Sapet2013), Italy (Groote, Reference Groote2020), Galicia and Austrian Silesia (Kaim et al., Reference Kaim, Taczanowski, Szwagrzyk and Ostafin2020) and Switzerland (Büchel and Kyburz, Reference Büchel and Kyburz2020).

Secondly, we must refer to the methodologies used, which have depended to a great degree on the tools available. In a first stage, the authors manually digitised historical maps, using the newly created GIS (Martí-Henneberg, Reference Martí-Henneberg2013). Later, the arrival of PostGIS and the popularisation of Open Street Maps (OSM) facilitated the creation and use of collaborative maps. Their production was often coordinated by various researchers and government entities, although on many occasions they were produced by a large number of different people (Perret et al., Reference Perret, Gribaudi and Barthelemy2015). Finally, and only very recently, there is a tendency towards the digitisation and use of historical maps through the application of artificial intelligence and various automated processes, although this method is still in its early stages (Turner et al, Reference Turner, Lahoorpoor and Levinson2023).

The usage of this data for different fields has implied a methodological revolution, as it has facilitated the uncovering of the multiple effects of this infrastructure. The phenomena investigated have included its influence on urbanisation processes (Hornung, Reference Hornung2015; Berger and Enflo, Reference Berger and Enflo2017), on industrialisation in the 19th century (Berger, Reference Berger2019; Bogart et al., Reference Bogart, You, Alvarez-Palau, Satchell and Shaw-Taylor2021), and its ability to influence the creation of knowledge (Andersson et al., Reference Andersson, Berger and Prawitz2023) or rural depopulation (Esteban-Oliver, Reference Esteban-Oliver2023).

In addition, in the fields of urban studies and geography, this type of data has also been used to analyse the impact of tracks and railway stations on the morphology of cities and on urban planning. This is a particularly relevant field, as the introduction of the railway coincided with a period of major urban expansion. The consolidation of the liberal state, in the middle of the 19th century, and its drive for the construction of infrastructure, including railway stations as symbols of progress, coincided with the destruction of city walls that allowed the expansion of the urban space. The location of these stations and of the tracks and roads that interconnected them therefore became conditioning factors for urban development. The confluence of these two themes: the development of railways and cities, is a field that offers great analytical potential for the use of GIS, but which, for the moment, has only really been explored either in very general terms (Ganges and Martí-Henneberg, Reference Ganges, Martí-Henneberg and Martí-Henneberg2023), or with reference to very specific locations, as in the cases of Portugal (Pinho and Oliveira, Reference Pinho and Oliveira2009) and Romania (Purcar, Reference Purcar2010). Bearing this in mind, in order to consolidate the study of this type of subject, a new methodology has recently been developed which quantifies how urban expansion was affected by the construction of a new railway station (Alvarez-Palau et al., Reference Alvarez-Palau, Martí-Henneberg and Solanas-Jiménez2019). This line of work is still, however, in its initial stages.

This article aims to contribute to the study of the influence of railways at any territorial scale and for any period. To this end, we present the first railway database that includes the digitisation of the railway lines and the location of the stations and halts that existed in Spain from the opening of the first railway, in 1848, until 2023. The database shows the annual evolution (dates of opening and closure) of the different sections of track and of railway stations and halts at the highest possible level of spatial detail. It also includes attributes that identify the dates of electrification and when tracks were doubled (to allow two-way traffic) for the different sections of the network. In addition, we have distinguished between Iberian gauge (1,668 mm), narrow gauge (1,435 mm, 1,062 mm, 1,000 mm, 915 mm and 750 mm), and also high-speed lines (from 1992 onwards), which have a standard gauge of 1,435 mm. This is because, in Spain, as well as standard gauge, which is mainly used in the high-speed network, two other track gauges (Iberian and narrow) are still in use. Iberian gauge lines form the core of the network, whereas the narrow-gauge lines are mainly used for metropolitan connections; although in the 19th century, narrow-gauge lines were also used to channel primary materials -such as coal and iron- from extraction points to either the broad-gauge network or to ports, from where they were subsequently redistributed.Footnote 1

2. Materials and methods

The reconstruction and digitisation of the Spanish railway network has been carried out in GIS using several primary and secondary sources. The following subsections describe collecting data, and the steps for lines and stations inventory, digitisation, and inclusion of opening, closing, electrification and doubling dates.

2.1 Inventory and geolocation of the stations in the network

First of all, we carried out an inventory and geolocated all the stations that came into service after the opening of Spain's first railway, in 1848, and through until 2023. It should be noted that this database only includes railway stations and halts that met the following conditions: (1) they were open to the public; and (2) they served commercial purposes, transporting both goods and passengers. As a result, all “Goods and freight stations” were excluded. Some examples of left out stations would include those whose names contained terms such as: “Factory of…”, “Industry of…”, “Society of…” etc. One example of a point of access to the network that would not form part of our database is the “Portland Cement Factories” station, as its use was exclusively related to that company's activity. We took this decision because the amount of available information regarding the opening and closing dates of these types of stations and halts in the early 19th century was very limited and, in many cases, contradictory.

Of all the different sources used to reconstruct the Spanish network of railway stations and halts, the most relevant input was provided by ADIF (Administrator of Railway Infrastructure in Spain), in 2007. This source included: the name of each station, its location (X/Y coordinates), and the province in which it was located. However, while that database contained more than 1,765 network access points, it only included those that were in service in 2007.

To complement this information, other fundamental sources have been historical maps of Spanish territory. These were produced throughout the 19th and 20th centuries by the Instituto Geográfico Nacional (IGN—National Geographic Institute) and cover the whole of Spain. The most relevant to our case was the Mapa Topográfico Nacional (MTN50—National Topographic Map), which was originally drawn at a scale of 1:25,000 and published at that of 1:50,000. However, the MTN50 presented some problems. First of all, the topographical task began in 1857 and the first sheets were published in 1875. Given that the Spanish railway network was still under construction at that time, there are territories for which the publication of the map preceded the creation of the infrastructure. In addition, the MTN50 did not include all railways halts within the network, which made it difficult to geolocate them. We therefore had to turn to other sources to complete the process.

The most significant sources were found in the archives of the Fundación de los Ferrocarriles Españoles (Spanish Railways Foundation). Among the documents consulted were the “Mapas de Ferrocarriles en Explotación y Construcción en España y Portugal” (Maps of Railways in Service and Under Construction in Spain and Portugal) which were prepared by the Instituto Geográfico y Catastral (Geographic and Land Registry Institute) in 1948 and 1956 under the supervision of Forcano Catalán, and the Cuadro de Estaciones y Distancias de los Ferrocarriles Españoles y Portugueses (Table of Railway Stations and Distances of the Spanish and Portuguese Railways), which was published in 1928, by the Compañía de los Ferrocarriles Andaluces. In addition, we also used case studies based on different lines. Most of these were obtained from the El Ferrocarril en España (Railways in Spain) database, which is hosted on the spanishrailways.com website, administered by Juan Perís Torner.

Another very relevant source was the “Estaciones y Líneas del Ferrocarril de España” (Railway Stations and Lines in Spain) database elaborated by Antonio Sierra in 2010, which shows the name and geolocation of the vast majority of the stations in the Spanish network. This source was particularly useful for contrasting and completing our database. Finally, the process of creating an inventory and geolocating the stations that were operative in the provincial capitals and in the metropolitan rings around large cities, was carried out on a case-by-case basis within the framework of the Ferrocarril y Ciudad (Railway and City) project (Martí-Henneberg, Reference Martí-Henneberg2017).Footnote 2

The result of this reconstruction work was a total of 2,245, Iberian-gauge, 1,523 narrow-gauge, and 38 high-speed stations and halts.

2.2 Assigning the dates of opening and closure, and the sections of line, and lines on which the stations within the network were located

In this section, we establish the dates of the opening and closure of the stations, and the sections of line and lines in which the stations were located.

First, we manually assigned each station to the line to which it belonged, using the GIS database of Morillas-Torné (Reference Morillas-Torné2012), case studies of several lines (Morilla-Critz, Reference Morilla-Critz1984; Muñoz Rubio et al., Reference Muñoz Rubio, Sanz Fernández and Y Vidal Olivares1999; Mohedas García and Miguel Cámara, Reference Mohedas García and Y Miguel Cámara2009), and the spanishrailway.com website (Perís Torner, Reference Perís Torner2007). We then used Cronología Básica del Ferrocarril de Vía Ancha (Basic Chronology of the Broad-Gauge Railways) of García Raya (Reference García Raya2006) and Ferrocarril de Vía Estrecha (Narrow Gauge Railways) by Olaizola Elordi (Reference Olaizola Elordi2005) to divide these lines into sections and linked this information to the stations. Note that stations serving more than one line were assigned to the one that opened first.

The year in which sections of line opened was assigned as the opening date of the stations that were located on them. We made this assumption because our database excluded goods and freight stations. This implies that the vast majority of the points of access to the network that we included are those that configured the initial layout of the lines and, therefore, came into service at the same time that when their corresponding sections of line were being opened. However, a different methodological criterion was applied in the case of stations located in provincial capitals and within the metropolitan rings of large cities. For them, information on their dates of opening and closure was collected on a case-by-case basis within the framework of the Ferrocarril y Ciudad project (Martí-Henneberg, Reference Martí-Henneberg2017). Another option would have been to carry out the assignment of these dates individually for all the stations and halts in the network. However, this presented two important problems: (1) the lack of data, as many stations lacked individualised, reliable, and accessible information regarding their dates of opening; and (2) the fact that the dates we were able to compile using this approach were not always directly comparable. This was due to the different ways in which it is possible to define when a station entered service. While some sources consider the opening of the station to be the moment when the station building became operational, others take as their reference its official date of inauguration, or when rail services actually began at the location in question.

In the case of dates of closure, we manually incorporated this data section by section, using several different sources. The most relevant sources were the Relación de Líneas Clausuradas de la Península Ibérica by Marinas (Reference Marinas2021) and the Cronología de cierres de vía Estrecha by Fernández López (Reference Fernández LópezMIMEO). We also complemented and contrasted this information using other sources, such as the spanishrailways.com website and the Cronología General del Ferrocarril prepared by the Federación Castellano Manchega de Amigos del Ferrocarril in 2023.

2.3 Digitisation, categorisation and assigning the dates of opening and closure of sections of track and lines within the network

In this section, we digitized and assigned the opening and closing dates of the various lines of the Spanish network.

The layout of the Iberian gauge and narrow-gauge lines was taken from Sierra (Reference Sierra2010), while that of the high-speed network was obtained from OSM. Sierra's database provides the digitisation of all the lines in the network (including those that have never been inaugurated) at a high level of detail.Footnote 3 However, this database contains all means of transport that use rails, and does not divide the lines into sections, which is essential for subsequently assigning the dates of opening, closure, electrification, and doubling. We therefore started by excluding those forms of transport that did not really form part of the railway network: underground trains, funicular railways, and cable cars, although we maintained rack and pinion and tram lines that had originally operated as railways. We then discarded lines that were never inaugurated. Finally, we adapted the digitisation to allow it to be modelled in GIS. To do this, we eliminated marshalling yards, parallel tracks and service lines, and carried out several topological validationsFootnote 4. These corrections were made to ensure that the points and lines within the railway network (which in this case refer to railway stations and lines) were interconnected. If this were not the case, it would not be possible to use the different GIS instruments which, for example, made possible to calculate the routes between stations using the lines in the network.

Once this process had been carried out, we obtained the digitisation of all the lines in the network. However, the line attributes, such as the dates of opening and closure of the different sections of track, had yet to be assigned. To do this, we used a GIS tool: Spatial Joint (point to line), which made it possible to copy the attributes of the stations to the lines with which they were in contactFootnote 5. In other words, this tool exported the section of line, line, opening and closure attributes from one layer (stations) to another (lines) based on their spatial relationships.

The result was a total of 2,548, Iberian-gauge, 1,681 narrow-gauge and 50 high-speed sections of track, which were then divided into 114, 91 and 13 lines respectively.

2.4 Data on electrification and the doubling of lines

In this section we describe how we obtained and digitised data referring to the electrification and doubling of railway lines in Spain.

The information about the dates of electrification of the different sections of track for the broad-gauge network was obtained from the chronology of electrified sections of broad-gauge tracks created by Cuéllar (MIMEO). We also contrasted and complemented this information with case studies presented at spanishrailway.com. The dates of electrification of the narrow-gauge sections were obtained from Olaizola Elordi (Reference Olaizola Elordi2005) and from the Chronology Electrificación de las líneas de vía estrecha en España (Electrification of narrow-gauge lines in Spain) which was drawn up by the Federación Castellano Manchega de Amigos del Ferrocarril (2023).

The data on the doubling of tracks were obtained from several different sources. We used case studies from spanishrailway.com, from the monographic work La doble vía en España y el sentido de la circulación por ella of García Álvarez (Reference García Álvarez2007), and especially information obtained through “web scraping”. Press articles and other documents, such as the Revista de Obras Públicas elaborated by El Colegio de Ingenieros de Caminos, Canales y Puertos de España, that indicated the dates of the inauguration of track sections in Spain were particularly useful. Finally, we manually assigned both the dates of electrification and doubling to the different sections of line and stations that formed part of the database. We present the summary of this work in Figure 1, where it is possible to observe the evolution of kilometres of track and the percentage of the electrified and doubled Iberian and narrow-gauge network.

Figure 1. Percentage of electrification and double-track lines in Spain, 1848–2023.

Source: Own research.

3. Data records

This database consists of six files arranged in two Shapefile formats, with three files for the lines (Iberian, narrow and high-speed) and another three for railway stations and halts, and can be accessed using the following link https://doi.org/10.34810/data917. Tables 1 and 2 respectively present and describe the variables included in the station and railway line databases.

Table 1. Description of variables relating to railway stations and halts

Table 2. Variables used to describe sections of track

4. Technical validation and robustness checks

There were three main requirements for this database. The first was that the geolocation of the lines and stations should be as geographically accurate as possible. We therefore used the MTN50 Map and OSM to manually revise the digitisation of most of the lines, especially those that were in urban areas. With regard to this, we would like to emphasise that we used historical city maps (Martí-Henneberg, Reference Martí-Henneberg2017) of the provincial capitals and most relevant urban areas in Spain in order to manually contrast and correct the layout and opening dates of these lines and stations and halts, whenever this was required. In Figure 2, we present the case of Barcelona. In the map of 1855 we can see the tracks on the outskirts of the city, as urban expansion came after the construction of the main railway lines. For this reason, when Ildefonso Cerdá's plan for the Ensanche (Extension) was executed the route taken by the existing railway lines had to be adjusted (as shown in the 1930 map).

Figure 2. Railway lines and stations in Barcelona, 1855 and 1930.

Notes: The map shows the Iberian and narrow (dotted) railway lines and stations in Barcelona.

Sources: Own research and Martí-Henneberg (Reference Martí-Henneberg2017).

The second main requirement was that the opening and closure and network quality attributes had to be historically accurate and consistent for all the lines and stations throughout the whole period and territory. To achieve this, we ensured that the database complied with a series of consistency validations.

  • All the lines and stations had to have a value greater than 1848, but less than 2023 in their opening field.

  • No line or station could have a year of closure value that pre-dated its year of opening value. No line or station could reopen unless it had previously been closed.

  • No line or station could have a value (year) in its reopening field that pre-dated that in its closure field.

  • No station could be open on a line that was closed.

This validation process followed the logic that the year in which a station opened could not pre-date the year in which the line was inaugurated, nor could the year of station closure be later than the closure of the line.

To confirm the historical accuracy of the data, we then carried out a series of robustness checks. First of all, we manually contrasted our data and corrected any possible errors relating to dates of opening and closure, electrification, and track doubling, using different official documents. More specifically, we checked and corrected, when necessary, information in our database relating to sections of track that were doubled and electrified by reference to the Mapa de Ferrocarriles en Explotación y Construcción en España y Portugal (Forcano Catalán, Reference Forcano Catalán1948) for the year 1948, the El Mapa de Ferrocarriles de España y Portugal for the year 1958 (Imedio, Reference Imedio1958), El Mapa de los Ferrocarriles Españoles del año 1986 (RHEA Consultores, 1986) for 1986, and the Mapa de Infraestructura Ferroviaria de España (Díaz Pardo, Reference Díaz Pardo2023) for 2023. As an example, in Figures 3 and 4, we present the Original Map produced by the Instituto de Transporte directed by Imedio and the GIS Map for 1958, which was produced using our database. It is possible to observe that after making these checks and corrections, there are no discrepancies between the two maps in terms of either the layout of the network or the attributes of network quality (electrification and doubling).

Figure 3. Railway map of Spain and Portugal (1958).

Source: Instituto de Transporte.

Figure 4. Electrification and double-track lines in Spain (1958).

Sources: Own research.

Secondly, we checked whether our annual data about km of network was consistent with those highlighted by other authors. To do this, in Figure 5 we extracted our GIS database annual length of the railway network, and then compared it with that reported by Álvarez (Reference Anes Álvarez1978, pp. 485 and 486) for Iberian-gauge in the 1848–1935 period, and by Morillas-Torné (Reference Morillas-Torné2014, p. 20) for Iberian-gauge in the 1941–2013 period, and for narrow-gauge in the 1855–2013 period. Results showed very minor differences for the majority of the period. However, it can be observed that these differences are somewhat higher in the 1900–1960 period. This is because Morillas-Torné (Reference Morillas-Torné2014) does not include some narrow-gauge lines that we do collect.Footnote 6 The fact that most of these lines were inaugurated in the early 20th century and closed in the 1960s explains the majority of the differences between both series.

Figure 5. Cumulative number of km of Iberian and narrow-gauge lines in Spain, by year, (1848–2013).

Notes: The left axis shows total km of track. The data relating to the annual evolution in terms of kilometres of line refer to the total extension of the network without considering the additional mileage implicit in double-track.

Source: Own research, Alvarez, Reference Anes Álvarez1978, pp. 485 and 486 and Morillas-Torné, Reference Morillas-Torné2014, Figure 1.

Our last requirement was that this database could be included in, and/or be used to create transportation network models. These are constructed with GIS, mathematical algorithms, and computational methods; and used to simulate and analyse the movement of people, goods and vehicles within a defined geographic area. One very useful feature of these models is that they allow us to estimate how changes in highly relevant parameters, such as speed and transport costs, are able to affect the optimal routes between two points within a given network.

To achieve this, and as already explained in Section 2, we carried out a number of validations. In this way, this database has already been used to model and analyse its functioning during the 19th century (Esteban-Oliver et al., MIMEO), so its reliability for use in this field has already been demonstrated.

5. Potential applications of the database

The potential applications for this database are manifold. First of all, it should be stressed that this is the first GIS database of a railway system to include the dates of line openings, closures, and electrification, and also register when certain sections of track were doubled to allow two-way traffic, and/or when different stations opened and/or closed. The inclusion of these attributes can contribute to a better understanding of the extent to which the impact of the railway was determined by the quality of the network. This is an issue which has hardly been explored in the literature, but which we believe—as in the case of roads (Bogart, Reference Bogart2009; García-López et al., Reference Garcia-López, Herranz-Loncán, Tassinari and Viladecans-Marsal2023)—could have had a very significant influence on the territorial impact of this infrastructure.

Secondly, and given that all the data included here is geolocated at a high level of detail, this information will also help researchers to understand the historical evolution of Spain's railway infrastructure over almost two centuries, at whatever level of territorial detail they may require. In this sense, one important application of this database is that it can be used to create very accurate GIS maps for any year and level of territorial disaggregation required. As an example, in Figure 6, we present a map that includes the Spanish railway network and its main characteristics in four key cut-off years. Firstly, we can observe the state of the network in 1877, when the trunk lines had been completed and before the construction of the majority of transversal and narrow-gauge lines. On the right, the map for 1910 presents the network once almost all of the Iberian-gauge lines had been constructed. Thirdly, as already mentioned in Figure 4, we present the network in 1958, which was its moment of maximum expansion, after a number of relevant improvements. Finally, the map on the lower right shows the situation of the Spanish railway system at the end of 2023, following the closure of many Iberian-gauge lines in the final decades of the 20th century, but after the opening of several kilometres of high-speed rail track. Although analysing this information is not the main objective of this article, a cursory examination allows us to observe the uneven territorial coverage of the Spanish network and its quality throughout the period. It is evident that certain provinces, such as Teruel, Almería or Cáceres, received significantly lower levels of railway investment than the national average, while others, such as Madrid, Barcelona and Valladolid, were particularly favoured. In summary, this database can help us to understand the causes and consequences of these regional disparities from a very long-term perspective and at the level of territorial disaggregation that we require.

Figure 6. Spanish railway infrastructure in the years 1877, 1910, 1958 and 2023.

Notes: The continuous line shows the Iberian-gauge track, while the dotted lines show narrow-gauge railways. The blue lines represent electrified lines. Double lines represent double-track railways. Purple lines depict high-speed railways. See also Figure 4 legend.

Source: Own research.

Thirdly, these data can also be used as explanatory or control variables in most spatial econometric models. It is possible to create dichotomous variables, such as distances to and from railway lines or stations, to reveal the multiple effects that this type of infrastructure has had on Spain's economy and society. In other contexts these kind of data has, for example, made it possible to analyse the effect of the railway on such relevant phenomena as regional disparities, migration, the rural-urban transition, and the tourism sector, and even its impact on people´s access to essential services, such as education and health. In fact, this database has already been used by Esteban-Oliver (Reference Esteban-Oliver2023) to analyse the influence of the railway on Spain's population dynamics during the 1860–1930 period. The conclusions drawn from the study suggest that the railways probably stimulated factor mobility and economies of agglomeration, but also reinforced existing hierarchies, thus exacerbating an unequal distribution of population within space.

Fourthly, the data were compiled so as to make it possible to integrate them with other transport infrastructure databases (roads, ports, etc.) in order to generate multimodal transport models. In other words, to create a comprehensive and detailed representation of a transportation system that permits the analysis, modelling, and optimisation of the movement of goods and/or people, using various modes of transportation. Along these lines, we think that it is relevant to underline that the historical analysis of the effects of improvements in transport using a multimodal approach is a field that is currently experiencing a significant boom (Fernihough and Lyons, Reference Fernihough and Lyons2022). The reason for this is that it provides a more accurate estimate of the socio-economic impact of transport than analyses of the individual effects of each mode of transport.

Fifthly, we believe that this database can also help us to understand the processes involved in urban transformations. This is a subject with a lot of potential, as it encompasses urban planning and urban transformation from the mid-19th century through to the present day (Ganges and Martí-Henneberg, Reference Ganges, Martí-Henneberg and Martí-Henneberg2023). More specifically, our database can be used in conjunction with cadastral (land registry) data, such as the evolution of the spatial distribution of housing and population and economic activities; land and housing prices; and/or local income, to better understand how the layout of tracks and the location of stations affects urban and port morphology.

Lastly, we would also like to point out that this database can be combined with other attributes of the railway network to analyse a number of other phenomena. For example, in Esteban-Oliver and Martí-Henneberg (Reference Esteban-Oliver and Martí Henneberg2022) this database is combined with novel information concerning the ownership of lines in order to show that during the period between 1848 and 1941, the expansion of the railway network was greatly influenced by criteria related to economic gains and to the changing business objectives of the railway companies.

Acknowledgements

We are especially grateful for Mateu Morillas-Torné's help during the database elaboration process. We are also grateful to Domingo Cuellar, Miguel Muñoz, Joaquín García-Raya, Juanjo Olaizola, Víctor de Santos and the Archivo Ferroviario de la Fundación de los Ferrocarriles Españoles for their assistance, and for the comments and suggestions by The Cambridge Group for the History of Population and Social Structure (CAMPOP). Lastly, we also thank Peter Lee, for his help finding the most appropriate specialised railway terminology to use in English.

This paper was possible thanks to grants from the AGAUR (2019FI_B1 00127) and from the EU Jean Monnet Centre of Excellence: Eurotrans (ERASMUS-JMO-2021-HEI-TCH-RSCH).

Sources and official publications

COLEGIO DE INGENIEROS DE CAMINOS, CANALES Y PUERTOS DE ESPAñA. (1853–2023). Revista de Obras Públicas. Available online at: https://www.revistadeobraspublicas.com/

INSTITUTO GEOGRÁFICO Y ESTADÍSTICO DEL REINO. (1875–1978). Mapa Topográfico Nacional MTN50 [Map]. Available online at: http://www.ign.es/web/ign/portal/cbg-area-cartografia

COMPAÑÍA DE LOS FERROCARRILES ANDALUCES. (1928). Cuadro de Estaciones y Distancias de los Ferrocarriles Españoles y Portugueses [dataset]. Available online at: https://ffe.es/archivoybiblioteca/index.asp

RHEA Consultores. (1986). Mapa de los Ferrocarriles Españoles [Map]. Available online at: https://ffe.es/archivoybiblioteca/index.asp

ADIF. (2007). Estaciones de ferrocarril de España [dataset]. Available online at: https://www.adif.es/informacion-al-usuario/estaciones?

FEDERACIÓN CASTELLANO MANCHEGA DE AMIGOS DEL FERROCARRIL (2023). Cronología General del Ferrocarril [dataset]. Available online at: https://fcmaf.es/cronologia.htm

Footnotes

1 We would like to stress that there have been previous attempts to reconstruct the Spanish railway network using GIS (Morillas-Torné, Reference Morillas-Torné2012; Martí-Henneberg, Reference Martí-Henneberg and Martí-Henneberg2023). However, those studies only included maps of the railway network generated at 10 or 20-year intervals. Furthermore, the level of geographic detail was less than that presented here and included neither stations nor attributes indicating the quality of the network.

2 Note that this source included all the stations that serve Spain's high-speed network.

3 Sierra´s database was also created using information extracted from OSM.

4 We carried out the following topological validations: Must be single part. All the lines must be simple elements. Any multipart line is a topological error. (Multipart line features are those that contain two or more paths). Must not overlap/Must not self-overlap. A railway line cannot overlap with itself or with any other line on the same layer. When a line overlaps with itself or another line (doubling), this is an error. Must not intersect/Must not self-intersect. A railway line cannot intersect with itself or with any other line on the same layer. Any point of intersection is a mistake. Must not have d-angles. A railway line must contact another line at both of its ends. This rule has the exception of beginnings and ends of a line and is used to detect disconnections in its trajectory. Finally, we connected the tracks and the stations using: Point must be covered by line. All the stations have to be on a railway line. Any station offset from a railway line is a topological error. Note that in most cases, the displacement was only a few metres.

5 Note that in cases in which a section of line overlapped with two or more stations whose opening or closing attributes, name of section, or name of line, did not coincide, we assigned the attributes of the station with the earliest opening date.

6 Some examples are the Núria and Montserrat rack railways.

References

Åhlfeldt, J. (2013) Digital Atlas of the Roman Empire. [dataset]. https://dh.gu.se/dare/Google Scholar
Alvarez-Palau, E.J., Martí-Henneberg, J. and Solanas-Jiménez, J. (2019) Urban growth and long-term transformations in Spanish cities since the mid-nineteenth century: a methodology to determine changes in urban density. Sustainability 11(24), 6948.CrossRefGoogle Scholar
Andersson, D., Berger, T. and Prawitz, E. (2023) Making a market: infrastructure, integration, and the rise of innovation. The Review of Economics and Statistics 105(2), 258274.CrossRefGoogle Scholar
Anes Álvarez, R. (1978) Relación entre el Ferrocarril y la Economía Española. En Los Ferrocarriles en España 1844–1943. Banco de España.Google Scholar
Atack, J., Haines, M. and Margo, R.A. (2008) Railroads and the Rise of the Factory: Evidence for the United States, 1850–70. National Bureau of Economic Research, WP number 14410.CrossRefGoogle Scholar
Banerjee, A., Duflo, E. and Qian, N. (2020) On the road: access to transportation infrastructure and economic growth in China. Journal of Development Economics 145, 102442.CrossRefGoogle Scholar
Berger, T. (2019) Railroads and Rural Industrialization: evidence from a historical policy experiment. Explorations in Economic History 74, 101277.CrossRefGoogle Scholar
Berger, T. and Enflo, K. (2017) Locomotives of local growth: the short- and long-term impact of railroads in Sweden. Journal of Urban Economics 98, 124138.CrossRefGoogle Scholar
Bogart, D. (2009) Turnpike trusts and property income: new evidence on the effects of transport improvements and legislation in eighteenth-century England. The Economic History Review 62(1), 128152.CrossRefGoogle Scholar
Bogart, D., You, X., Alvarez-Palau, E., Satchell, M. and Shaw-Taylor, L. (2021) Railways, divergence, and structural change in 19th century England and Wales. Journal of Urban Economics 128, 103390.CrossRefGoogle Scholar
Büchel, K. and Kyburz, S. (2020) Fast track to growth? Railway access, population growth and local displacement in 19th century Switzerland. Journal of Economic Geography 20(1), 155195.Google Scholar
Cartography Office, G.D. (2020) Historical Canadian Railroads [dataset]. Borealis. https://doi.org/10.5683/SP2/UCCFVQCrossRefGoogle Scholar
Casali, Y. and Heinimann, H.R. (2019) A topological analysis of growth in the Zurich road network. Computers, Environment and Urban Systems 75, 244253.CrossRefGoogle Scholar
Cuéllar, D. (MIMEO). Cronología de tramos electrificados en vía ancha [dataset].Google Scholar
De Soto, P. and Y Carreras Monfort, C. (2009) La movilidad en época romana en Hispania: Aplicaciones de análisis de redes (SIG) para el estudio diacrónico de las infraestructuras de transporte. Habis 40, 303324.Google Scholar
Díaz Pardo, F. (2023) Mapa de Infraestructura Ferroviaria de España [Map]. Available online at: https://imagizer.imageshack.com/img924/9489/geIgHr.jpgGoogle Scholar
Donaldson, D. (2018) Railroads of the Raj: estimating the impact of transportation infrastructure. American Economic Review 108(4-5), 899899.CrossRefGoogle Scholar
Esteban-Oliver, G. (2023) On the right track? Railways and population dynamics in Spain, 1860–1930. European Review of Economic History 27(4), 606633.CrossRefGoogle Scholar
Esteban-Oliver, G., Álvarez-Palau, E. and Martí-Henneberg, J. (MIMEO). Building a national market: Domestic integration and improvements in transport in 19th century Spain.Google Scholar
Esteban-Oliver, G. and Martí Henneberg, J. (2022) The expansion of the Spanish railway network (1848–1941): an analysis through the evolution of its companies. Revista De Historia Industrial — Industrial History Review 31(85), 87144.CrossRefGoogle Scholar
Fernández López, J. (MIMEO). Cronología de cierres de vía Estrecha [dataset].Google Scholar
Fernihough, A. and Lyons, R.C. (2022) Agglomeration and emigration: The economic impact of railways in post-Famine Ireland. QUCEH WP.Google Scholar
Forcano Catalán, A. (1948) Ferrocarriles en Explotación, Proyecto y Construcción en España y Portugal [Map]. Available online at: https://ffe.es/archivoybiblioteca/index.aspGoogle Scholar
Ganges, L.S. and Martí-Henneberg, J. (2023) The historical relationship between the railway and the City. In Martí-Henneberg, J. (ed). Creative Ways to Apply Historical GIS. Cham: Springer International Publishing, pp. 115133.CrossRefGoogle Scholar
García Álvarez, A. (2007) La doble vía en España y el sentido de la circulación por ella. Fundación de los Ferrocarriles Españoles.Google Scholar
García Raya, J. (2006) Cronología básica del ferrocarril español de vía ancha. Iv Congreso de Historia Ferroviaria.Google Scholar
Garcia-López, M.À., Herranz-Loncán, A., Tassinari, F. and Viladecans-Marsal, E. (2023) Paving the way to modern growth: the Spanish Bourbon roads. Explorations in Economic History 90, 101544.CrossRefGoogle Scholar
Groote, P. (2020) GIS dataset of Italian railway development, 1839–1913 (by Carlo Ciccarelli and Peter Groote) [dataset]. Mendeley. https://doi.org/10.17632/RJWCCJGY7Z.1CrossRefGoogle Scholar
Hornung, E. (2015) Railroads and growth in Prussia. Journal of the European Economic Association 13(4), 699736.CrossRefGoogle Scholar
Imedio, J. (1958) Mapa de Ferrocarriles de España y Portugal [Map]. Available online at: https://ffe.es/archivoybiblioteca/index.aspGoogle Scholar
Kaim, D., Taczanowski, J., Szwagrzyk, M. and Ostafin, K. (2020) Railway network of Galicia and Austrian Silesia (1847–1914). Journal of Maps 16(1), 132137.CrossRefGoogle Scholar
Knowles, A.K. and Healey, R.G. (2005) Geography, timing, and technology: A GIS-based analysis of Pennsylvania's iron industry, 1825–1875. Journal of Economic History 66(3), 608637.Google Scholar
Martí-Henneberg, J. (2013) European integration and national models for railway networks (1840–2010). Journal of Transport Geography 26, 126138.CrossRefGoogle Scholar
Martí-Henneberg, J. (2017) El ferrocarril y la ciudad en la encrucijada: Paisaje urbano y patrimonio industrial en el entorno de las estaciones de la Península Ibérica, 1850–2017 (EstaciónDigital) [dataset]. https://www.fbbva.es/equipo/ferrocarril-la-ciudad-la-encrucijada-paisaje-urbano-patrimonio-industrial-entorno-las-estaciones-la-peninsula-iberica-1850-2017-estaciondigital/Google Scholar
Martí-Henneberg, J. (2023) The expansion of railways in Europe. En Martí-Henneberg, J. (ed.), Creative Ways to Apply Historical GIS. Cham: Springer International Publishing, pp. 4151, 4.CrossRefGoogle Scholar
Marti-Henneberg, J., Satchell, M., You, X., Shaw-Taylor, L. and Wrigley, E.A. (2018) 1861 England, Wales and Scotland Rail Lines. UK Data Archive.Google Scholar
Mohedas García, C. and Y Miguel Cámara, J. (2009) El Ferrocarril del Tajuña. La Compañía del Madrid-Aragón. Los trenes de la Poveda. El Metropolitano de Arganda (L. Prieto, Ed.).Google Scholar
Morilla-Critz, J. (1984) El ferrocarril de Córdoba a la cuenca hullera de Espiel y Belmez (1852–1880. Revista de Historia Economica—Journal of Iberian and Latin American Economic History 2(1), 84104.Google Scholar
Morillas-Torné, M. (2012) Creation of a geo-spatial database to analyse Railways in Europe (1830–2010). A Historical GIS Approach. Journal of Geographic Information System 04(02), 176187.CrossRefGoogle Scholar
Morillas-Torné, M. (2014) El ferrocarril de vía estrecha en España, 1852–2010. El papel de la intermodalidad y de la demanda en su construcción y estado actual. Scripta Nova: Revista electrónica de geografía y ciencias sociales XXIII(485), 463499.Google Scholar
Muñoz Rubio, M., Sanz Fernández, J. and Y Vidal Olivares, J. (1999) Siglo y medio del ferrocarril en España 1848–1998. Economía, Industria y Sociedad. Fundación de los Ferrocarriles Españoles.Google Scholar
Olaizola Elordi, J.J. (2005) La tracción eléctrica en la vía estrecha española (1902–2003). En Historia de los Ferrocarriles de Vía Estrecha en España (Vol. 2). Fundación de los Ferrocarriles Españoles.Google Scholar
Pablo-Martí, F., Alañón-Pardo, Á. and Sánchez, A. (2021) Complex networks to understand the past: the case of roads in Bourbon Spain. Cliometrica 15(3), 477534.CrossRefGoogle ScholarPubMed
Perís Torner, J. (2007) Ferrocarriles de España [dataset]. Available online at: https://www.spanishrailway.com/Google Scholar
Perret, J., Gribaudi, M. and Barthelemy, M. (2015) Roads and cities of 18th century France. Scientific Data 2(1), 150048.CrossRefGoogle ScholarPubMed
Pinho, P. and Oliveira, V. (2009) Cartographic analysis in urban morphology. Environment and Planning B: Planning and Design 36(1), 107127.CrossRefGoogle Scholar
Purcar, C. (2010) On the wrong side of the track: Railways as urban boundaries in the towns of the First Transylvanian Railway. Urban History 37(1), 6689.CrossRefGoogle Scholar
Sierra, A. (2010) Estaciones y Líneas del Ferrocarril de España [dataset]. Available online at: https://www.forotrenes.com/foro/viewtopic.php?f=9andt=13763Google Scholar
Thévenin, T., Schwartz, R. and Sapet, L. (2013) Mapping the distortions in time and space: the French railway network 1830–1930. Historical Methods 46(3), 134143.CrossRefGoogle Scholar
Turner, H., Lahoorpoor, B. and Levinson, D.M. (2023) Creating a dataset of historic roads in Sydney from scanned maps. Scientific Data 10(1), 683.CrossRefGoogle ScholarPubMed
Wang, S., Yu, D., Kwan, M.-P., Zhou, H., Li, Y. and Miao, H. (2019) The evolution and growth patterns of the road network in a medium-sized developing city: a historical investigation of Changchun, China, from 1912 to 2017. Sustainability 11(19), 5307.CrossRefGoogle Scholar
Figure 0

Figure 1. Percentage of electrification and double-track lines in Spain, 1848–2023.Source: Own research.

Figure 1

Table 1. Description of variables relating to railway stations and halts

Figure 2

Table 2. Variables used to describe sections of track

Figure 3

Figure 2. Railway lines and stations in Barcelona, 1855 and 1930.Notes: The map shows the Iberian and narrow (dotted) railway lines and stations in Barcelona.Sources: Own research and Martí-Henneberg (2017).

Figure 4

Figure 3. Railway map of Spain and Portugal (1958).Source: Instituto de Transporte.

Figure 5

Figure 4. Electrification and double-track lines in Spain (1958).Sources: Own research.

Figure 6

Figure 5. Cumulative number of km of Iberian and narrow-gauge lines in Spain, by year, (1848–2013).Notes: The left axis shows total km of track. The data relating to the annual evolution in terms of kilometres of line refer to the total extension of the network without considering the additional mileage implicit in double-track.Source: Own research, Alvarez, 1978, pp. 485 and 486 and Morillas-Torné, 2014, Figure 1.

Figure 7

Figure 6. Spanish railway infrastructure in the years 1877, 1910, 1958 and 2023.Notes: The continuous line shows the Iberian-gauge track, while the dotted lines show narrow-gauge railways. The blue lines represent electrified lines. Double lines represent double-track railways. Purple lines depict high-speed railways. See also Figure 4 legend.Source: Own research.