Introduction

Creating liveable, sustainable cities is an essential objective of urban planning. Specifically, one of the 17 goals of sustainable development (SDG) established by the United Nations for its 2030 Agenda (objective 11), mentions cities that are inclusive, safe, resilient, and sustainable. In consonance with this goal, the New Urban Agenda by the U.N. (United Nations, 2017) and the Urban Agenda for the EU (European Commission, 2019) were both passed in 2016. Spain published its own urban agenda (Spanish Ministry of Development, 2019), which was conceived of as a strategic document in line with its international counterparts. This mission statement acts as a reference framework for Spanish urban areas and proposes various policies, which are at once economic, social, and environmental.

These institutional goals are also reflected in the academic literature published over the last decade. Numerous studies have been carried out that analyse the various concepts that go to make up the idea of liveability (Morais et al., 2013; Saitluanga, 2014; Nissi & Sarra, 2016; Fu et al., 2019; Valcárcel-Aguiar & Murias, 2019) and environmental sustainability (Mcpherson et al., 2013; Kilkis, 2016; Zhang & Zhou, 2018) separately. However, in recent years, different authors have suggested that both of these concepts should be integrated into one overarching idea (Bithas & Christofakis, 2006; Mori et al., 2015; Zanella et al., 2015; Valcárcel-Aguiar et al., 2019) so that liveability becomes something durable in the long term.

However, this integration process is no simple matter. Liveability and sustainability contain markedly distinct elements, which may clash with one another. This, in turn, might impede simultaneous improvements in both indicators, (Ruth & Franklin, 2014; Gough, 2015). These difficulties impact the decision-making process, since the decisions that are taken in one sphere may have unpredictable effects on the other. Therefore, there is an imperative to empirically understand the relationship that exists between both concepts, particularly since there are hardly any studies that attempt to do so.

In the specific case of Spanish cities, it is often alluded to that their compact nature has helped to make them highly liveable without significantly affecting the environment (Rueda, 2012). However, in recent years cities have been growing whilst becoming more dispersed in nature, which has meant a cost in terms of environmental sustainability (the Ministry of the Environment, and Rural and Marine Environment and the Ministry of Development, 2011). This relatively recent change in the traditional patterns of population settlements makes it increasingly important to analyse how liveability and sustainability are related within the sphere of Spanish urban areas, especially since there appear to be no such academic studies that closely dissect this dynamic.

Within this context, the present work aims to analyse the relationship between liveability and environmental sustainability in Spanish urban areas. To do so, we propose two synthetic indicators: one for liveability and another for environmental sustainability in urban areas. Each of these indicators will be aggregated by using a technique based on goal programming. The construction of these indicators allows us to carry out a bivariate analysis that aims to reflect how Spanish cities are performing in terms of these attributes.

While the conclusions obtained from a study of this kind are limited by the specific nature of the geographical sample, it is still feasible to obtain a relatively precise characterization of Spanish cities concerning their levels of liveability and urban sustainability and this, in turn, will provide a broader understanding of the complex relationships that exist between these two concepts. Also, this analysis should prove useful for those developing and implementing urban planning policy in cities in which one or both of these factors is considered to be sub-optimal. Thus, by using “reference” cities, i.e., cities that are similar in terms of profile, it is possible to carry out a benchmarking analysis, estimating the margins by which one of these attributes may be improved, without impinging negatively on the other. This benchmarking analysis also allows us to know the specific dimensions of liveability or sustainability that have the greatest possibilities for improvement in those cities.

The study is divided into five sections, followed by some conclusions. The second of these contains the theoretical foundations of the relationship that exists between the concepts of liveability and sustainability. This section focuses on aspects that concern the estimation of these two concepts, with particular emphasis on the overlapping of common features like the abstract and multidimensional nature of the same. The third section focuses on the synthetic indicators and the goal programming methodology used to estimate both liveability and sustainability. ‘Relationship between liveability and environmental sustainability in Spanish cities’ analyses the liveability and sustainability of 44 Spanish cities using the aforementioned methodology. The results of the study are contained in ‘Results’, together with their potential utility for urban planners. The final section presents the conclusions.

Theoretical Framework

The relationship between the notions of liveability and sustainability has been implicitly, theoretically studied in the urban literature (Newman, 1999; Shafer et al., 2000; van Kamp et al., 2003). Nevertheless, this relationship didn’t become an object of study in and of itself until the article published by Godschalk in 2004 in the Journal of the American Planning Association. As a starting point, this article takes the work of Campbell (1996) which highlights some of the contradictions within the goals of sustainable development, specifically, economic, social, and environmental objectives. Godschalk introduces the idea of liveability and presents three new relationships defined by the conflict that exists between liveability and the above-cited objectives. These are as follows: the growth management conflict, or the tension between economic growth and liveability; the conflict defined by gentrification, that is, social equity and liveability; and the green cities conflict, i.e., the natural environment and liveability.

After the publication of the above article, there have been many contributions that deal with the relationship between liveability and urban sustainability from a theoretical perspective (Howley et al., 2009; Allen, 2010; de Chazal, 2010; Newton, 2012; de Haan et al., 2014; Ruth & Franklin, 2014; Gough, 2015; van Assche et al., 2010). In this sense, while the majority of these articles have focused on the areas of conflict that exist between these two concepts, they also tend to point out areas in which the two ideas overlap or share common ground.

In this vane, liveability and sustainability are both abstract, multidimensional constructs that attempt to say something about the relationship that exists between the population and the urban environment (van Kamp et al., 2003; de Chazal, 2010). They are both concepts that are popular with urban planners, particularly since they represent values and behaviours to which society as a whole tends to subscribe (de Haan et al., 2014; Gough, 2015). It is precisely this wide usage of the two concepts and their abstract nature that has generated so much confusion relative to their exact meanings, to such an extent that they are often used synonymously despite describing different realities (Veenhoven, 2000). Certain authors have focused on the different sources of conflict between the concepts of liveability and sustainability.

In the literature, the most salient of these sources of friction is perhaps the temporal horizon used by each (Gough, 2015). Specifically, liveability focuses on the more immediate needs of the population. For this reason, some authors such as de Haan et al. (2014) mention the anthropocentric nature of the notion of liveability. Sustainability, on the other hand, normally deals with a longer-term temporal horizon, since its focus lies on the needs of future populations. It should be underlined, however, that the satisfaction of these future needs makes it indispensable to fulfil certain minimum biological requirements in the present (Newman, 1999; Bithas & Christofakis, 2006). It is precisely for this reason that many authors focus on the environmental aspect of sustainability (Bithas & Christofakis, 2006; Newton, 2012; Ruth & Franklin, 2014), adopting, therefore, an “ecocentric” focus (de Haan et al., 2014).

This difference in the temporal horizon used to study liveability and sustainability is largely responsible for the leverage exerted by each when it comes to policy interventions (Allen, 2010; de Haan et al., 2014; Gough, 2015). In this sense, the emphasis on the present needs of urban dwellers inherent in the concept of liveability, needs that are more tangible and identifiable, makes the concept more attractive for public policymakers anxious to improve the public domain. Fundamentally there are two reasons for this. First, the potential benefits of these policies are perceived more clearly and more immediately by the general population (de Haan et al., 2014). Second, the higher specificity of the concept of liveability also makes it easier to apply policy strategies than when dealing with sustainability, which is much more abstract and difficult to operationalize (Gough, 2015).

In short, for the above reasons, policymakers and politicians often focus on strategies that aim to improve living conditions in the short-term rather than prioritizing their long-term sustainability. As a consequence, it might be that certain urban societies temporarily experience high levels of liveability at the expense of high levels of environmental decline (Ruth & Franklin, 2014).

Despite numerous theoretical efforts to differentiate and ring-fence notions of liveability and sustainability, there is a dearth of empirical literature that examines the relationship between the two. As far as we know, only Newton (2012) has analysed the relationship between liveability and environmental sustainability, specifically for big cities all over the world. Despite using data on a national level to estimate urban sustainability, the results of this work allow us to intuit that cities that have high levels of liveability, have low levels of environmental sustainability. This study tries to analyse the relationship between both concepts by examining Spanish cities. To do so, we must start by looking at the commonly accepted definitions of both concepts.

There is reasonable consensus as to a theoretical definition of urban liveability. In 2012 Newton defined the concept as a group of specific attributes of urban localization that contribute to an increase in the level of the individual’s quality of life and the wellbeing of a society. Similarly, Gough (2015) interprets the liveability of a city to be the sum of the characteristics, both physical and social, of a particular place, that contribute to an improved quality of life for its inhabitants.

Concerning the “fuzzy” nature of environmental sustainability, there are important differences when defining the concept. Some analysts feel that the concept goes beyond the natural capital that is within reach of a city’s inhabitants and the specific impact of these on the region in which they are located (Newton, 2012). Other analysts, such as Bettencourt and West (2010), consider that this kind of study should be framed in terms of local considerations. The analysis contained in this paper falls into the latter category. We take as our starting point the definition of environmental sustainability set out by Bithas and Christofakis (2006), in which the natural and biological existence of urban systems and the maintenance of their essential natural functions are assured. They add that, for this to occur, it is necessary to consider certain biological and environmental minimums. In this way, we hope to evaluate the negative impact that cities exert upon the environment, both in terms of the consumption of resources and in assimilating waste, whilst taking into account the necessity of establishing certain limits.

As highlighted above, the concepts of liveability and environmental sustainability are both multidimensional and abstract, which makes their quantification difficult and the direct measurement thereof, impossible. Within this context, the methodology of synthetic indicators is particularly useful to estimate this kind of concept. This is because they facilitate the evaluation of the various dimensions that go to make up the two concepts by using empirical variables, known as partial indicators. These variables are subsequently weighted and then aggregated into a single indicator.

This methodology has numerous advantages for those making urban planning decisions. It allows them to bring together many of the elements of a complex reality and translate these into a single indicator, which is easier to interpret than a whole set of individual indicators. The suitability of this methodology as a means of evaluating the concepts that underlie this analysis is reflected in its widespread usage in literature in which urban liveability is assessed using synthetic indicators (Wang et al., 2011; Morais et al., 2013; Saitluanga, 2014; Nissi & Sarra, 2016; u et al., 2019) and for the sustainability of cities (Kilkis, 2016; Zhang & Zhou, 2018). Many authors have already focused on Spanish cities, estimating either liveability or sustainability using this methodology (Royuela et al., 2003; González et al., 2011; Reig-Martínez, 2016; Lozano-Oyola et al., 2019; Valcárcel-Aguiar & Murias, 2019; Valcárcel-Aguiar et al., 2019; Rama et al., 2020).

This article uses synthetic indicators to analyse the relationship that exists between the two concepts in the case of Spanish cities. To this end, we first attempt to identify the theoretical dimensions that go to make up the concepts being evaluated to elaborate on the indicator.

This study takes as its starting point the concept of urban liveability, which is made up of three basic dimensions, those that are most often considered in analyses of a similar kind (Shafer et al., 2000; Santos & Martins, 2007; Das, 2008). Figure 1 shows the dimensions that make up the concept of urban liveability.

Fig. 1
figure 1

Dimensions of urban liveability

It should be underlined that there is more than one way of achieving urban liveability. Although it is probably beneficial for there to be a certain balance among the dimensions that make up the concept (Shafer et al., 2000), it is still possible that different cities might be able to attain relatively good levels of liveability by emphasizing specific urban dimensions, which would partially make up for others that had a greater margin for improvement.

With respect to environmental sustainability, the theoretical framework of sustainability proposed in this study is based on the idea that urban agglomerations harm the natural environment (Berry, 1990), which, in turn, is the basis upon which the urban ecosystem develops. This impact takes the form of the excessive consumption of natural resources and an increase in the number and quantity of pollutants and waste that are generated. In consonance with these considerations, environmental sustainability is made up of three dimensions: air quality, the generation of waste, and the consumption of resources. Figure 2 represents the theoretical framework for environmental sustainability.

Fig. 2
figure 2

Dimensions of urban environmental sustainability

In this sense, and to ensure the viability of cities in the future, it is essential that the impact of urban activity in each of the dimensions of environmental sustainability does not exceed certain limits that are normally considered to be critical. Because of this, we consider it to be necessary to take a strong approach to sustainability in such a way that any negative performance in one of the aspects cannot be compensated for by an improvement in one of the others.

All of the dimensions of liveability and sustainability and the possibility of introducing some kind of compensatory mechanism, via which a negative score in one could be offset by a positive score in another, should be taken into consideration when estimating the synthetic indicators that are designed to measure both concepts. Based on these considerations, the aggregation of the partial indicators should be carried out utilizing a technique that allows us to consider a compensatory framework for urban liveability, but non-compensatory for environmental sustainability.

The aggregation, based on goal programming, is particularly suitable for this kind of scenario. On the one hand, this aggregation technique allows us to contemplate both the balance and the imbalance that might exist among the different partial indicators. On the other, the technique uses the concept of aspiration level, which is a concept with which urban planners are familiar. They create a representation of what planners and policymakers consider to be desirable levels for each of the indicators. As a consequence, indicators that are based on goal programming allow managers to incorporate aspiration levels for each of the variables used. This then helps to identify the objectives that should be reached and, when relevant, any deviation from said goals. Also, the results of the application are very simple to interpret and compare and offer numerous possibilities for their subsequent analysis such as benchmarking, which allows those cities with poorer levels of development to learn from the better performing cities.

Goal Programming and the Elaboration of Synthetic Indicators

The application of goal programming to the estimation of synthetic indicators has its origins in the article of Díaz-Balteiro and Romero (2004). Following this research, the goal concept was applied to the construction of composite indicators in an article by Blancas et al. (2010), albeit not as an optimisation process. The diverse advantages of this aggregation technique explain the fact that it had been used in several works in various fields (Lozano-Oyola et al., 2012; Molinos-Senante et al., 2016; Pérez et al., 2016; Blancas et al., 2018; Valcárcel-Aguiar and Murias, 2019; Valcárcel-Aguiar et al., 2019; Murias et al., 2020).

As it was explained, the aggregation of indicators based on goal programming used in this article does not involve an optimization procedure, so it is not necessary to define an objective function. This technique aggregates the deviation variables concerning aspiration levels. These aspiration levels will be defined for each partial indicator, and they represent an acceptable level of attainment for each partial indicator.

It is assumed that there is a series of N units, which are to be evaluated using M partial indicators: L positive partial indicators (the higher the value the better) and K negative partial indicators (or the lower the value the better), whereby L + K = M.

For each unit, there is a series of values for each of the partial indicators which aim to approximate the concept dimensions. The definitions are, therefore, as follows:

$$\text{X}_\text{il}^+=\text{value}\;\text{of}\;\text{positive}\;\text{partial}\;\text{indicator}\;\textit{l}\;\text{for}\;\text{unit}\;\textit{i}\quad\forall\textit{l}\mathit\;\textit{l}=1,2,\dots,\textit{L}\quad\forall\textit{i}\mathit\;\textit{i}=1,2,\dots,\textit{N}$$
$$\text{X}_\text{ik}^-=\text{value}\;\text{of}\;\text{negative}\;\text{partial}\;\text{indicator}\;\textit{k}\;\text{for}\;\text{unit}\;i\quad\forall k\;k=1,2,\dots,K\quad\forall i\;i=1,2,\dots,N$$
$$\mu_\text{l}^+=\text{aspiration}\;\text{level}\;\text{for}\;\text{positive}\;\text{partial}\;\text{indicator}\;\textit{l}\quad\forall\textit{l}\mathit\;\textit{l}=1,2,\dots,L$$
$$\mu_\text{k}^-=\text{aspiration}\;\text{level}\;\text{for}\;\text{negative}\;\text{partial}\;\text{indicator}\;\textit{k}\quad\forall\textit{k}\;\textit{k}=1,2,\dots,K$$

Associated with each partial indicator and aspiration level, we can define a goal using the deviation variables. These represent the difference between the value of a partial indicator and its corresponding aspiration level, so they can be positive (p) or negative (n).

The interpretation of the deviation variables will depend on the type of partial indicator (positive or negative). In the case of a positive partial indicator \({\text{X}}_{{{\text{il}}}}^{ + }\), the variable \({\text{n}}_{{{\text{il}}}}^{ + }\) would be undesirable, since it would express a weakness in the partial indicator, while the variable \({\text{p}}_{{{\text{il}}}}^{ + }\) would be desirable since it would indicate a strength. As a result, the goals can be formulated as follows:

$$\text{X}_\text{il}^++\text{n}_\text{il}^+-\text{p}_\text{il}^+=\mu_\text{l}^+,\quad\text{where}\;\text{n}_\text{il}^+,\;\text{p}_\text{il}^+\geq0;\quad\text{n}_\text{il}^+\cdot\text{p}_\text{il}^+=0\quad\forall\textit{l}\;\textit{l}=1,2,\dots,\textit{L}$$

In contrast, in the case of a negative partial indicator \({\text{X}}_{{{\text{ik}}}}^{ - }\) the deviation variable \({\text{p}}_{{{\text{ik}}}}^{ - }\) would be undesirable, since it expresses a weakness in this partial indicator, while \({\text{n}}_{{{\text{ik}}}}^{ - }\) would be desirable, expressing a strength. As such, the goals can be formulated as follows:

$$\text{X}_\text{ik}^-+\text{n}_\text{ik}^--\text{p}_\text{ik}^-=\mu_\text{l}^-,\quad\text{where}\;\text{n}_\text{ik}^-,\;\text{p}_\text{ik}^-\geq0;\quad\text{n}_\text{ik}^-\cdot\text{p}_\text{ik}^-=0\quad\forall\textit{k}\;\textit{k}=1,2,\dots,\textit{K}$$

Henceforth, to avoid any confusion caused by the type of partial indicators in the interpretation of the deviation variables, we will refer to desirable deviation variables or strengths, and to undesirable deviation variables or weaknesses. The strengths are expressed as Sim and consist of the positive deviation variables \({\text{p}}_{{{\text{il}}}}^{ + }\) in the case of positive partial indicators and the negative deviation variables \({\text{n}}_{{{\text{ik}}}}^{ - }\) in the case of negative partial indicators. The weaknesses are expressed as Wim and consist of the negative deviation variables \({\text{n}}_{{{\text{il}}}}^{ + }\) in the case of positive partial indicators and the positive deviation variables \({\text{p}}_{{{\text{ik}}}}^{ - }\) in the case of negative partial indicators.

It should be noted that the deviation variables might be difficult to compare since the partial indicators can be measured on different scales. To remedy this, the deviation variables will be expressed in relative terms: as a percentage of their corresponding aspiration levels.

Once the deviation variables have a common scale they must be weighted according to the importance of partial indicators. Weighting is a delicate stage in the process of constructing a synthetic indicator. An accurate assignation of weights would require a strong agreement among stakeholders. However, it is not always possible to reach this agreement, and from an analytical point of view different strategies are used, such as identical weights, or resorting to the use of quantitative methods. These methods can be statistical techniques without using expert opinion, or techniques that do involve interaction with experts or stakeholders, eventually recurring to the support of Multicriteria Decision Analysis methods.

After assigning the weights (\({\omega }_{m})\), the deviation variables can be aggregated into a single synthetic indicator as it is expressed below:

$${SI}_{i}= \sum_{m=1}^{M}\frac{{\omega }_{m}\left({S}_{im}-{W}_{im}\right)}{{\mu }_{m}} \forall i=\mathrm{1,2},\dots , N$$
$$where \sum_{m=1}^{M}{\omega }_{m}=1$$

The aggregation of the partial indicators allows us to globally assess the performance of each unit with respect to the aspiration levels previously defined.

Relationship Between Liveability and Environmental Sustainability in Spanish Cities

The layout of most Spanish cities is consistent with the Mediterranean urban model whose structure is traditionally compact. Certain authors have pointed out that this characteristic is largely responsible for high levels of liveability without having significant environmental consequences (Rueda, 2012). However, the economic and demographic dynamism of the second half of the 20th century and, in particular, the real estate boom that reached its peak at about the turn of the century, has favoured more dispersed urban growth. This has led to serious deficiencies in environmental sustainability (Spanish Ministry of the Environment, and Rural and Marine Environment and the Ministry of Development, 2011; García, 2016).

In this sense, the models of urban development that are more widely scattered and characterized by lower population densities, are generally less economically and environmentally efficient because of higher energy requirements, the construction and maintenance costs of their infrastructure, and the costs of providing public services (Spanish Ministry of Development, 2019). These models increase physical distances between destinations, which often makes using private transport unavoidable, a dynamic that impinges negatively on urban sustainability (IDAE, 2008).

It should also be mentioned that Spain is a country that is especially susceptible to the effects of climate change (Estrela et al., 2012), a phenomenon affected by the activity taking place in urban areas, whose consequences subsequently impact living conditions. Therefore, improving the liveability of the cities should not be undertaken without considering how these improvements might affect the environment and how achieving some kind of balance might be possible.

Within this context, and with a view to improvements in the urban planning of Spanish cities, analysing the relationship that exists between liveability and urban sustainability using specifically urban indicators that respect the theoretical requirements for each of the concepts is of great utility. Also, this analysis constitutes a basis upon which to replicate studies that look at the urban contexts that exist in other countries. This would provide further evidence to bolster the theoretical debate taking place concerning this dynamic.

The relationship between urban liveability and environmental sustainability is studied by analysing 44 Spanish cities which are provincial capitals and or the capitals of the autonomous regions. To do so, we compare the results obtained in the two synthetic indicators calculated by using the theoretical framework presented in ‘Theoretical Framework’ and the aggregation technique given in ‘Goal Programming and the Elaboration of Synthetic Indicators’.

We now go on to briefly develop some of the most relevant aspects of the estimation of the synthetic indicators for the case of Spanish cities.

Urban Liveability Index (ULI)

The synthetic index for urban liveability used in this article is based on that which is calculated by Valcárcel-Aguiar and Murias (2019), which is called Urban Liveability Index (ULI). These authors take as their starting point the three dimensions set out in the theoretical framework: economic, social, and physical. Since these are very wide-ranging dimensions, the authors also consider more specific subdimensions gleaned from a revision of previous works. These subdimensions will be estimated by using a series of objective partial indicators; these can be seen in Table 1.

Table 1 List of partial indicators for the ULI and data sources

The key statistics of partial indicators considered for the ULI in this case of study are presented in Table 2.

Table 2 Descriptive statistics of partial indicators for the ULI

The synthetic index will be elaborated by using the goal programming technique as a linear aggregation of the previously weighted relative strengths and weaknesses. Weighting and aspiration levels must be established beforehand by the urban planner in accordance with the characteristics and objectives of the cities being assessed.

$${ULI}_{i}= \sum_{m=1}^{13}\frac{{\omega }_{m}\left({S}_{im-}{W}_{im}\right)}{{\mu }_{m}} \forall i=\mathrm{1,2},\dots , 44$$

In the case of the Spanish cities analysed, the choice of the weighting system was conditioned by different factors. Some authors highlight the need for a balance between the economic, social, and physical dimensions (Shafer et al., 2000). Besides, in the absence of external information from experts or policy makers of what could be the more suitable weighting scheme, the use of identical weights allows to obtain a first approach of the performance of these cities in terms of liveability. For this reason, we have chosen to assign identical weights to the three main dimensions of liveability, which are shared equally among the partial indicators of which these dimensions are constituted. This choice is made without prejudice to the future inclusion of more precise information derived from expert opinion.

With respect to aspiration levels, given that there is no universally agreed-upon normative or expert criteria, these have been established in accordance with empirical analysis (Cicerchia, 1999). In particular, and in line with other works (Blancas et al., 2010; Valcárcel-Aguiar & Murias, 2019; Valcárcel-Aguiar et al., 2019), the aspiration level assigned for each of the 13 partial indicators was the arithmetical mean of the observations for the 44 Spanish cities analysed.

Environmental Sustainability Index (ESI)

To approximate environmental sustainability, an index is proposed which we shall simply call the Environmental Sustainability Index (ESI). Based on the theoretical framework introduced in ‘Theoretical Framework’, the ESI will be made up of three dimensions: air quality, generation of waste, and the consumption of resources. Each of these dimensions will be approximated by using a partial indicator, as is shown in Table 3.

Table 3 List of partial indicators for the ESI and data sources

As in the case of the Urban Liveability Index, the main statistics of partial indicators considered for the Environmental Sustainability Index are summarised below (Table 4).

Table 4 Descriptive statistics of partial indicators for the ESI

It should be underlined that the dimensions that make up the concept of environmental sustainability are essential for the continuity of consumption and production processes in urban areas, and human life in general (Dietz & Neumayer, 2007; Ekins et al., 2003). For this reason, to better approximate the concept, it is necessary to consider certain minimum environmental requirements for each of these dimensions to guarantee environmental sustainability (Bithas & Christofakis, 2006; Mori et al., 2015).

Again, goal programming will be used in order to aggregate the partial indicators of environmental sustainability. Nevertheless, since this article rests upon the idea of strong sustainability, it is necessary to use a non-compensatory approach. Hence, if a city has no weaknesses reflected in any of the partial indicators for environmental sustainability, the score for the synthetic indicator will be the weighted sum of the relative strengths. However, if a city has weaknesses at least in one of the partial indicators, the score for the synthetic indicator will be the weighted sum of the relative weaknesses and will have a negative sign.

$${ESI}_i=\left\{\begin{array}{c}\sum_{m=1}^3\frac{\omega_m{\cdot S}_{im}}{\mu_m}if\sum\nolimits_{m=1}^3W_{im}=0\\-\sum_{m=1}^3\frac{\omega_m{\cdot W}_{im}}{\mu_m}if\sum\nolimits_{m=1}^3W_{im}\neq0\end{array}\right.\quad\forall i=1,2,\dots,44$$

As with the previous synthetic indicator, all of the dimensions are assigned identical weightings, ensuring that all of the partial indicators have the same weights. With regard to the establishment of the aspiration levels, certain external reference points can be incorporated into the indicators. In the indicator labelled “mean annual concentration of PM10” a level of 40 mcg/m3 was established, this being a maximum level set by European Directive 2008/50/CE of the European Parliament and its Council on the 21st of May 2008. The aspiration level for the indicator entitled “generation of solid waste per inhabitant” was set at 1.4 kg of solid waste per inhabitant per day, and the “domestic electricity consumption per inhabitant” was set at 10 MWh per person per year, maximum outputs recommended by the Spanish Ministry of the Environment and Rural and Marine Affairs (2010) in the publication Municipal System of Sustainability Indicators.

Results

Table 5 presents the values for the synthetic indicators of liveability and urban sustainability for the 44 cities analysed.

Table 5 Scores for the ULI and the ESI for the cities analysed

As can be seen, the urban liveability index (ULI) contains positive values for some of the cities and negative values for others. To the extent that the construction of this indicator allows us to balance strengths and weaknesses, the value or score will be positive when the strengths outweigh the weaknesses, and vice-versa. Therefore, the greater the score obtained by a city, the greater the liveability for the residents.

The environmental sustainability index (ESI) can also contain both positive and negative values. However, in contrast to the liveability index, there is no compensatory mechanism to balance the strengths and weaknesses that compose the ESI. As a consequence, a positive value in the indicator reflects that the city has strengths in all of its partial indicators. The higher the score for each city, the greater the environmental sustainability. In contrast, negative values in the index indicate the existence of weaknesses in at least one of the partial indicators. Similarly, the lower the value of the indicator, the greater the city’s unsustainability.

Using the information gleaned from both of the synthetic indicators and, to study the relationship between liveability and urban sustainability, we carry out a bivariate analysis, which allows us to classify the 44 Spanish cities into four groups. These groups divide the sample according to whether the analysis finds the cities to be sustainable or not, and their level of liveability compared to the mean score for the whole of the sample. These results can be seen in Fig. 3.

Fig. 3
figure 3

Bivariate analysis of the cities according to urban sustainability and liveability

The cities in group I, located in the first quadrant of the graph, are the best performers: they fulfil the minimum environmental requirements for the three partial indicators that make up the environmental sustainability index while, at the same time, performing better than average in those aspects that relate exclusively to liveability. In this sense, the policies and practices carried out in the cities that fall into this group should be seen as an example for the cities in the other groups.

Specifically, group I contains 19 cities, most of which are located in the North of Spain. With the two exceptions of A Coruña and Donostia/San Sebastián, all are inland. Most of the cities are rather small (fewer than 300,000 inhabitants), except for Zaragoza. The distribution pattern for the cities in group I, based on the typology of their functional urban areas (ESPON, 2003),Footnote 1 differs very little from the sample as a whole. However, on looking at the economic characteristics of the functional areas (ESPON, 2003) of which these cities form part, it is highly significant that of the five highly industrialized cities in the sample, three are to be found in this group: Donostia, Pamplona, and Vitoria.

The cities that perform worst are those contained in group III, which is represented by the third quadrant. These cities, besides being “unsustainable”, perform worse than average on the liveability index. Hence, the margin for improvement for this group of cities is substantial.

Geographically, all of the latter cities are to be found in the south and east coast regions. The mean population size of these cities is over 700,000, indicating that they are clearly large compared to the rest of the sample. Specifically, this city-profile is linked to a separate category within the Spanish urban system, since these areas are MEGAs and functional national or transnational areas, following the ESPON categories.

Group IV corresponds to the fourth quadrant and contains five cities: Girona, Guadalajara, Santander, Santiago de Compostela, and Toledo. The cities within this group have scores that are higher than the mean in terms of urban liveability but fail to satisfy the minimum environmental conditions established by the analysis.

In contrast to groups I and III, there is no specific pattern to the geographical distribution for group IV. However, in terms of population, the cities in the group may be considered to be quite small, and with the exception of Santander none of them has more than 100,000 inhabitants. Of these five small cities, three are at the head of local/regional functional areas and two are at the head of transnational/national functional areas. Most of the cities in this group are characterized by having diversified economic specializations.

Finally, group II, which represents the second quadrant, contains those cities that fulfil the minimum environmental requirements but have scores that are lower than average for the sample in liveability. This group contains 15 of the 44 cities in the sample. Most of these areas are located in the south and the east of Spain, although there are two cities from the north, Bilbao and Pontevedra, and also Madrid, in the centre of the peninsula. These cities have an average population above 450,000 inhabitants and most of them are at the head of transnational/national functional areas.

Those who manage the urban areas of the cities that belong to this group should focus on improving aspects of urban liveability that have weaknesses. Further, and in consonance with the findings of experts including Godschalk (2004), Howley et al. (2009), Allen (2010), Chazal (2010), Ruth and Franklin (2014) and Gough (2015), liveability and sustainability might be concepts that are effectively in conflict with each other, so any improvements in the conditions of liveability should be carried out whilst monitoring any possible impacts upon the evolution of sustainability.

In short, results show that cities belonging to regions of the north coast or inland have a better performance, being mostly sustainable and presenting liveability levels higher than average (group I). On the contrary, among the cities belonging to regions located on the eastern and southern coast of Spain, only two can be categorized in group I: Lleida, in the region of Catalonia, and Jaén, in the region of Andalusia.

In addition, and from a theoretical point of view, city size has demonstrated to have a relevance in the benefits and costs of agglomeration (Royuela & Suriñach, 2005) which determine urban liveability and sustainability. City size has also an important role in the contextualization of liveability and sustainability agendas (Way, 2016). Attending to city size, large cities in the sample seem to present worse results, especially in terms of the liveability they offer their citizens. Of these cities, only Zaragoza is placed among the cities of group I, which constitute a reference by obtaining in both indicators results above levels established for the bivariate analysis. Medium-sized cities (between 100,000 and 500,000 inhabitants) and small cities (less than 100,000 inhabitants) are represented in group I in a similar proportion to the general sample. However, in the case of medium-sized cities, the presence of group II cities (sustainable, but with liveability levels lower than average) stands out, and in the case of small cities, it is the presence of group IV cities (with liveability higher than average but not sustainable) which is considerable.

Finally, and closely related to population size issues, the city function may have an important role (Royuela & Suriñach, 2005). In this sense, the Spanish cities which are MEGA obtain poor results (three in group III and two in group II). Likewise, cities with transnational/national influence mostly show liveability levels lower than average. Among them, there are cities in group I (sustainable and liveable), although in a slightly lower proportion than that of the sample. On the contrary, almost three-quarters of the cities with regional/local influence belong to group I, potentially acting as a reference for cities that are not sustainable, or that present a level of liveability below the average.

Based on the classification of the cities into groups using bivariate analysis and on some of their characteristics, a benchmarking analysis should be particularly useful for urban planners in cities that fall into groups II and IV, i.e., those cities which have a bad performance in one of the two attributes tested (liveability or sustainability). Benchmarking allows urban planners the opportunity to find a city of group I (liveable and sustainable) which can act as a reference. Reference cities present a similar value in one of the attributes but they are clearly better in the other one, showing that it is possible to achieve better values in the latter attribute without sacrificing the good performance in the former one. Within this group of reference cities, we have opted to provide as an example the city that is more similar in some of the previously analysed characteristics, which are also discussed on the scientific literature, such as their population size or the relevance of their functional urban area (FUA) (Royuela & Suriñach, 2005; Way, 2016).

Reference cities allows cities in groups II and IV to estimate their margin for improvement in that attribute whose performance is poor, but without detriment to the attribute whose performance is acceptable. In a second stage of this analysis, it also allows urban planners in the cities that belong to groups II and IV to be aware of the specific dimensions of urban liveability or sustainability on which they should prioritize their efforts to improve.

In order to study the functioning of the benchmarking analysis, Table 6 shows some examples of cities from group II, i.e., cities which are sustainable, but they score below the mean in terms of liveability. For each of these, another city from group I was identified to act as a “reference” following the previously explained procedure. Therefore, the reference city presents a similar level of sustainability but a higher level of liveability than the city from group II, and they also share demographical and functional aspects. This analysis makes it possible to measure the margin for improvement in liveability in these cities in group II, without negatively affecting urban sustainability.

Table 6 Cities with a margin for improvement in liveability and some reference counterparts

Based on the information given in Table 6, it can be seen that for the cities in the sample, there is a significant margin for improvement in liveability. Such is the case of Murcia, which can be compared with A Coruña, or the case of Castellón when compared to its reference city of Vitoria. In other cities in the sample, the margins for improvement are even more important, because the reference cities with which they can be compared have urban liveability levels that are especially high. This is the case of Córdoba and Alicante, which may be compared to Pamplona (the city with the best ULI score), or the Andalusian cities of Huelva and Cádiz, which may be compared to the Basque reference city of Donostia/San Sebastián (the second most liveable city in terms of its ULI score which is also sustainable).

Benchmarking among the cities from group II and their reference cities might provide important qualitative information, enabling the former cities to become precisely aware of those areas of potential improvement in liveability and orientating planning and economic efforts accordingly. To illustrate the utility of this type of analysis, the cities of Cádiz and Huelva were selected, and the city of Donostia as their reference, as can be seen in Fig. 4.

Fig. 4
figure 4

Comparative analysis of the relative deviations of the partial indicators for urban sustainability and liveability. Donostia, Cádiz and Huelva

Figure 4 allows us to analyse the relative deviations from the aspiration level for each of the partial indicators of urban liveability and sustainability for the three cities. While the three partial indicators for urban sustainability for the three cities reflect similar strengths, the same is not true for the indicators of liveability. Specifically, both Cádiz and Huelva have significant weaknesses in the indicators for health infrastructure and unemployment, in contrast to Donostia where these are recorded as strengths. In addition to these indicators, the Andalusian city of Huelva has important weaknesses in the indicators for transport and leisure. In the latter indicator, Huelva has a wide margin for improvement when compared to Donostia, for which leisure is a considerable strength. Also, even if these cities which score particularly badly fulfil the aspiration levels for some indicators, there is often still a margin for improvement. For example, Cádiz fulfils the aspiration level for leisure infrastructure, but its reference city, Donostia, has strengths in this indicator which are proportionally even greater.

Table 7 echoes the results of Table 6, but in this case, the focus is on improving sustainability. Three cities from group IV are selected as an example. Therefore, these cities have liveability scores that are higher than average but fail to fulfil the minimum requirements for sustainability. Each of these cities was assigned a reference city whose population and area of urban influence are comparable. In the case of the reference cities, while the liveability scores were similar to those of their counterparts, they were, in contrast, deemed to be sustainable. It may be asserted that environmental sustainability should be the main objective for these group IV cities. Nevertheless, this analysis goes further since it informs urban planners and city administrators how to fulfil the minimum requirements for sustainability, without incurring high costs on liveability in the short-term.

Table 7 Cities with a margin for improvement in sustainability and some reference cities

As in the case of cities with a margin for improvement in liveability, which were previously analysed, benchmarking also allows to identify the environmental sustainability indicators for the cities that have a margin for improvement in this attribute. One example of this type of analysis is shown in Fig. 5 in which the comparative differences between A Coruña and Santander are highlighted.

Fig. 5
figure 5

Comparative analysis of the relative deviations of the partial indicators for urban sustainability and liveability. A Coruña and Santander

As with Fig. 4, Fig. 5 analyses the relative deviations with respect to the aspiration level registered by each of the partial indicators for urban liveability and sustainability. A Coruña and Santander have very similar ULI scores and very similar profiles regarding strengths and weaknesses expressed through each of the 13 partial ULI indicators. In terms of environmental sustainability, Fig. 5 shows that Santander cannot be considered to be a sustainable city since it fails to fulfil the aspiration level for the “Waste” indicator, whereas for A Coruña this represents a significant strength. Therefore, were Santander to manage to reduce its levels of waste to those of A Coruña, it might become a sustainable city without significant detriment to urban liveability.

Overall, the bivariate and the consecutive benchmarking analyses performed could be very useful for urban planners of those cities which cannot achieve a minimum sustainability level, or which present a liveability level below the average, i.e., cities in groups II and IV. This usefulness is based on three reasons. Firstly, these analyses allow urban planners of cities with these limitations to identify a city which can serve as a point of reference since it presents similar demographical and socioeconomic characteristics, but which is able to obtain better results in at least one of the analysed attributes (liveability or sustainability). Secondly, in comparing with a reference city with similar characteristics, urban planners of these cities could obtain an estimation of the improvement margin in the attribute whose performance is worse, by comparing the result of the corresponding index with the value obtained by the reference city. Thirdly, an additional comparative analysis of the deviation variables of both cities, i.e., the city which have a potential of improvement and the reference city, allows the urban planners of the former city to identify the specific dimensions of liveability or sustainability on which they should focus their improvement efforts.

Conclusions

This article attempts to contribute to the body of work that deals with the link between urban liveability and sustainability by taking an empirical look at Spain. More specifically, the work aims to analyse the relationship between urban liveability and sustainability that a set of Spanish cities offer their inhabitants by studying the respective levels of these concepts for each of the cities.

The relationship between urban liveability and sustainability is studied using bivariate analysis. These concepts are proxied by using two synthetic indices and aggregated by using a technique based on goal programming. This technique has numerous advantages from the point of view of urban planning. On the one hand, it allows the analysis to evaluate the current situation with respect to a specific objective or previously established aspiration level. On the other, it facilitates the interpretation and comparison of the results and provides a range of options for subsequent analysis.

The results of the bivariate analysis allow us to identify four groups of cities according to the levels of urban liveability and sustainability they attain. The utility of this analysis is twofold. First, it provides an overview of the Spanish cities in each of the groups based on aspects such as size, area of urban influence, and economic specializations. From the analysis, it can be seen that in the case of Spain at least, the cities that are considered to be both liveable and sustainable are normally fairly small, and are often characterized by an industrial specialization. In contrast, those cities with low levels of liveability and sustainability tend to be located in the south and east of the peninsula, and their mean size tends to be quite large when compared to the national average. Second, this analysis should be particularly useful for urban planners responsible for those cities in which one or both of the two indicators being analysed perform badly. Thus, by taking cities with a similar profile, which outperform their counterparts with whom they are compared, it becomes possible to obtain an estimation of the margin for improvement with respect to urban liveability and sustainability and to identify the specific dimensions upon which these cities would be advised to focus their efforts.

Despite the evident utility of this analysis, it does have certain limitations. Of these, the most important arises from the limited availability of urban data for certain indicators, particularly those that refer to environmental sustainability. This deficit dictated the sample size for the Spanish cities included in the analysis, which necessitated the exclusion of those cities for which data was unavailable. Hence, the limited number of cities makes it difficult to draw theoretical findings as to the relationship between urban liveability and sustainability. Related to this, the lack of data for those urban centres with more precise boundaries, i.e., functional urban areas, constitutes a further limitation to the study.

However, the analysis carried out provides an important basis from which to develop future research. Firstly, while it has been possible to isolate and observe different patterns of performance in Spanish cities in the sample and how they behave with respect to liveability and sustainability, broadening the analysis to include a greater number of cities would allow a deeper theoretical understanding of the relationships that underlie both concepts. Further, by using functional urban areas instead of municipalities it would be possible to carry out a more precise analysis of this connection. In any case, in the absence of this data, the replication of the analysis using the urban areas of other countries would help to a better knowledge of the relationship between liveability and sustainability in cities, complementing this case study for the Spanish urban context.