Analysis of the Spatial Pattern of Urban Vitality
Spatial Distribution Characteristics of Urban Vitality:
To better examine the spatiotemporal evolution of urban vitality in the main urban area of Yantai during both daytime and nighttime, we conducted a kernel density analysis based on heatmap data, combined with residents’ daily activity patterns, and used geographic information system (GIS) software to visualize urban vitality across different time periods. As shown in Figure 3, urban vitality in Yantai’s main urban area exhibits a distinct spatiotemporal dynamic characterized by an aggregation–dispersion–aggregation pattern from 07:00 to 23:00. The spatial distribution of high- and low-vitality areas during the day and at night is highly similar, indicating that fluctuations in urban vitality between these periods are relatively stable.

Figure 3. Spatiotemporal distribution of urban vitality in Yantai’s main urban area. The peripheral maps show urban vitality at different time points, and the central maps summarize daytime and nighttime vitality patterns. Warmer colors indicate higher vitality. Please click here to view a larger version of this figure.
From a spatial perspective, urban vitality in Yantai’s main urban area is generally higher in the northeast and lower in the southwest, exhibiting a complex spatial structure characterized by both a “center–periphery” pattern and a “multicore” configuration. Areas with high levels of urban vitality are mainly concentrated in the northeastern section, including Tongshen Street, Yuhuangding Street, and Xiangyang Street, as well as along Dahaiyang Road and Airport Road. In addition, vitality is relatively high in the eastern part of Zhichu Street and the central part of Fenghuangtai Street. Urban vitality in Yantai’s main urban area is also strongly shaped by topographic conditions. Mountainous areas in the central region, such as Huangjinding, Zhenshan, and Jinkuangding, are classified as low-vitality zones. During the daytime, vitality in these areas is somewhat enhanced by activities such as hiking and leisure, whereas nighttime vitality is extremely low. This pattern indicates a pronounced spatial disparity in the distribution of urban vitality, which tends to cluster in high-density residential areas, recreational destinations, and locations with strong transportation accessibility. This composite spatial structure confirms the coupling relationship between urban functional zoning and population mobility. Moreover, the important roles of terrain and transportation further support the hypothesis that multiple urban spatial structures jointly shape urban vitality.
From a temporal perspective, urban vitality in Yantai’s main urban area is shaped primarily by residents’ work and leisure activities. The period from 07:00 to 18:00 covers the morning peak and the daytime hours of work and study, during which residents typically commute from home to their workplaces, causing the spatial pattern of urban vitality to shift from aggregation to dispersion. The period from 18:00 to 23:00 includes the evening peak and leisure hours. In particular, after 22:00, the spatial distribution of urban vitality becomes more concentrated, while overall vitality levels decline. This reflects the fact that, on the one hand, residents return home after work and leisure activities and, on the other hand, previously active urban spaces gradually wind down for the night. Overall, the daytime–nighttime variation in urban vitality is clearly driven by residents’ daily work–rest routines. Daytime hours (07:00–18:00) represent the peak period of urban vitality, characterized by higher vitality levels, broader spatial coverage, and very few low-vitality areas. By contrast, nighttime hours (18:00–23:00) are marked by a gradual reduction in the activity range, with vitality increasingly concentrated in residential areas. These findings clearly demonstrate the time-dependent influence of work–rest activities on urban vitality in Yantai’s main urban area, reveal its diurnal evolution characteristics, fulfill the core objective of identifying the spatiotemporal pattern of urban vitality, and support the hypothesis that residents’ daily activity rhythms are closely related to urban vitality.
Spatial Clustering Characteristics of Urban Vitality:
The global Moran’s I index was employed to examine the spatial autocorrelation of urban vitality in the main urban area of Yantai City. The results show that the Moran’s I values for daytime and nighttime urban vitality are 0.722 and 0.736, respectively. The significance test indicates that urban vitality in the main urban area of Yantai City exhibits significant clustering during both the daytime and nighttime, with a more pronounced clustering effect at night than during the day.
As shown in Figure 4, urban vitality in Yantai’s main urban area mainly follows two clustering patterns: “high–high” clustering and “low–low” clustering. Although the overall spatial distribution presents an irregular composite pattern combining “center–periphery” and “one core with multiple points,” the “center” and “periphery” are spatially separated, and the transitional zones between them contain a large number of areas with no significant clustering. The results of the spatial autocorrelation analysis clearly identify the clustering patterns and spatial differentiation of urban vitality, thereby fulfilling the research objective of pattern recognition. These findings also support the relevant research hypotheses, align closely with the overall analytical framework of this study, and provide a foundation for further analysis of the differentiated effects of spatial structure.

Figure 4. Daytime and nighttime local spatial aggregation of urban vitality. Local indicators of spatial association (LISA) maps show high-high, high-low, low-high, low-low, and non-significant spatial clusters for daytime and nighttime vitality. Please click here to view a larger version of this figure.
MGWR-based Spatial Heterogeneity Effects of Urban Spatial Structure on Urban Vitality
To avoid estimation bias caused by the mutual influence among the various factors of the urban spatial structure, the variance inflation factor (VIF) was used to test all explanatory variables. The larger the VIF value, the greater the multicollinearity. Generally, a VIF value greater than 7.5 indicates that the explanatory variable is redundant32. The test results are shown in Table 2. All VIF values are less than 7.5, indicating that the selected indicators do not exhibit multicollinearity. The indicators with p > 0.05 were then removed because they were considered to have no significant impact on urban vitality. Following variable selection, the final seven factors—POI diversity, life function, residential function, building density, proximity, distance to business center (DBC), and walkability—were selected as explanatory variables to construct the MGWR model (RRID: SCR_017651). This step completed the variable selection process, and the retained core factors are consistent with the research framework, ensuring that the subsequent model analysis can effectively verify the research hypothesis.
| Variable | p-value | Variance Inflation Factor (VIF) |
| POI diversity | 0 | 1.946 |
| Economic function | 0.025 | 3.15 |
| Life function | 0.004 | 3.834 |
| Residential function | 0.001 | 1.925 |
| Building density | 0 | 3.062 |
| Floor area ratio | 0.084 | 5.723 |
| Proximity | 0 | 1.732 |
| Betweenness | 0.952 | 2.022 |
| Distance to city center | 0.458 | 1.407 |
| Distance to business center | 0.009 | 1.498 |
| Near-water index | 0.06 | 1.132 |
| Normalized Difference Vegetation Index (NDVI) | 0.118 | 1.049 |
| Building continuity | 0.364 | 2.746 |
| Sky view factor | 0.22 | 1.177 |
| Walkability | 0.004 | 2.094 |
Table 2: Multicollinearity assessment of candidate explanatory variables. The table presents the statistical significance (p-value) and variance inflation factor (VIF) for each candidate explanatory variable used during variable screening prior to multiscale geographically weighted regression (MGWR) analysis. Variables retained for subsequent modeling satisfied the predefined statistical selection criteria. Abbreviation: VIF, variance inflation factor.
Model Fit Effect:
Modeling analysis was conducted using three approaches: the global OLS model, the traditional GWR model, and the MGWR model. Model convergence was based on the SOC-f (smoothing f) criterion, in which the maximum absolute change in all estimated regression coefficients between two successive iterations was used as the convergence criterion. The convergence threshold was set at 1.0 × 10⁻5, and the maximum number of iterations was set at 200. The daytime and nighttime models adopted the same methodological settings, including the kernel function, bandwidth search rule, convergence criterion, and other parameter settings, to ensure comparability of the results; only the dependent variables differed, and thus the estimated optimal bandwidths and regression coefficients also differed. The results show that the daytime model converged after 28 iterations and the nighttime model after 34 iterations. Both models satisfied the convergence threshold, indicating that the estimation results were stable and reliable. The indicators for the three models are reported in Table 3.
| Category | Variable | OLS | GWR | MGWR |
| Model performance | AICc | 6703 | 4417 | 3463 |
| Adjusted R² | 0.62 | 0.56 | 0.8 |
| Optimal variable bandwidth (MGWR) | POI diversity | — | 53 | 239 |
| Life function | — | — | 724 |
| Residential function | — | — | 256 |
| Building density | — | — | 237 |
| Proximity | — | — | 921 |
| Distance to business center | — | — | 2220 |
| Walkability | — | — | 2220 |
Table 3: Comparison of model performance among ordinary least squares (OLS), geographically weighted regression (GWR), and multiscale geographically weighted regression (MGWR). The table compares the performance of the ordinary least squares (OLS), geographically weighted regression (GWR), and multiscale geographically weighted regression (MGWR) models using the corrected Akaike information criterion (AICc) and adjusted coefficient of determination (Adjusted R2). The optimal bandwidth estimated for each explanatory variable in the MGWR model is also reported, illustrating the variable-specific spatial scales of the regression analysis. Abbreviations: AICc, corrected Akaike information criterion; OLS, ordinary least squares; GWR, geographically weighted regression; MGWR, multiscale geographically weighted regression.
As shown in Table 3, the MGWR model has a lower AICc value and a higher adjusted R2 than the OLS and GWR models, demonstrating superior model fit. In addition, compared with the OLS and GWR models, the MGWR model allows each explanatory variable to have its own optimal bandwidth, with bandwidths ranging from 237 to 2,220. This indicates that the effects of different variables on urban vitality vary significantly across spatial scales.
Among the variables, the bandwidths of DBC and walkability are close to the full sample size, suggesting that their effects are mainly global rather than local. This may be because these factors show relatively limited spatial variation across most areas. As indicators representing socioeconomic conditions and street-environment characteristics closely related to human perception, they exert an overall influence on urban vitality. By contrast, the five variables of POI diversity, life function, residential function, building density, and proximity have relatively small bandwidths, indicating that their effects are concentrated at the local spatial scale. These factors reflect residents’ differentiated demands for functional complexity, living environment, and accessibility and may therefore attract or constrain different types of activities in local spaces, thereby shaping urban vitality.
In particular, the bandwidths of POI diversity, residential function, and building density are 239, 256, and 237, respectively, accounting for 11%, 12%, and 11% of the full sample. The bandwidths of life function and proximity cover a larger proportion of the sample, corresponding to 33% and 41%, respectively, suggesting that their effects operate over a broader spatial scale. Overall, the advantages of the MGWR model are evident. The varying effect scales of the explanatory variables further support the hypothesis of spatial heterogeneity and confirm the appropriateness of the model selected for this study.
Significance of the Impact:
The statistical results of the regression coefficients obtained from the MGWR model are presented in Table 4. Based on the absolute values of the average regression coefficients, the contributions of the urban spatial structure variables during the daytime are ranked as follows: POI diversity > accessibility > building density > life function > residential function > walkability > DBC. At nighttime, the ranking shifts slightly to: POI diversity > life function = residential function > building density > walkability > DBC > accessibility.
| Variable | Daytime Mean | Daytime SD | Daytime Median | Nighttime Mean | Nighttime SD | Nighttime Median |
| POI diversity | 0.226 | 0.126 | 0.196 | 0.322 | 0.096 | 0.315 |
| Life function | 0.088 | 0.006 | 0.088 | 0.145 | 0.075 | 0.153 |
| Residential function | 0.019 | 0.158 | 0.004 | 0.145 | 0.173 | 0.123 |
| Building density | 0.132 | 0.029 | 0.131 | 0.070 | 0.126 | 0.053 |
| Proximity | 0.165 | 0.188 | 0.121 | 0.030 | 0.048 | 0.024 |
| Distance to business center | −0.010 | 0.004 | −0.010 | 0.032 | 0.003 | 0.031 |
| Walkability | 0.011 | 0.002 | 0.011 | 0.039 | 0.002 | 0.039 |
Table 4: Summary statistics of regression coefficients estimated by the multiscale geographically weighted regression (MGWR) model. The table summarizes the distribution of regression coefficients estimated by the multiscale geographically weighted regression (MGWR) model for daytime and nighttime urban vitality. For each explanatory variable, the mean, standard deviation (SD), and median regression coefficients are reported, allowing comparison of the magnitude and variability of the effects across the two time periods. Abbreviations: MGWR, multiscale geographically weighted regression; SD, standard deviation.
Notably, POI diversity consistently demonstrates the greatest contribution to urban vitality during both the daytime and nighttime, with a positive effect. This indicates that areas characterized by a diverse range of urban facilities and a high degree of functional mixing are particularly attractive to urban residents, thereby enhancing urban vitality. During the daytime, residents’ activities are primarily oriented toward commuting, office work, and public services; therefore, proximity and building density play important roles. At nighttime, residents’ activities shift toward residence, leisure, and local consumption, and the contributions of life function and residential function increase significantly, whereas the contribution of proximity declines markedly. This day–night difference in ranking directly reflects the structural shift in the mechanisms driving urban vitality as residents’ daily activity patterns change, providing a macroscopic basis for subsequent differentiated planning by zone and time period.
As illustrated in Figure 5, analysis of the variations in regression coefficients and differences in impact zones after screening the influencing factors reveals that the effects of life function, DBC, and walkability are relatively stable during the daytime. Life function and walkability have positive effects, whereas the distance to the business center exhibits both positive and negative effects. The impact ranges of POI diversity, residential function, and accessibility fluctuate substantially and likewise exhibit both positive and negative effects. The influence of building density varies within a certain range but remains positive. At nighttime, the effects of DBC and walkability are more stable and both remain positive. In contrast, the effects of POI diversity, residential function, and building density show considerable variation, with POI diversity exhibiting a positive effect, whereas residential function and building density demonstrate both positive and negative relationships with urban vitality. The effects of life function and accessibility also vary within a certain range.

Figure 5. Distribution of regression coefficients from the multiscale geographically weighted regression model. Violin plots compare daytime and nighttime coefficient distributions for each influencing factor. Wider regions indicate higher coefficient density; positive values indicate promoting effects, and negative values indicate inhibitory effects. Please click here to view a larger version of this figure.
Spatial Heterogeneity of Impact
To further analyze the spatial heterogeneity of the effects of urban spatial structure on urban vitality, samples with significant influence levels were selected. The daytime and nighttime regression coefficients of each urban spatial structure element were visualized (Figures 6 and 7). Using the natural breakpoint classification method, the regression coefficients were divided into 10 levels to illustrate the spatial extent, intensity, and directional changes of their effects.

Figure 6. Daytime spatial distribution of multiscale geographically weighted regression coefficients. Maps show the spatial variation in daytime regression coefficients for points of interest diversity, life function, residential function, building density, proximity, S, and walkability. Color gradients indicate coefficient magnitude as shown in each panel legend. Please click here to view a larger version of this figure.

Figure 7. Nighttime spatial distribution of multiscale geographically weighted regression coefficients. Maps show the spatial variation in nighttime regression coefficients for points of interest diversity, life function, residential function, building density, proximity, distance to business center, and walkability. Color gradients indicate coefficient magnitude as shown in each panel legend. Please click here to view a larger version of this figure.
POI diversity measures the diversity and complexity of urban functions within each spatial unit. The core mechanism underlying urban vitality lies in the diversity of destinations and the synergistic effects of activities. The higher the POI diversity of an area, the better it can satisfy residents’ diverse needs for shopping, dining, entertainment, and daily services within the same space, thereby reducing the need for cross-regional travel, prolonging pedestrian stay duration, and enhancing the intensity of spatial utilization. The results show that POI diversity has the strongest influence on urban vitality and exhibits significant spatial variation. Specifically, its distribution is relatively concentrated in areas with high and low effects: stronger influences are mainly observed in the urban center, whereas weaker influences are mainly found in the urban periphery. The overall regression coefficients are predominantly positive, indicating a clear positive relationship, with only a small number of weak negative associations. This suggests that, in most areas, higher POI diversity is associated with greater urban vitality. Moreover, the spatial differentiation in the effects of POI diversity on urban vitality is more pronounced at night than during the day, making it the most influential factor at night. This diurnal difference can be attributed to the structural differentiation of residents’ activity demands between the daytime and nighttime. During the daytime, mixed land use mainly accommodates commuting and short-term, fragmented consumption demands during breaks, and its role in attracting pedestrian activity is relatively limited. At night, however, people’s activities shift toward leisure, social interaction, and experiential consumption. In this context, areas with high POI diversity can provide varied and continuous nighttime consumption scenarios, effectively extending residents’ outdoor stay time and thereby exerting a more prominent driving effect on nighttime vitality.
Life functions encompass facilities related to education, science, culture, health, transportation, and public services that meet residents’ daily needs. Their mechanism of influence lies in the formation of an activity–destination network: these facilities not only attract pedestrian flows themselves but also, through synergy with other functions, generate stable activity flows. The regression results show that the positive effect of life functions on daytime vitality remains stable, with coefficients ranging from 0.078 to 0.098 and only minor fluctuations in effect intensity. By contrast, the coefficient range for nighttime expands to 0.005–0.256, indicating a significantly broader spatial influence. Taking Zhichu Street and Xingfu Street as the core area, the degree of influence gradually increases from the center to the surrounding areas. Although this region is characterized by a concentrated population distribution, its urban planning is relatively outdated and constrained by economic development, resulting in a lower overall provision of entertainment facilities and other life-function amenities than in the eastern part of the city. As a result, its attractiveness to residents is weaker, and its influence on urban vitality is less pronounced. This temporal variation reflects a shift in residents’ activity purposes. During the daytime, life functions are primarily oriented toward public services, and pedestrian flows remain relatively stable. At night, however, they are supplemented by leisure and entertainment demands, forming a complementary relationship with consumption-oriented functions such as dining and shopping, which enables life functions to exert a stronger driving effect on urban vitality over a broader spatial range.
Residential functions constitute the spatial foundation that accommodates residents’ nighttime return and stay. Their relationship with urban vitality follows markedly different patterns during the daytime and nighttime. During the daytime, residential areas serve as the starting point of population outflow; therefore, simply increasing residential density does not necessarily enhance urban vitality. Without supporting commercial and service facilities, high-density residential areas may instead become “sleeping towns” with weak vitality. At night, however, residents return home, and residential areas become the spatial basis for nighttime activities. The results indicate that although the residential function variable exhibits a relatively weak overall average effect, it still shows evident spatial heterogeneity and differentiation in certain areas, and the spatial distribution of this influence is broadly similar during both the daytime and nighttime. In areas around Hongrun Materials Market, Fruit Wholesale Market, Fenghuangtai Primary School, and Jinxiu Xincheng, residential functions are densely distributed, yet their relationship with urban vitality is negative. This suggests that adding more residential functions in these areas does not enhance urban vitality; instead, excessive residential concentration may inhibit nighttime social and consumption activities because of spatial congestion and a lack of supporting facilities. By contrast, in Shihuiyao Street, residential functions are positively associated with urban vitality, indicating that residential facilities in this area play a stronger role in supporting urban vitality and exert greater attraction for residents.
Building density reflects the intensity of development within a given area, and its underlying mechanism lies in providing the physical basis for population aggregation: higher building density indicates greater population-carrying capacity as well as a denser concentration of employment opportunities and commercial outlets. The results of this study show that building density exerts an overall positive effect on urban vitality during the daytime, with its influence gradually weakening from east to west, forming a clear concentric structure. In the western part of the city, the effect of building density on urban vitality is weaker than that in the eastern part, suggesting that increasing building density in western areas is less effective in enhancing urban vitality than in eastern areas. At night, however, the effect displays a bidirectional pattern. The influence of building density on urban vitality is negatively correlated in the western part of Xingfu Street near the Jiahe River and in the low-value clusters of Zhichu Street, with relatively small variations in magnitude. This diurnal difference stems from functional differentiation: during the daytime, high-density built-up areas concentrate office and commercial functions and serve as the primary zones of population inflow; at night, however, some high-density business districts experience a dispersal of people, and urban vitality shifts outward to surrounding residential areas. In this sense, high-density built-up areas function as centers of vitality aggregation during the day, whereas at night they become sources of vitality diffusion, promoting surrounding vitality through outward spillover.
Proximity measures the efficiency of road network connectivity and determines how conveniently residents can reach various types of destinations. Its core mechanism lies in reducing travel-time costs and expanding the spatial range of activities; higher proximity directly increases the likelihood and frequency of place visitation. The results of this study show that proximity is the second most important driving factor during the daytime, ranking only behind POI diversity, whereas its influence declines substantially at night. This marked day–night contrast reflects a fundamental shift in residents’ activity patterns. During the daytime, activities such as commuting, errands, and business affairs place relatively high demands on transportation and depend heavily on accessibility. At night, however, residents’ activities become more home-centered, the activity radius shrinks, and the main purposes of travel shift toward leisure and consumption, making residents significantly less sensitive to road network accessibility. In addition, proximity exhibits a bidirectional local effect: it has a strong positive association with urban vitality along the Jiahe River, as well as in Zhichu Street and Fenghuangtai Street, whereas it shows a weak negative association in sparsely populated areas north of Xingfu Street. This suggests that the vitality-driving effect of proximity depends on the presence of sufficient pedestrian demand.
DBC measures the proximity of each spatial unit to the city’s core commercial district, reflecting locational advantages in terms of access to employment opportunities, consumption settings, and economic externalities. Its underlying mechanism lies in agglomeration economies and consumer accessibility: the closer an area is to the commercial center, the denser the employment opportunities, the richer the consumption choices, and the more active the socioeconomic interactions, thereby attracting greater pedestrian flow. The results of this study show that the influence of DBC on daytime urban vitality decreases from south to north and exhibits a negative correlation. Areas in the south are farther from the commercial center and therefore have a weaker influence on urban vitality, whereas areas north of Kuiyu Road are closer to the commercial center and thus exert a stronger effect. At night, however, the relationship becomes positive, with two annular zones formed on the north and south sides of Hongqi Road, and the influence gradually increases from the center toward the surrounding areas. This day–night reversal reveals the underlying logic of spatial structure: during the daytime, the commercial center serves as the core destination for employment and consumption, driving inward population concentration; at night, residents return to homes distributed throughout the city, and residential areas farther from the commercial center instead experience increased vitality because of population return.
Walkability measures the pedestrian-friendliness of the street environment and serves as a key bridge between the physical space and human perception. Its distinctive mechanism lies not in directly generating pedestrian flows but in improving the walking experience, enhancing feelings of safety and comfort, prolonging pedestrian stay time, and facilitating social interaction, thereby contributing to urban vitality. In this study, walkability shows a stable positive effect on urban vitality during both the daytime and nighttime, indicating that its influence is global in nature and that pedestrian-friendly street environments generally enhance spatial vitality. During the daytime, the influence of walkability on urban vitality forms low-vitality zones in Zhujia Village and Fenghuangtai Street. This may be mainly because pedestrian flows near Zhujia Village are relatively limited and residents there have a lower reliance on sidewalks. In Fenghuangtai Street, building distribution is dense and the street layout is outdated; sidewalks are narrow and frequently encroached upon, resulting in limited support for vitality aggregation through non-motorized travel. At night, the influence of walkability gradually decreases from the southwest to the north, with a stronger effect in the southern part of the city and a relatively weaker effect in the north. This pattern is related to the distribution of pedestrian flows, transportation facilities, and regional development disparities in Yantai’s main urban area. Moreover, the effect of walkability is relatively stronger at night, reflecting the higher dependence of nighttime activities on perceived safety and environmental quality. Good lighting, continuous sidewalks, and well-defined street enclosure can effectively reduce the sense of insecurity during nighttime travel, thereby unlocking the potential of nighttime urban vitality.
Representative Areas and Urban Vitality Optimization Framework
To further illustrate the spatial heterogeneity identified by the MGWR analysis, representative neighborhoods with different urban spatial characteristics were selected for field investigation (Figures 8 and 9). These examples provide visual evidence of the spatial conditions associated with the analytical results.

Figure 8. Existing conditions of old blocks in Xingfu New Town. Representative photographs show street and built-environment conditions, including uneven public facility distribution and limited street environmental quality. Please click here to view a larger version of this figure.

Figure 9. Existing conditions of old communities in Nangou Street-Jinde and Baishi-Huangshan. Representative photographs show dense residential housing, limited public open space, and current neighborhood environmental conditions. Please click here to view a larger version of this figure.
Figure 8 shows Xingfu New Town, a representative older neighborhood characterized by an uneven distribution of public service facilities and relatively poor street environmental quality. Figure 9 presents representative residential neighborhoods in the Nangou Street–Jinde and Baishi–Huangshan areas, which are characterized by dense residential development, limited public open space, and relatively monotonous street interfaces. These observed spatial characteristics are consistent with the analytical results describing differences in the effects of life functions and residential functions on urban vitality.
Figure 10 summarizes the relationships between the major dimensions of urban spatial structure and their influences on urban vitality. Based on the results of the MGWR analysis, the framework integrates the identified driving factors and their interactions to provide an overall conceptual representation of the mechanisms influencing daytime and nighttime urban vitality.

Figure 10. Optimization mechanism for urban spatial structure and vitality enhancement. The diagram summarizes vitality improvement strategies across functional elements, architectural form, accessibility, socioeconomic factors, ecological space, and human perception, with consideration of daytime and nighttime vitality differences. Please click here to view a larger version of this figure.
Data Availability:
All data supporting the findings of this study are provided within the article and its supplementary materials. These include Supplementary Figure 1; Supplementary Files 1–7, which describe the data collection, preprocessing, analytical workflows, model outputs, and regression diagnostics; Supplementary Codes 1–4, which contain the Python scripts and Jupyter notebooks used for data preprocessing and street-view image processing; and Supplementary Data 1–3, which provide the original, standardized, and processed urban spatial structure indicator datasets used in the analyses.
Supplementary Figure 1. Validation of heatmap-derived urban vitality using nighttime light intensity. Comparison of the spatial distribution of nighttime light intensity (left) and nighttime urban vitality derived from Baidu heatmap data (right). Representative hotspot areas are highlighted to demonstrate the spatial agreement between the two datasets, supporting the use of heatmap-derived activity intensity as a proxy for urban vitality in the study area. Please click here to download this file.
Supplementary File 1. Baidu heatmap data collection and processing workflow. This file describes the workflow for Baidu heatmap data acquisition, preprocessing, denoising, temporal classification, spatial transformation, kernel density estimation, and calculation of daytime and nighttime urban vitality at the 300 m × 300 m grid scale. Please click here to download this file.
Supplementary File 2. Urban spatial structure indicator definitions and calculation procedures. This file provides the definitions, computational equations, preprocessing procedures, parameter settings, and normalization methods for all urban spatial structure indicators used in the analysis, including functionality, architectural form, accessibility, socioeconomic characteristics, ecological space, and human perception. Please click here to download this file.
Supplementary File 3. Street-view image acquisition and analysis workflow. This file describes the street-view image sampling strategy, image acquisition parameters, panoramic image generation, semantic segmentation using the SegNet model, model validation, and calculation of the human-perception indicators derived from street-view imagery. Please click here to download this file.
Supplementary File 4. Multiscale geographically weighted regression (MGWR) modeling workflow. This file describes the MGWR modeling procedure, including data preprocessing, variable selection, multicollinearity assessment, model configuration, bandwidth optimization, parameter settings, model implementation, and comparison of ordinary least squares (OLS), geographically weighted regression (GWR), and MGWR model performance. Please click here to download this file.
Supplementary File 5. Daytime multiscale geographically weighted regression (MGWR) output. Complete daytime MGWR model output, including global regression statistics, bandwidth optimization, diagnostic metrics, parameter estimates, and summary statistics used to evaluate the spatial heterogeneity of daytime urban vitality. Please click here to download this file.
Supplementary File 6. Nighttime multiscale geographically weighted regression (MGWR) output. Complete nighttime MGWR model output, including global regression statistics, bandwidth optimization, diagnostic metrics, parameter estimates, and summary statistics used to evaluate the spatial heterogeneity of nighttime urban vitality. Please click here to download this file.
Supplementary File 7. Ordinary least squares (OLS) regression diagnostics and model evaluation. Diagnostic outputs for the OLS model, including multicollinearity assessment, regression diagnostics, residual analyses, and supporting plots used for comparison with geographically weighted regression models. Please click here to download this file.
Supplementary Code 1. Python workflow for Baidu heatmap data preprocessing. Python script used for preprocessing raw heatmap data, including duplicate removal, missing-value filtering, timestamp conversion, daytime/nighttime classification, coordinate standardization, and export of processed datasets for subsequent spatial analyses. Please click here to download this file.
Supplementary Code 2. Street-view image stitching workflow. Jupyter notebook implementing street-view image processing, including image stitching and panoramic image generation for subsequent streetscape analysis. Please click here to download this file.
Supplementary Code 3. Street-view image acquisition workflow. Jupyter notebook used to retrieve street-view images through the Baidu Street View application programming interface (API), organize image metadata, and prepare images for semantic segmentation. Please click here to download this file.
Supplementary Code 4. Street-view image processing workflow. Jupyter notebook used to process and integrate street-view imagery prior to extraction of the human-perception indicators. Please click here to download this file.
Supplementary Data 1. Original urban spatial structure indicator dataset. Raw indicator values compiled before preprocessing and standardization for all spatial units included in the study. Please click here to download this file.
Supplementary Data 2. Standardized urban spatial structure indicator dataset. Standardized predictor variables used as inputs for the multiscale geographically weighted regression analyses. Please click here to download this file.
Supplementary Data 3. Filtered and processed urban spatial structure indicator dataset. Quality-controlled dataset after preprocessing and variable screening, used for statistical analyses and model development. Please click here to download this file.