Figures
Abstract
Urban green spaces (UGS), as essential components of urban ecological infrastructure, play a vital role in improving residents’ quality of life and fostering spatial equity. However, rapid urbanization and intensive land use have intensified UGS supply–demand mismatches and associated “green inequities”, while their spatial drivers remain insufficiently understood. Taking the central urban area of Nanjing as a case study, this study developed a comprehensive framework to quantify UGS supply, demand, and spatial mismatches in 2022, thereby revealing inequities in green resource allocation. An explainable machine learning model (XGBoost–SHAP) was further applied to identify the urban morphological drivers of these mismatches. The results showed that all traffic analysis zones (TAZs) experienced varying degrees of spatial mismatch: 48 TAZs in urban core suffered from severe green space deficits, whereas 203 TAZs in peripheral areas exhibited evident surpluses. We found a clear gap between provision and residents’ actual benefits, with “quantitative abundance” not translating into “qualitative accessibility”. Regarding driving mechanisms, urban compactness and floor area ratio exerted significant negative impacts on supply–demand balance, while road density and land-use mix further amplified spatial inequities. In contrast, public facility coverage and the proportion of residential land played positive roles in mitigating mismatches. Based on these findings, we propose governance strategies that move beyond an “area-oriented” approach, emphasizing urban morphology optimization to align green space services with residents’ needs. Overall, this study offers practical insights for equity-oriented green space planning and spatial governance in rapidly urbanizing regions, advancing social equity and environmental justice.
Citation: Sun L, Liu W, Liu Q (2026) Decoding green space supply–demand mismatch through urban morphology: Toward equitable urban planning with explainable machine learning. PLoS One 21(3): e0342596. https://doi.org/10.1371/journal.pone.0342596
Editor: Lingye Yao, The Chinese University of Hong Kong, HONG KONG
Received: September 19, 2025; Accepted: January 25, 2026; Published: March 18, 2026
Copyright: © 2026 Sun et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: Due to confidentiality restrictions, the data cannot be publicly shared. Researchers who meet the criteria for accessing confidential geospatial data may obtain the data through the bureau’s official data access portal (https://ghj.nanjing.gov.cn/).
Funding: The author(s) received no specific funding for this work.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Urban green spaces (UGS) provide essential ecological functions and public services that are critical for environmental quality, human well-being [1,2]. However, rapid urbanization and intensive land development have increasingly widened the gap between UGS supply and residents’ actual demand [3]. This mismatch has resulted in marked disparities in accessibility, service quality, and opportunities for use, reinforcing inequalities in spatial access to green resources [4]. Therefore, systematically assessing the UGS supply–demand relationship is essential for revealing its spatial patterns and equity implications.
Extensive studies have been conducted on the supply and demand of UGS. On the supply side, research has traditionally assessed green space quantity and spatial distribution using measures such as green coverage or per capita area [5]. Increasingly, studies also evaluate green space quality and service capacity, providing a more comprehensive view of supply [6]. On the demand side, research explores residents’ mobility patterns and accessibility constraints [7]. It highlights their reliance on walkable green spaces [8]. In addition, demographic characteristics, spatial accessibility, and activity patterns are often integrated to better capture actual demand [9,8]. With advancing research, scholars have widely recognized that many cities continue to face insufficient UGS supply alongside growing resident demand [10]. Consequently, examining UGS from a single supply- or demand-side perspective is no longer adequate for explaining observed utilization patterns. This limitation underscores the need for an integrated supply–demand framework to identify mismatches between the two [11]. However, research on how these mismatches form and the spatial factors that shape them is still limited.
The mismatch between the supply and demand of UGS is strongly shaped by urban morphology [12]. Different urban forms restructure population distribution and the built environment, thereby influencing residential patterns and daily mobility behaviors [13,14]. These morphological features interact to produce distinct spatial configurations of UGS supply and demand [15]. Therefore, analyzing UGS mismatches through the lens of urban morphology is crucial for identifying the underlying causes of uneven green space provision. This perspective further provides a scientific basis for optimizing green space layouts and enhancing public space provision [16]. However, when dealing with high-dimensional and multi-source urban data, traditional linear models are often constrained by multicollinearity and limited model fit, making it difficult to capture the nonlinear characteristics and threshold effects that are prevalent in practice [17]. Consequently, research on the nonlinear influences of urban morphology on UGS supply–demand mismatches and their key thresholds remains inadequate.
To address these gaps, this study examine the central urban area of Nanjing as a case study to quantify UGS supply–demand mismatches and reveal their spatial patterns. An explainable machine-learning model (XGBoost–SHAP) is then applied to identify the key morphological drivers and their threshold effects. The study focuse on two core questions: (1) What are the characteristics and spatial distribution of UGS supply–demand mismatches? (2) How are these mismatches associated with urban morphological factors? The findings can provide practical insights for urban planning and contribute to the development of more equitable green space systems.
Methods
Study area
Nanjing, located in the lower Yangtze River region of eastern China (31°14′–32°37′ N, 118°22′–119°14′ E), has a north subtropical monsoon climate with four distinct seasons and abundant rainfall, providing favorable conditions for UGS development. This study focuses on the central urban area of Nanjing, covering both the core districts and the surrounding expansion zones (Fig 1). This study area was selected because rapid urbanization has produced a complex spatial structure and a diverse population composition, providing a meaningful context for analyzing UGS-related spatial processes. Newly developed districts are generally well-equipped with public facilities and green spaces, while older residential communities and urban villages accommodate more disadvantaged groups and often experience insufficient green space provision. These pronounced contrasts in urban development patterns and service levels have resulted in clear spatial disparities in UGS distribution. Moreover, the evident imbalance between green space supply and residents’ needs makes this area a representative and policy-relevant setting for examining UGS supply–demand mismatch. As a rapidly urbanizing city, Nanjing reflects development patterns, population stratification, and green space governance structures that are common to many metropolitan areas. In addition, the availability of comprehensive spatial, demographic, and planning datasets supports systematic and robust empirical analysis, thereby strengthening the generalizability and transferability of the findings.
(a) Geographical location of Nanjing within China. (b) Location of the study area within Nanjing. (c) TAZ and UGS in the study area. Base map and data from OpenStreetMap and OpenStreetMap Foundation.
For spatial analysis, we adopted traffic analysis zone (TAZ), delineated by primary and secondary roads, as the basic analytical unit. The TAZ framework reflects residents’ travel behavior and ensures data operability, enabling neighborhood-scale assessment of green space supply, demand, and spatial mismatches [17]. A total of 251 TAZs were delineated, with an average area of 3.2 km². The TAZ system captures neighborhood-scale spatial variation, reflects typical patterns of residents’ travel behavior, and provides an appropriate spatial unit for analyzing UGS supply, demand, and supply–demand mismatch.
Datasets
The datasets used in this study are summarized in Table 1. Specifically, The UGS information was obtained from the Nanjing Municipal Bureau, and POI datasets provided key urban functional attributes such as residential areas, schools, and hospitals. All datasets correspond to the year 2022.
Research framework
The research framework consisted of two main steps (Fig 2). The first step assessed the UGS supply–demand mismatch. Composite supply and demand indices were constructed using the entropy weighting method, and the supply–demand ratio was subsequently applied to delineate the mismatch status of each TAZ. The second step examined how urban morphological factors affected the UGS supply–demand mismatch. Using an interpretable machine-learning framework based on XGBoost–SHAP, the nonlinear effects and key thresholds of multiple morphological factors were systematically evaluated. Based on the identified mechanisms, targeted urban planning strategies were proposed for different types of urban areas to improve the balance between UGS supply and demand and support more equitable urban planning.
Assessment of UGS supply–demand mismatch
Perspectives on UGS supply and demand.
The relationship between UGS supply and demand can be conceptualized from two perspectives (Fig 3). The supply side focuses on “how much service green spaces can provide”, emphasizing the overall capacity of UGS based on its quantity, quality, and spatial distribution [19]. In this study, UGS supply was assessed at the TAZ level to capture regional provisioning capacity. In contrast, the demand side emphasizes “the services that residents can actually obtain and experience from green spaces”, reflecting the potential use of UGS from a resident-centered perspective [20]. Accordingly, UGS demand was evaluated within the 10-minute living circle, which represents the commonly accepted walking distance in daily life [21].
(a) Supply side. (b) Demand side.
Evaluation of UGS supply.
On the supply side, the emphasis lies in assessing how much service green spaces can provide. Accordingly, we developed an indicator system that captures supply from multiple aspects (Table 2). Total UGS area represents the most direct measure of supply, reflecting the overall spatial extent available for ecological regulation and recreational use within each unit, and forming the basis of supply capacity [22]. Per capita UGS incorporates population factors to reveal differences in supply pressure and spatial equity, addressing the limitation that area-based indicators alone may obscure shortages in densely populated areas [23]. UGS quality highlights ecological performance and user experience, where higher vegetation coverage and healthier ecological conditions indicate greater environmental regulation and aesthetic value [24]. UGS service capacity reflects the effective service radius of green spaces, measuring their actual ability to serve surrounding residents [25]. Together, these indicators provide a comprehensive evaluation of UGS supply capacity. All spatial analyses of UGS supply were conducted using ArcGIS Pro 3.3 to ensure accurate spatial processing and visualization.
All indicators were normalized using min-max standardization to eliminate scale differences, as shown in Eq. (1):
where is the normalized value of the indicator,
is the original value,
and
are the maximum and minimum values of the indicator, respectively.
Subsequently, the entropy weight method was applied to determine the objective weights. The resulting weights were 0.22 for UGS service capacity, 0.21 for per capita UGS, 0.25 for UGS quality, and 0.32 for total UGS area, reflecting their relative contributions to the overall supply index. Based on these weights, a composite UGS supply index was constructed to represent the supply capacity of each spatial unit, as shown in Eq. (2):
where denotes the supply index of the
-th evaluation unit,
is total number of indicators,
is weight of the
-th indicator derived from the entropy weight method,
is standardized value of the
-th indicator for the
-th evaluation unit, and
is summation over all indicators.
Evaluation of UGS demand.
On the demand side, the focus is on evaluating the green space services that residents can actually obtain and experience. Following the China Standard for Urban Residential Area Planning and Design, a 10-minute walking distance was adopted as the reasonable service radius of a basic residential unit, and buffers were constructed around residential points for analysis [21]. We delineated the 10-minute walkable area for each residential point using the Mapbox Isochrone API (https://docs.mapbox.com/playground/isochrone/), which generates network-based walkable service areas. The API simulates the area that can be reached within 10 minutes of walking along the actual road network and returns irregular polygon isochrones in GeoJSON format. These service areas were then converted into shapefiles and incorporated into the spatial analysis. Based on this framework, four indicators were selected to assess residents’ green space demand (Table 3). Accessible UGS coverage measures the proportion of residents who can access green space within a 10-minute walkable area, reflecting the breadth of service coverage and spatial equity [26]. Per capita accessible UGS further evaluates the amount of green space available to individuals within the accessible range, highlighting shortages in densely populated areas [27]. Accessible functional diversity, derived from POI data within the buffer, indicates the diversity of green space functions within residents’ daily activity spheres and the complexity of their needs [28]. Finally, average travel distance measures the cost of reaching the nearest green space, reflecting the convenience of actual use [29]. All spatial analyses of UGS demand were performed using ArcGIS Pro 3.3 to ensure accurate spatial processing and visualization.
During data processing, all demand-side indicators were normalized using min–max standardization, as shown in Eq. (1), to eliminate differences in scale. Subsequently, the entropy weight method was applied to determine the weights of each indicator. The resulting weights were 0.28 for per capita accessible UGS, 0.30 for average travel distance, 0.20 for accessible UGS coverage, and 0.22 for accessible functional diversity. Based on these weights, a composite UGS demand index was constructed to capture the actual level of residents’ demand for green space. The demand index was calculated as shown in Eq. (3):
where denotes the demand index of the
-th evaluation unit,
is total number of indicators,
is weight of the
-th indicator derived from the entropy weight method,
is standardized value of the
-th indicator for the
-th evaluation unit, and
is summation over all indicators.
Measurement of supply–demand mismatch.
The imbalance between the supply and demand of UGS often carries inequitable characteristics, a phenomenon commonly referred to as supply–demand mismatch [30]. The essence of this mismatch lies in the disparity between the actual supply capacity of green spaces and the actual needs of residents: when supply is insufficient, it manifests as shortages, which may lead to compromised health and well-being, reduced recreational opportunities, and a decline in the quality of the living environment; whereas when supply exceeds demand, it manifests as surpluses, potentially resulting in inefficient resource utilization, increased maintenance costs, and diminished overall land-use efficiency [31]. To capture this unequal relationship, we introduced the concept of the supply–demand ratio and applied it to the assessment of UGS as the green space supply–demand ratio (GSDR) [32,14]. The calculation is given in Eq. (4):
where represents the green space supply-demand ratio, used to quantify the degree of mismatch,
is the comprehensive supply index of green space in the study unit,
is the comprehensive demand index of green space in the study unit,
and
are the maximum values of the supply and demand indices within the study area, respectively.
When , it indicates that the green space supply of the unit exceeds demand, i.e., a surplus situation. When
, it indicates that the green space supply is insufficient relative to demand, i.e., a deficit situation. When
, it indicates that green space supply and demand are in a state of balance.
Investigation of urban morphological influences on UGS supply–demand mismatch
Selection of urban morphology indicators.
The spatial mismatch between the supply and demand of UGS is often shaped by broader urban morphology and planning characteristics [33]. Different spatial structures not only influence the allocation of green spaces but also determine residents’ accessibility and the level of actual demand [34]. To identify these structural factors and their role in shaping mismatches, we introduces a set of urban morphology indicators to explain the spatial disparities in UGS supply–demand mismatch (Table 4). Specifically, road network density (RND) reflects travel accessibility. Areas with denser road networks generally exhibit higher green space accessibility and lower levels of mismatch, whereas sparse road networks may lead to the presence of green spaces that cannot be conveniently accessed, resulting in supply–demand imbalance [35]. Residential land proportion (RLP) indicates the intensity of residential activity and population concentration. A higher share of residential land often corresponds to greater demand; if green space supply is insufficient, unmet demand is more likely to occur [36]. Land use mix (LUM) captures the diversity of land functions. More complex functional patterns imply more diverse needs for green space services, and limited or homogeneous supply can lead to structural mismatches [28]. Floor area ratio (FAR) represents urban development density. High-intensity development tends to compress green space, reducing per capita availability and exacerbating mismatches [37]. Urban compactness index (UCI) reveals the overall spatial form of a city. Compact urban areas are more likely to achieve balanced green space distribution, while sprawling areas often face supply–demand separation due to low-density and dispersed development [38]. Finally, Public facilities coverage (PFC) reflects the level of investment in public services. Areas with insufficient public facility provision are often also underserved in terms of green space, meaning disadvantaged communities are at higher risk of experiencing green space shortages [39].
Analysis of the driving factors using an XGBoost–SHAP model.
To further uncover the mechanisms influencing UGS supply–demand mismatch, we employs an XGBoost–SHAP framework to construct an interpretable machine learning regression model. XGBoost is an ensemble learning algorithm based on the gradient boosting framework, which performs well in handling nonlinear relationships, high-dimensional features, and complex feature interactions. As a tree-based algorithm, XGBoost exhibits inherent robustness to multicollinearity, as redundant predictors are naturally de-emphasized during the split selection process [17]. It has been widely applied in both regression and classification tasks. However, it should be noted that this model identifies associations rather than causal relationships, and thus the results reflect correlations instead of direct causation. XGBoost predicts outcomes using an additive tree model, expressed as Eq. (5):
where is the predicted value of the
-th sample,
represents the output of the
-th regression tree, and
is the total number of trees.
The model optimization objective combines a loss function and a regularization term, as shown in Eq. (6):
where is the loss function (e.g., mean squared error), and
is the regularization term controlling tree complexity to prevent overfitting.
To ensure model robustness and generalization, a 5-fold cross-validation method was adopted. The dataset was randomly divided into five subsets, with four subsets used for training and one for validation in each iteration. The average performance across all folds was evaluated using three metrics: the coefficient of determination (R²), root mean square error (RMSE), and mean absolute error (MAE).
To enhance model interpretability, we adopted SHAP analysis on the XGBoost outputs. SHAP leverages the Shapley value concept from cooperative game theory to quantify each feature’s marginal contribution to predictions for individual samples [40]. The SHAP value for feature
is calculated as Eq. (7):
where is the SHAP value of
,
denotes a subset of features excluding
,
is the total number of features, and
and
are the model outputs with and without
, respectively.
Results
Spatial pattern of UGS supply–demand mismatch
UGS supply level.
The spatial distribution of UGS supply in the study area is shown in Fig 4. In terms of individual indicators, total UGS area and per capita UGS are relatively high in the central part of the city, while most other areas remain at lower levels. By contrast, UGS quality and UGS service capacity perform better in the northeastern streets, whereas the peripheral areas exhibit generally limited service capacity. Based on the integrated UGS supply index (Mean = 0.32, Std = 0.17, Max = 0.77, Min = 0.11), high-supply zones are primarily concentrated in the northeast and in suburban units containing large-scale or high-quality green spaces, notably in the vicinity of Xiaolingwei, Xigang, and Jiangpu subdistricts. In contrast, peripheral and riverside areas are characterized by more fragmented green resources, resulting in overall lower supply levels.
(a) Total UGS area. (b) Per capita UGS. (c) UGS quality. (d) UGS service capacity. (e) UGS supply index. Base map and data from OpenStreetMap and OpenStreetMap Foundation.
UGS demand level.
The spatial distribution of UGS demand in the study area is illustrated in Fig 5. Regarding individual indicators, accessible UGS coverage is relatively low in the central neighborhoods, indicating higher demand, while the peripheral areas exhibit relatively higher coverage. Per capita accessible UGS is particularly low in the central and northeastern parts of the city, highlighting more pronounced demand in these areas. In the southern neighborhoods, Accessible functional diversity is insufficient, suggesting higher levels of demand. Results for average travel distance further indicate that a considerable number of high-demand neighborhoods exist, with a relatively scattered distribution. Based on the integrated UGS demand index (Mean = 0.17, Std = 0.16, Max = 0.51, Min = 0.02), significantly higher demand was observed in the central urban area and in certain neighborhoods along the eastern bank of the Yangtze River, particularly in Xiaolingwei, Xuanwumen, Hunan Road, and Wulaocun subdistricts, whereas demand in peripheral suburban areas was relatively low.
(a) Accessible UGS coverage. (b) Per capita accessible UGS. (c) Accessible functional diversity. (d) Average travel distance. (e) UGS demand index. Base map and data from OpenStreetMap and OpenStreetMap Foundation.
Characteristics of UGS supply–demand mismatch.
Significant spatial mismatches in UGS supply and demand were observed within the study area (Fig 6). Overall, no TAZ achieved a balanced state—each was either in surplus or deficit. Specifically, 203 TAZs exhibited green space surpluses (80.9%), with relatively abundant resources that could meet or even exceed residents’ needs; these were mainly distributed in peripheral areas. In contrast, 48 TAZs suffered from green space deficits (19.1%), largely concentrated in the central city and densely populated areas, where demand for green space was high but available land was limited. Comparative analysis of land use, residential distribution, and public service facility layouts revealed that supply gaps were primarily concentrated in residentially dense and facility-aggregated zones. These areas showed the most urgent demand yet frequently faced insufficient provision. By contrast, peripheral areas generally had lower residential density or larger-scale green spaces; while resources were abundant, spatial utilization efficiency remained relatively low.
(a) Green space supply–demand ratio (GSDR) values; (b) TAZs with surpluses and deficits; (c) Land use; (d) Residential distribution; (e) Public service facilities. Base map and data from OpenStreetMap and OpenStreetMap Foundation.
Interpretation of the effects of morphological factors on UGS supply–demand mismatch
The descriptive statistics of the core indicators used in the XGBoost analysis are presented in Table 5, which provides a systematic overview of the distributional characteristics of the variables. Five-fold cross-validation demonstrated strong predictive performance of the XGBoost model, with a mean R² of 0.86 and RMSE and MAE of 0.032 and 0.024, respectively.
Based on the XGBoost–SHAP analysis, the primary influencing factors, ranked by importance, were the UCI, FAR, RND, PFC, LUM, and RLP (Fig 7). Overall, UGS supply–demand mismatches are associated with a combination of urban form, development intensity, and population characteristics, with all factors exhibiting clear nonlinear effects and critical turning points. Among these, UCI and FAR showed the strongest contributions, indicating not causation but a pattern in which compact urban form and development intensity are statistically linked with variations in mismatch levels. Specifically, UCI exerted a positive influence at lower levels but shifted to a negative pattern once it exceeded a threshold of approximately 25, suggesting an association where moderate compactness corresponds to lower mismatch, whereas higher compactness corresponds to higher mismatch. FAR displayed a consistently negative contribution, with a marked decline occurring beyond approximately 0.65, reflecting a statistical relationship in which higher development intensity is linked to more pronounced mismatch. RND contributed to reducing mismatches at lower levels, but its effect weakened and eventually turned negative after reaching approximately 0.01, showing a non-linear association where dense road networks coincide with reduced green space availability. PFC exhibited an overall positive influence, with an enhanced contribution emerging once it surpassed approximately 0.70, indicating that areas with greater public facility coverage tend to show lower mismatch. LUM was negatively related to mismatch, suggesting that higher land-use diversity is associated with increased competition for limited land resources. Finally, RLP had little influence at lower levels but began to show a pronounced increase in mismatch once it exceeded approximately 0.12, indicating a statistical link between higher residential land proportion and increased demand pressure.
(a) SHAP summary plot illustrating the impact of each feature on model output; (b) SHAP bar plot presenting mean absolute SHAP values, reflecting the relative importance of features; (c–h) Partial Dependence Plots (PDPs) depicting the nonlinear effects of different factors on UGS supply–demand mismatch, with LOWESS smoothing curves and 95% confidence intervals to highlight critical turning points.
Discussion
Key contributions of the research
This study makes several key contributions. Theoretically, this study moves beyond the traditional focus on either supply or demand alone by developing a scalable integrated assessment framework that provides a more comprehensive basis for identifying UGS supply–demand mismatches. In addition, using an interpretable machine-learning approach, the study uncovers the nonlinear relationships and key thresholds linking urban morphology to UGS mismatches, revealing mechanisms that traditional linear, single-indicator methods overlook. Practically, we propose targeted and spatially differentiated planning strategies for UGS systems. Unlike one-size-fits-all greening recommendations, our findings support context-specific interventions that offer planners a feasible pathway to convert “potential supply” into effective and equitable provision.
Advancing the understanding of spatial mismatch and inequity in UGS supply–demand
Regarding Research Question 1, our findings reveal a pronounced spatial mismatch between UGS supply and demand within the central urban area of Nanjing. Specifically, 48 TAZs experienced deficits, while 203 TAZs exhibited surpluses, forming a typical spatial pattern of “shortages in the core and surpluses in the periphery”. Similar spatial imbalances have also been observed by other researchers in high-density cities such as Guangzhou, New York, and Seoul, where compact development and concentrated populations exacerbate disparities in green space accessibility and service levels [41]. This imbalance highlights unequal access to green spaces among residents and reflects the misalignment between green space distribution and population concentration under rapid urbanization [42]. The emergence of this inequitable pattern is primarily driven by the interplay of high population density, intensive land use, and institutional constraints in the urban core [43]. On the one hand, fragmented land parcels, complex property rights, high redevelopment costs, and floor area ratios already close to regulatory limits leave little room for adding or upgrading green spaces [44]. Moreover, historic districts and the concentration of multiple urban functions place green space at a disadvantage when competing with residential, commercial, and transport land uses [45]. On the other hand, although peripheral areas contain abundant green spaces, they often suffer from functional homogeneity, low-density development, inadequate public transport, and poor road connectivity. Together with insufficient supporting facilities, these conditions hinder the integration of green spaces into daily life, resulting in a situation where “quantitative abundance” fails to translate into “qualitative accessibility”. Collectively, these factors reinforce the entrenched pattern of “core shortages–peripheral surpluses”. This pattern not only reflects contradictions in spatial structure but also reveals inefficiencies in resource utilization: green spaces are most needed in the core but lack expansion capacity, while peripheral green spaces remain underutilized due to limited accessibility and functionality [46]. Consequently, even when overall green space provision reaches an adequate level, residents’ actual benefits and experiences of use may still fall short.
More importantly, the mismatch is amplified by socio-economic disparities [47]. The urban core accommodates a high proportion of vulnerable groups—such as low-income residents, the elderly, and migrant workers—who are heavily reliant on walkable green spaces yet reside in areas of greatest scarcity [48]. In contrast, the resource advantages of peripheral areas tend to benefit groups with better transport access and more dispersed living environments, often including middle- and high-income households and newly developed residential communities. This aligns with recent findings that socioeconomic stratification significantly affects environmental equity, with disadvantaged populations often located in green-deficient zones [49]. This indicates that UGS mismatches constitute an ecological and spatial governance challenge as well as a critical concern for social equity [50]. Therefore, future urban planning should move beyond a purely “area-oriented” approach and place greater emphasis on aligning the service capacity of green spaces with residents’ needs, promoting equitable and balanced UGS provision through coordinated improvements on both the supply and demand sides.
Implications for improving the balance of UGS supply and demand
With respect to Research Question 2, the results indicate that UGS supply–demand mismatch is shaped by multiple factors, with UCI and FAR contributing most significantly. This suggests that compact urban forms and high-intensity development are key drivers exacerbating the imbalance between supply and demand. This finding aligns with previous studies, which emphasize that moderate compactness facilitates quicker access to green spaces, whereas excessive compactness and intensive development often result in insufficient green space [51]. Such conditions are widely observed in many large cities (e.g., Beijing, Shanghai), where high-density development and population concentration create acute shortages of UGS [51]. In addition, The negative effect of RND can be explained by the fact that denser road networks occupy substantial urban land and fragment green space patches, thereby reducing overall supply and exacerbating supply–demand mismatch [52]. Recent studies have similarly found that increased road-network density in highly compact urban areas tends to amplify green-space fragmentation and reduce accessibility [53]. However, in some medium-sized cities with more balanced land-use structures, higher road density may instead enhance accessibility to distributed green areas, highlighting the contextual variability of this relationship [54]. The positive effect of PFC indicates that areas with well-developed educational and healthcare facilities often coincide with more systematic investments in public space, promoting more rational green space layouts and alleviating local mismatches. Yet, in densely populated districts, the combined concentration of population and public facilities intensifies demand pressures [55]. LUM shows a negative association with balance, suggesting that while functional diversity enhances urban vitality, under high-density development limited land is more intensively contested by competing uses, often at the expense of green space [28]. Finally, RLP highlights that areas with high population density tend to face the greatest green space pressure, as rapidly growing demand collides with limited expansion of supply, thereby aggravating mismatches [56]. This pattern is consistent with recent studies on high-density urban environments, which similarly reported that population agglomeration and compact development increase the likelihood of low-supply–high-demand clusters of UGS and thus intensify spatial inequities in green access [57,58].
Based on these findings, we propose broadly applicable planning strategies aimed at alleviating UGS supply–demand mismatch. In high-density built-up areas, where demand is intense but supply is insufficient, the focus should be on intensifying the reuse and micro-renewal of existing urban space, for example, through pocket parks, rooftop greening, and street-level greenery, thereby increasing accessible green space and improving residents’ actual benefits [59]. However, the implementation of such micro-renewal projects often faces several practical challenges, including fragmented land ownership, limited financial investment, and varying levels of resident participation [60]. These obstacles can restrict project continuity and scalability, especially in older neighborhoods with complex property rights. To address these issues, multi-stakeholder collaboration mechanisms should be established, encouraging joint participation from local governments, community organizations, and private enterprises. Furthermore, introducing flexible land-use policies, diversified funding models, and community co-governance mechanisms could help enhance feasibility and long-term sustainability [61]. In districts with dense road networks, the balance between transportation infrastructure and green space should be optimized to prevent over-expansion of roads from further reducing green space availability [62]. In densely populated neighborhoods with strong demand pressures, integrated planning of public service facilities and multifunctional green spaces is essential to enhance the fit between supply and demand while simultaneously providing ecological, recreational, and service benefits [63]. In peripheral areas, where green space resources are relatively abundant but underutilized, efforts should focus on improving transportation connections and supportive facilities to shorten travel distances and enhance accessibility, thus converting “potential supply” into “effective supply” [64]. At the same time, participatory design and social inclusion should be emphasized to ensure that different groups—particularly low-income and elderly residents—can benefit equitably from green space improvements [65,66]. Through these multidimensional strategies, it is possible to expand service capacity on the supply side while improving accessibility and user experience on the demand side, thereby promoting a more balanced and equitable distribution of UGS and offering valuable insights for sustainable urban planning.
Limitations and future research
This study still has certain limitations that warrant improvement and expansion in future research. First, the analysis of UGS supply and demand relies on static data, which limits the ability to capture dynamic changes and long-term trends under rapid urban development. Future studies could integrate multi-temporal remote sensing imagery and time-series statistical data to conduct dynamic monitoring and evolution analyses. Second, although the UGS supply and demand indicators used in this study cover the main dimensions, they may not fully represent all relevant factors influencing urban green space services. Future work could refine the indicator system to incorporate a wider range of influencing factors and better reflect the complexity of green space functions. Third, while the XGBoost–SHAP model provides valuable interpretability by quantifying the contribution and direction of each factor, it remains a data-driven and correlational approach. The analysis identifies associations rather than causal relationships. Future studies could integrate causal inference techniques or spatial econometric models to further validate and deepen the understanding of the underlying influencing mechanisms. Finally, although the present research emphasizes objective spatial analysis, it does not fully integrate residents’ subjective perceptions, usage preferences, or cultural differences as social–psychological factors. Future work could address this gap by incorporating perceived equity evaluations through questionnaire surveys, social media data, and other participatory approaches.
Conclusion
This study quantified the supply, demand, and mismatches of UGS in the central area of Nanjing, revealing their spatial imbalances and inequities. By employing an interpretable XGBoost–SHAP model, we identified the nonlinear effects of urban morphology on UGS supply–demand mismatch, thereby overcoming the limitations of traditional linear models in capturing complex spatial mechanisms. The results show that the central districts of Nanjing face a pronounced imbalance: 48 TAZs experience a deficit, while 203 TAZs show a surplus, reflecting a pattern of shortage in the urban core and surplus at the periphery. This imbalance is primarily driven by multiple urban morphological factors. UCI and FAR exert the strongest negative influences, indicating that overly compact and high-intensity development aggravates green space shortages. RND and LUM also contribute negatively by fragmenting green patches and increasing land-use competition. In contrast, PFC and RLP play a positive role in mitigating mismatches by improving spatial organization and service accessibility. Based on these findings, we proposed targeted and practical strategies to mitigate UGS supply–demand mismatches. In high-density built-up areas, reusing existing spaces through pocket parks, rooftop greening, and small-scale micro-renewal can help alleviate shortages. In areas with fragmented ownership or financial constraints, multi-stakeholder collaboration and flexible land-use policies can enhance project feasibility. In peripheral districts, improving transport connectivity and supportive facilities is essential to convert “potential supply” into “effective provision”. These measures contribute to equitable urban planning.
References
- 1. Wang C, Ren Z, Dong Y, Zhang P, Guo Y, Wang W, et al. Efficient cooling of cities at global scale using urban green space to mitigate urban heat island effects in different climatic regions. Urban For Urban Green. 2022;74:127635.
- 2. Kato-Huerta J, Geneletti D. A distributive environmental justice index to support green space planning in cities. Landsc Urban Plan. 2023;229:104592.
- 3. Chen J, Liu B, Li S, Jiang B, Wang X, Lu W, et al. Actual supply-demand of the urban green space in a populous and highly developed city: evidence based on mobile signal data in Guangzhou. Ecol Indic. 2024;169:112839.
- 4. Li X, Huang Y, Ma X. Evaluation of the accessible urban public green space at the community-scale with the consideration of temporal accessibility and quality. Ecol Indic. 2021;131:108231.
- 5. Li X, Li X, Ma X. Spatial optimization for urban green space (UGS) planning support using a heuristic approach. Appl Geogr. 2022;138:102622.
- 6. Woldesemayat EM, Genovese PV. Urban green space composition and configuration in functional land use areas in addis Ababa, Ethiopia, and their relationship with urban form. Land. 2021;10(1):85.
- 7. Wu S, Chen B, Webster C, Xu B, Gong P. Improved human greenspace exposure equality during 21st century urbanization. Nat Commun. 2023;14(1):6460. pmid:37833296
- 8. Song L, Kong X, Cheng P. Supply-demand matching assessment of the public service facilities in 15-minute community life circle based on residents’ behaviors. Cities. 2024;144:104637.
- 9. Zong W, Qin L, Jiao S, Chen H, Zhang R. An innovative approach for equitable urban green space allocation through population demand and accessibility modeling. Ecol Indic. 2024;160:111861.
- 10. Li X, Ma X, Hu Z, Li S. Investigation of urban green space equity at the city level and relevant strategies for improving the provisioning in China. Land Use Policy. 2021;101:105144.
- 11. Gu K, Liu J, Wang D, Dai Y, Li X. Analyzing the supply and demand dynamics of urban green spaces across diverse transportation modes: a case study of Hefei city’s built-up area. Land. 2024;13(11):1937.
- 12. Zhao K, Chen C, Wang J, Liu K, Wu F, Cao X. Examining the spatial mode, supply–demand relationship, and driving mechanism of urban park green space: a case study from China. Forests. 2024;15(1):131.
- 13. Dong Y, Chen X, Lv D, Wang Q. Evaluation of urban green space supply and demand based on mobile signal data: taking the central area of Shenyang city as an example. Land. 2023;12(9):1742.
- 14. Chen L, Peng P, Zhu E, Wu H, Feng D. Fairness of urban park layout from the perspective of multidimensional supply and demand relationship. Urban For Urban Green. 2025;113:129016.
- 15. Wang Y, Huang H, Yang G, Chen W. Ecosystem service function supply–demand evaluation of urban functional green space based on multi-source data fusion. Remote Sens. 2022;15(1):118.
- 16. Han J, Huang S, Zhang S, Lin Q, Wang X. Assessing supply and demand discrepancies of urban green space in high-density built-up areas based on vitality impacts: evidence from Beijing’s central districts, China. Sustainability. 2025;17(11):4828.
- 17. Liu Q, Hang T, Wu Y. Unveiling differential impacts of multidimensional urban morphology on heat island effect across local climate zones: Interpretable CatBoost-SHAP machine learning model. Build Environ. 2025;270:112574.
- 18. Li Z, He W, Cheng M, Hu J, Yang G, Zhang H. SinoLC-1: the first 1-meter resolution national-scale land-cover map of China created with the deep learning framework and open-access data. Earth Syst Sci Data Discuss. 2023:1–38.
- 19. Wang X, Meng Q, Liu X, Allam M, Zhang L, Hu X, et al. Evaluation of fairness of urban park green space based on an improved supply model of green space: a case study of Beijing central city. Remote Sens. 2022;15(1):244.
- 20. Zhang N, Wang S, Liang H, Huang Z, Li X, Wang Z. Heterogeneity analysis of resident demands and public service facilities in megacities of China from the perspective of urban health examination. IJGI. 2025;14(5):188.
- 21. Zheng Y, Hamm NAS, Lin T, Liu J, Zhou T, Ren X, et al. Quantitative threshold effects identification of urban green exposure on multidimensional human health – a case study in Xiamen City, China. Urban For Urban Green. 2025;107:128808.
- 22. Wei L, Liu Z, Zhou Y, Tao Z, Yang F. Global urban green spaces in the functional urban areas: Spatial pattern, drivers and size hierarchy. Urban For Urban Green. 2025;107:128770.
- 23. Pouya S, Aghlmand M. Evaluation of urban green space per capita with new remote sensing and geographic information system techniques and the importance of urban green space during the COVID-19 pandemic. Environ Monit Assess. 2022;194(9):633. pmid:35922695
- 24. Li Q, Duan W, Chen Y, Ma M, Zheng X. Assessment of urban green space equity in Beijing’s central urban villages: a remote sensing perspective on environmental justice. Sustainability. 2025;17(10):4561.
- 25. Liang H, Yan Q, Yan Y, Zhang Q. Exploring the provision, efficiency and improvements of urban green spaces on accessibility at the metropolitan scale. J Environ Manage. 2024;352:120118. pmid:38266526
- 26. Russo A, Cirella GT. Modern compact cities: how much greenery do we need? Int J Environ Res Public Health. 2018;15(10):2180. pmid:30301177
- 27. Hassan YN, Zhen S, Sharbazhery AOM, Du C, Jombach S. Evaluating urban green space accessibility and per capita distribution in Erbil and Sulaymaniyah, Kurdistan region of iraq. Fábos Conf Landsc Greenway Plann. 2025;8.
- 28. Chang F, Huang Z, Liu W, Huang J. A novel framework for assessing urban green space equity integrating accessibility and diversity: a Shenzhen case study. Remote Sens. 2025;17(15):2551.
- 29. Schindler M, Le Texier M, Caruso G. How far do people travel to use urban green space? A comparison of three European cities. Appl Geogr. 2022;141:102673.
- 30. Liang H, Yan Q, Yan Y, Zhang Q. Using an improved 3SFCA method to assess inequities associated with multimodal accessibility to green spaces based on mismatches between supply and demand in the metropolitan of Shanghai, China. Sustain Cities Soc. 2023;91:104456.
- 31. Lin Y, Zhang M, Gan M, Huang L, Zhu C, Zheng Q, et al. Fine identification of the supply–demand mismatches and matches of urban green space ecosystem services with a spatial filtering tool. J Clean Prod. 2022;336:130404.
- 32. Zhang H, Zhang Z, Dong G, Yu Z, Liu K. Identifying the supply-demand mismatches of ecorecreation services to optimize sustainable land use management: a case study in the Fenghe River watershed, China. Ecol Indic. 2021;133:108424.
- 33. Xing Z, Zhao S, Li K. Evolution pattern and spatial mismatch of urban greenspace and its impact mechanism: evidence from Parkland of Hunan Province. Land. 2023;12(11):2071.
- 34. Shen Y, Sun F, Che Y. Public green spaces and human wellbeing: mapping the spatial inequity and mismatching status of public green space in the Central City of Shanghai. Urban For Urban Green. 2017;27:59–68.
- 35. Kifayatullah S, Saqib Z, Khan MI, Zaman-Ul-Haq M, Kucher DE, Ullah S, et al. Equitable urban green space planning for sustainable cities: a GIS-based analysis of spatial disparities and functional strategies. Sci Rep. 2025;15(1):22686. pmid:40595143
- 36. Wolff M, Haase D. Mediating Sustainability and Liveability—Turning Points of Green Space Supply in European Cities. Front Environ Sci. 2019;7.
- 37. Gujar S, Deshmukh A, Gupta R. Review of open space rules and regulations and identification of specificities for plot-level open spaces to facilitate sustainable development: an Indian case. IOP Conf Ser: Earth Environ Sci. 2022;1084(1):012073.
- 38. Tian Y, Jim CY, Wang H. Assessing the landscape and ecological quality of urban green spaces in a compact city. Landsc Urban Plan. 2014;121:97–108.
- 39. Chen Y, Bouferguene A, Li HX, Liu H, Shen Y, Al-Hussein M. Spatial gaps in urban public transport supply and demand from the perspective of sustainability. J Clean Prod. 2018;195:1237–48.
- 40. Liu Q, Hang T. Reassessing urban heat exposure inequity: Bridging subjective perception and objective conditions for a more accurate understanding. Sustain Cities Soc. 2025;130:106657.
- 41. Xu H, Zheng G, Jin Y. Assessing urban-park governance priority for regreening in high-density cities. Ecol Indic. 2025;178:113849.
- 42. Chen Y, Ge Y, Yang G, Wu Z, Du Y, Mao F, et al. Inequalities of urban green space area and ecosystem services along urban center-edge gradients. Landsc Urban Plan. 2022;217:104266.
- 43. Li H, Liu Y. Neighborhood socioeconomic disadvantage and urban public green spaces availability: a localized modeling approach to inform land use policy. Land Use Policy. 2016;57:470–8.
- 44. Wang M, Qiu M, Chen M, Zhang Y, Zhang S, Wang L. How does urban green space feature influence physical activity diversity in high-density built environment? An on-site observational study. Urban For Urban Green. 2021;62:127129.
- 45. Swensen G. Integration of historic fabric in new urban development—A Norwegian case-study. Landsc Urban Plan. 2012;107(4):380–8.
- 46. Wu J, Peng Y, Liu P, Weng Y, Lin J. Is the green inequality overestimated? Quality reevaluation of green space accessibility. Cities. 2022;130:103871.
- 47. Csomós G, Farkas ZJ, Kolcsár RA, Szilassi P, Kovács Z. Measuring socio-economic disparities in green space availability in post-socialist cities. Habitat Int. 2021;117:102434.
- 48. Li J, Sun S, Li J. The dawn of vulnerable groups: the inclusive reconstruction mode and strategies for urban villages in China. Habitat Int. 2021;110:102347.
- 49. Liu Q, Hang T, Wan M, Song Y. Advancing climate justice for vulnerable groups: Optimizing spatial configuration of urban blue–green infrastructure to mitigate heat risks leveraging explainable machine learning. Sustainable Cities and Society. 2026;140(107228):1.
- 50. Wang Q, Lan Z. Park green spaces, public health and social inequalities: understanding the interrelationships for policy implications. Land Use Policy. 2019;83:66–74.
- 51. Wolch JR, Byrne J, Newell JP. Urban green space, public health, and environmental justice: the challenge of making cities ‘just green enough’. Landsc Urban Plan. 2014;125:234–44.
- 52. Garber MD, Benmarhnia T, Zhou W, Mudu P, Rojas-Rueda D. Greening urban areas in line with population density and ecological zone can reduce premature mortality. Commun Earth Environ. 2024;5(1):650.
- 53. Lux MS. Networks and fragments: an integrative approach for planning urban green infrastructures in dense urban areas. Land. 2024;13(11):1859.
- 54. Kveladze I. Spatial accessibility in the urban environment of a medium-sized city: a case study of public amenities in Odense, Denmark. Urban Sci. 2025;9(10):407.
- 55. Rigolon A, Osei Owusu R, Becerra M, Cheng Y (Daniel), Christensen J, Connolly JJT, et al. Advancing green space equity via policy change: a scoping review and research agenda. Environ Sci Policy. 2024;157:103765.
- 56. LaReaux J, Watkins D. Geospatial analysis for promoting urban green space equity: case study of Detroit, Michigan, USA. Urban For Urban Green. 2025;105:128716.
- 57. Tian Y, van Leeuwen E, Tsendbazar N, Jing C, Herold M. Urban green inequality and its mismatches with human demand across neighborhoods in New York, Amsterdam, and Beijing. Landsc Ecol. 2024;39(3):60.
- 58. Wang X, Guan C. Assessing green space exposure in high density urban areas: a deficiency-sufficiency framework for Shanghai. Ecol Indic. 2025;175:113494.
- 59. Huang B, Gu J, Zhang M, Feng Z. Green space equality is better in fast-growing cities: evidence from 140 cities in China. Land. 2025;14(2):366.
- 60. He S, Li Y. Understanding impacts of neighbourhood micro-renewal through a lens of place value: a case study of Wuhan, China. Land. 2024;13(11):1910.
- 61. Li Y, Zhang S, Zhu D. Co-creation of community micro-renewals: model analysis and case studies in Shanghai, China. Habitat Int. 2023;142:102951.
- 62. Wright Wendel HE, Zarger RK, Mihelcic JR. Accessibility and usability: green space preferences, perceptions, and barriers in a rapidly urbanizing city in Latin America. Landsc Urban Plan. 2012;107(3):272–82.
- 63. Chen J, Chang Z. Rethinking urban green space accessibility: evaluating and optimizing public transportation system through social network analysis in megacities. Landsc Urban Plan. 2015;143:150–9.
- 64. Fan P, Xu L, Yue W, Chen J. Accessibility of public urban green space in an urban periphery: the case of Shanghai. Landsc Urban Plan. 2017;165:177–92.
- 65. Van Puyvelde A, Van Dyck D, Veitch J, Timperio A, Jacobs N, Van Cauwenberg J, et al. Identifying older adults’ needs for park renewal in low-income neighbourhoods: a citizen science approach. Urban For Urban Green. 2025;111:128847.
- 66. Nguyen NT, Collins AM, Collins CM. Framework for understanding public pluralities in greenspace design and consultation. npj Urban Sustain. 2025;5(1):56.