Under the dual pressures of climate change and intensive urban expansion, which jointly exacerbate urban heat risks, optimizing the urban thermal environment through vegetation has become a core pathway for climate adaptation. However, accurately quantifying the nonlinear cooling responses of vegetation under complex urban morphologies and diverse geomorphic conditions remains a major scientific challenge in achieving efficient heat-resilient urban planning. This study takes three representative megacities in China—Beijing, Shanghai, and Shenzhen—as case studies. By integrating multi-source datasets, an urban spatial morphology indicator system was constructed that encompasses key dimensions of the natural environment, urban morphology, and socioeconomic factors. Eleven machine learning models were applied to model and compare urban land surface temperature (LST). The results demonstrate that the CatBoost model exhibited superior performance in simulating complex urban thermal environments (R2 = 0.683–0.873), effectively capturing the interactive effects among multidimensional factors. The findings reveal a dual differentiation pattern of “topographic constraint–morphological dominance” in urban thermal environments: in mountainous cities, elevation and mountain forests act as rigid cooling barriers that restrict the spread of heat islands; whereas in plain cities, thermal conditions are primarily governed by the synergistic warming effects of impervious surface expansion and intensive human–economic activities. More importantly, the study identifies a significant nonlinear threshold effect of vegetation cover (NDVI) on LST reduction—only when vegetation coverage exceeds a critical threshold can large-scale cooling benefits be activated to effectively offset the thermal accumulation associated with high GDP intensity. Based on these insights, the study proposes differentiated climate-adaptive spatial planning strategies: mountainous cities should strictly maintain ecological redlines at mountain fronts to safeguard macro-scale cooling sources, while high-density plain cities should focus on integrating green space patches to surpass the “cooling threshold” and enhance vertical greening systems. These findings provide a quantitative scientific basis for improving urban thermal resilience.
Li et al. (Thu,) studied this question.