Introduction

The dynamics of ecosystem spatial patterns are closely linked to land use and land cover (LULC)1,2,3. LULC patterns represent the spatial arrangement and combination of different types, highlighting their heterogeneity4,5,6. Reasonable changes in LULC can have positive effects on the ecological environment, while excessive development can lead to issues such as desertification, vegetation degradation, and reduced water areas7,8,9. The analysis of landscape patterns primarily focuses on landscape heterogeneity and dynamics, with landscape pattern indices providing a quantitative description of changes in these patterns10,11,12,13. Studying changes in LULC within a basin is crucial for understanding shifts in the ecological environment. Previous studies have primarily utilized remote sensing to investigate changes in the spatial distribution of land use6,14,15,16, assess the impact of these changes on ecosystem services17,18,19,20, simulate scenarios of land use changes21,22,23,24, and evaluate their potential effects on ecosystems25,26,27.

In recent years, scholars have increasingly expressed concern about the impact of ecological policies and projects on the environment. Wang et al. revealed that urban and rural construction land undergoes the most significant annual changes in the middle and lower reaches of the Yellow River Basin, identifying population and GDP as the main driving factors28. Pan et al. indicated a negative correlation between the expansion of built-up land and changes in ecological quality in Quanzhou city, southeast China, from 1989 to 2018. They found that government policies significantly influenced land use changes, urbanization, and eco-environmental changes29. However, Xiong et al. discovered that climate change, ecological restoration measures, urbanization, and reservoir impoundment did not significantly alter the spatial distribution patterns of land use or the climate driving mechanisms of vegetation growth in the Three Gorges Reservoir intervening basin30. Bufebo and Elias identified agricultural expansion, policy changes, social unrest, population pressure, land shortage, and biophysical factors as the major driving forces behind the LULC changes in the Shenkolla watershed in south-central Ethiopia31. While previous studies have mainly focused on the evolution of river basins, comprehensive research on the overall ecological quality characteristics and changes within river basins is lacking. Additionally, there is a need for more quantitative research on how to implement differentiated land and ecological protection policies based on regional characteristics.

In this study, we focus on the upper and middle reaches of the Fenhe River Basin and examine the dynamic characteristics of the ecological system pattern from 2010 to 2020 using remote sensing data. The objectives of this study are (1) to identify the spatial-temporal trends and strength of basin vegetation over the last decade; (2) to assess the spatial-temporal complexity of the landscape pattern of LULC in the Fenhe River Basin, providing a scientific basis for planning, constructing, and managing ecological governance and restoration projects; and (3) to display the spatial-temporal dynamics of both vegetation and LULC during the last decade. This research could provide deep insights for local ecological protection and high-quality development practices in the Yellow River Basin.

Materials and methods

Description of study area

The Fenhe River Basin, know as the “mother river” of Shanxi Province, is located in the central part of the region (35°-39°N,110°-113°E). It serves as an important ecological functional area, a densely populated region, a significant grain and cotton production zone, and an economically developed area. As part of the national strategy for ecological protection and high-quality development of the Yellow River Basin, the Fenhe River plays a crucial role as the second largest tributary of the Yellow River32,33,34. The terrain of the basin generally slopes from the river valley to the east and west, with elevation increasing from south to north. The land cover in the basin is diverse, primarily comprising cultivated land in the Fenhe River valley, as well as grasslands, forests, and shrublands in the mountains and hills on both sides of the basin. The urban built-up area also occupies a significant portion, primarily distributed along the riverbanks35.

The Fenhe River Basin experiences a typical temperate continental semi-arid monsoon climate, characterized by four distinct seasons. The average annual temperature ranges from 6 to 13 °C, while the average annual rainfall varies from 400 to 700 mm. The rainy season accounts for 78.8% of the total annual precipitation. In this study, we focus on the upper and middle reaches of the river, extending from its source in Ningwu to the Wangzhuang section in Lingshi county. The basin covers an area of 26,210 km2, which accounts for 25.5% of the total provincial area (Fig. 1). Spatial shapefiles of the Fenhe watershed boundary can be freely obtained from Natural Earth, which is within the public domain or available under open access licenses36.

Fig. 1
figure 1

Location of the up and middle stream of the Fenhe River.

Research methods

Data sources

The Normalized Difference Vegetation Index (NDVI) is used to analyze changes in vegetation within the basin. The NDVI remote sensing data is derived from NASA MODIS data (MOD13A3), with a monthly scale and a spatial resolution of 1 km. This dataset covers the period from 2010 to 2020, totaling 132 datasets.

To evaluate land cover and land use changes in the basin, LULC remote sensing data from the years 2010, 2015, and 2020 is used. This data is sourced from the Global Land Cover Types dataset published by the Remote Sensing Center of Tsinghua University37.

The LULC data is a fine-resolution (500 m) product that enables dynamic monitoring of global surface land cover from 2001 to 2020 (https://lpdaac.usgs.gov/products/mcd12q1v006/). This dataset was produced using all available Landsat data from the same period, with annual updates. The overall classification accuracy and Kappa coefficient exceed 91% and 0.8738, respectively, indicating the effectiveness of the LULC classification in this study. The spatial resampling resolution of the data is 1 km, which has been widely used to reflect vegetation dynamics39,40. Given that the basin covers an area of 26,210 km2, the 1 km spatial resolution adequately represents vegetation dynamics. Land use types are classified into six categories after spatial resampling and reclassification: Cultivated Land, Forest, Grass Land, Artificial Surfaces, Useless Land, and Water Wetland.

We creat the map using the “sf” package in R (version 4.2.0, https://cran.r-project.org), and the shapefiles utilized for the map are sourced from the Map Technology Review Center of the Ministry of Natural Resources of China. The National Standard Map Service System, which was launched in October 2016, is openly accessible at http://bzdt.ch.mnr.gov.cn/. All map data can be accessed freely.

Time trend analysis methods

The trend analysis employed the non-parametric Mann-Kendall and Theil-Sen’s slope methods. The Mann-Kendall trend test is a non-parametric approach that does not require the data to follow a specific distribution, such as a Gaussian distribution, and it can also handle missing data. This method is widely used and practical for trend analysis. Theil-Sen’s slope is used to calculate the slope of the trend and can be effectively combined with the Mann–Kendall test. This combination has incerasingly been adopted for analyzing long time series of vegetation, reflecting the variations in trends for each pixel over time41. The Theil–Sen Median slope test calculates the median slopes from all n(n − 1)/2 pair-wise combinations of the time series data, representing the increase or decrease in NDVI on a pixel scale over the 11-year period from 2010 to 2020.

$$\beta _{{{\text{NDVI}}}} = {\text{ median}}\left[ {\left( {{\text{NDVI}}_{j} - {\text{ NDVI}}_{i} } \right)/\left( {j{\text{ }} - {\text{ }}i} \right)} \right],~{\text{2}}0{\text{1}}0 \le I < j \le {\text{2}}0{\text{2}}0$$
(1)

where, βNDVI represents the Theil–Sen median, and NDVIi and NDVIj represent the NDVI values for years i and j. If βNDVI > 0, it indicates a rising trend in the NDVI. Conversely, if βNDVI < 0, it suggests a decreasing trend in the NDVI.

The Mann–Kendall test calculates the significance of a trend using the following formula. It is assumed that the time sereies data consists {NDVIi}, where i = 2010, 2001, …, 2020.

The statistics of Z is defined as:

$$Z\:=\left\{\begin{array}{cc}(S-1)/\sqrt{s\left(S\right)},&\:S>0\\\:0,&\:S=0\\\:(S+1)/\sqrt{s\left(S\right)},&\:S<0\end{array}\right\}$$
(2)
$$S=\:{\sum\:}_{j=1}^{n-1}{\sum\:}_{i=j+1}^{n}sgn({NDVI}_{j}-{NDVI}_{i})$$
(3)
$$sgn\left({NDVI}_{j}-{NDVI}_{i}\right)=\:\left\{\begin{array}{cc}1,&\:{NDVI}_{j}-{NDVI}_{i}>0\\\:0,&\:{NDVI}_{j}-{NDVI}_{i}=0\\\:-1,&\:{NDVI}_{j}-{NDVI}_{i}<0\end{array}\right\}$$
(4)
$$s\left( S \right) = {\text{ }}\left[ {n\left( {n - {\text{ 1}}} \right){\text{ }}\left( {2n + 5} \right){\text{ }}/{\text{18}}} \right]$$
(5)

where NDVIi and NDVIj represent the NDVI values of pixels i and j; n is the length of the time series; sgn is a sign function; and the Z statistic is valued in the range of (−∞, +∞); s(S) is the variance and S is the Kendall sum statistic. A given significance level, |Z| > u0.025=1.96, signifies that the time series shows significant variations at a statisticcal confidence level of 0.05.

Landscape index analysis

The Shannon’s Diversity Index (SHDI) was used to measure landscape heterogeneity42. SHDI quantifies the complexity of landscape patterns, also referred to as pattern diversity. It emphasizes the significance of rare patch types in providing valuable information. SHDI is an effective indicator for comparing and analyzing changes in diversity and heterogeneity across different landscapes or within the same landscape over time43,44. The formula for calculation is as follows.

$$SHDI=\:-\sum\:_{i=1}^{m}({P}_{i}\ast\:ln{P}_{i})$$
(6)

where Pi is the proportion of class i and m is the number of classes. The SHDI value is always larger than zero.

In our LULC analysis, we used remote sensing data with a spatial resolution of 0.5 km to capture the landscape pattern. SHDI is a widely used metric in biodiversity and ecology that considers both the number of classes and the abundance of each class. The SHDI ranges from zero to higher values, with SHDI equal to zero when only one patch is present. As the number of classes increases, SHDI value rises without limit, particularly when the proportions are evenly distributed. For each 500 m spatial resolution pixel in the study area, we calculated the SHDI and displayed these dynamics spatially and temporally. We believe that higher SHDI values indicates less interference from human activities. The six land cover types effectively reflect the changes in “natural” land cover. By comparing different years, we were able to identify the dynamic characteristics of LULC.

Spatial statistical methods

Spatial data was analyzed using ArcGIS 10.4 software and the R programming language for trend analysis and spatial overlay analysis. Trend analysis employed the M-K Kendall statistical method with a significance level of 0.05, which involved calculating statistical change slopes, assessing change significance, and mapping their spatial distribution. Land use transition analysis was performed using ArcGIS to develop land use transition matrices. The landscape index of SHDI was analyzed using the R package “landscapemetrics.” Data visualization was accomplished with the “tidyverse” packages in R (version 4.2.0, https://cran.r-project.org ).

Results and analysis

Spatial-temporal dynamics of NDVI in the Upper and Middle reaches of the Fenhe River Basin

Vegetation coverage plays a crucial role in regional environmental change and monitoring studies45,46. A widely used and practical method for measuring vegetation coverage is the NDVI. Figure 2 illustrates the remote sensing data interpretation used to estimate vegetation coverage. Regions with NDVI ≤ 0 represent non-vegetated areas, while areas with NDVI > 0 indicate vegetated regions. Analyzing the spatiotemporal changes in vegetation coverage over the past 11 years (2010–2020), there has been a noticeable increasing trend in average annual NDVI values, particularly in regions indicated by the green portion.

Fig. 2
figure 2

Spatial distribution of annual variation NDVI during Jan. 2010 and Dec. 2020.

Figure 3 illustrates the monthly spatial variation of NDVI from 2010 to 2020. Generally, NDVI values are higher during the summer months (June to August) and lower during the winter months (December, January, and February).

Fig. 3
figure 3

Spatial distribution of monthly variation NDVI during Jan. 2010 and Dec. 2020.

Figure 4 depicts the shifting NDVI pattern in the study area from 2010 to 2020. The annual trend chart clearly shows a consistent upward linear regression trend, with an annual increase in NDVI of 0.003 (P < 0.001). Analyzing the average monthly NDVI changes over the 11-years period in the upper and middle reaches of the Fenhe River Basin, it is evident that the NDVI peaks in August (0.681) and hits its lowest point in January (0.214).

Fig. 4
figure 4

The annual and monthly variation of NDVI in study area.

Figure 5a presents the spatial analysis of multi-year monthly NDVI at each grid points, utilizing the Mann-Kendall trend analysis and Sen’s slope analysis. The NDVI remote sensing data has a spatial resolution of 1 km. The overall trend of NDVI slopes is positive, indicating an increase in NDVI and improved vegetation coverage. However, there are areas with negative slopes, particularly in low-altitude regions experiencing rapid urban development. Figure 5b displays the spatiotemporal distribution of NDVI trends at a 1 km resolution in the upper and middle reaches of the Fenhe River Basin. The significance of NDVI changes is categorized into four classes: extremely significant (P < 0.001), significant (P < 0.05), slight change (P < 0.1), and no significant change (P > 0.1). Spatially, regions with extremely significant and significant changes are primarily found in high-altitude mountainous areas with minimal human disturbance, where vegetation coverage consists mostly forests or grasslands. In contrast, areas with no significant change are mainly concentrated in low-altitude urban zones.

Fig. 5
figure 5

Spatial distribution of NDVI variation trend slope and significance level from 2010 to 2020 (a variation trend; b significance testing).

Spatial-temporal dynamics of LULC

Urbanization is the main driving force behind the changes in LULC in this region47. By examining the LULC changes over multiple years and making comparisons, we can better understand how different land types are evolving. One particular concern is the alteration of wetlands or water bodies within the Fenhe River Basin. Figure 6 presents remote sensing data on LULC for the upper and middle reaches of the Fenhe River Basin for the years 2010, 2015, and 2020, which have been categorized into six land types after resampling.

The land use data reveal that forests dominate high-altitude mountainous regions, while cultivated land is more prevalent in low-altitude areas. In 2010, cultivated land and forests accounted for the largest proportions of the total area, approximately 43.0% and 43.2%, respectively. Water bodies or wetlands covered around 4.2% of the area. By 2015, the land use structure still showed that cultivated land and forests as the largest categories, at about 35.1% and 31.3% of the total area, respectively. Grassland incerased significantly, rising from 7.6% in 2010 to 28.7% in 2015. However, water bodies or wetlands experienced a substantial decline, dropping to only 0.7%. By 2020, the land use structure remained similar, with cultivated land and forests continuing to dominate, accounting for approximately 37.7% and 30.2% of the total area, respectively. The proportion of grassland decreased from 28.7% in 2015 to 24.4% in 2020, and the area of water bodies or wetlands further decreased to just 0.3%.

Fig. 6
figure 6

Spatial distribution of LULC in the study area (a 2010, b 2015, c 2020).

As shown in Fig. 7, from 2010 to 2015, water bodies or wetlands experienced a significant decrease, with the majority being converted to cultivated land (51.3%), and some transformed into artificial surfaces (33.9%). Only a small proportion shifted to grassland or forests (2.2%), while maintaining their original status as water body or wetlands. Similarly, from 2015 to 2020, there was another significant reduction in water bodies or wetlands, primarily converting to cultivated land (44.0%) and artificial surfaces (18.4%). Wetlands or water bodies that remained accounted for 16.3% of land use during this period.

Fig. 7
figure 7

The Sankey diagram of the land use transfer percentage during the year of 2010-2015-2020.

Spatial-temporal change of Landscape spatial structure

Figure 8a illustrates the SHDI of LULC landscapes in the upper and middle reaches of the Fenhe River Basin in 2010, at a spatial resolution of 1 km. In the high-altitude boundary areas of the basin, SHDI values are below 1.0 and approach 0 near the edges. These regions, characterized by relatively low SHDI, are associated with specific land use types. Higher altitude areas exhibit a uniform land use type, resulting in lower SHDI values. Conversely, regions at lower altitudes, such as plains and urban areas with higher human activity, display higher SHDI values, exceeding 1.0, with urban areas reaching over 1.5. This indicates greater landscape diversity in these locations, with no dominant land use type. In 2015, regions with relatively high SHDI began to radiate from urban clusters toward surrounding areas, particularly shifting northward (Fig. 8b). The areas with high SHDI, indicate of significant human activity in urban areas in 2010, generally decreased by 2015, suggesting a gradual homogenization of land use types in urban areas. The northward spatial shift of SHDI indicates that the originally relatively homogeneous land use types in the northern areas diversified between 2010 and 2015. In 2020, compared to 2015, regions with relatively high SHDI tended to cluster in the south (Fig. 8c), suggesting an increase in landscape uniformity. Overall, the spatial distribution of SHDI for LULC landscapes showed higher values in the northern parts and lower values in the southern parts, with significant influences from urbanization and human activities on LULC landscapes.

Fig. 8
figure 8

Spatial distribution of SHDI from 2010 to 2020 (a 2010, b 2015, c 2020).

From 2010 to 2015, regions with higher SHDI scores were primarily located in the northern areas, with a small portion in the far south. This suggests an increase in LULC type diversity in these regions. However, urban areas and the central part of the watershed experienced negative changes in SHDI values (Fig. 9a). In the subsequent period from 2015 to 2020, there was a widespread decrease in LULC landscape diversity throughout almost the entire watershed, as depicted in Fig. 9b. Additionally, the eastern part of the watershed experienced a significant decline in SHDI, indicating a gradual expansion of human activities toward the east. In summary, between 2010 and 2020, the spatial changes in LULC landscape diversity varied (Fig. 9c). Regions that experienced significant reductions in diversity were primarily concentrated in the central and eastern parts of the watershed. These changes were largely driven by urbanization processes radiating outwards from urban centers, resulting in a homogenization of land use types and a decrease in overall diversity.

Fig. 9
figure 9

Spatial distribution of variation for LULC SHDI from 2010 to 2020 (a 2010, b 2015, c 2020).

Discussion

Natural factors play a crucial role in shaping regional ecosystem patterns and have lasting effects on landscape changes. Human activities can drive rapid alterations in these patterns over short periods48,49,50. The study area exhibited a clear increasing trend in NDVI changes from 2010 to 2020. In the high-altitude mountain areas within the basin, there was a notable increase in NDVI, likely due to limited human activity and favorable conditions for afforestation. This resulted in an increase in forest area. In contrast, NDVI remained relatively unchanged in low-altitude urban clusters, which can be attributed to high levels of urbanization and developed agricultural activities that encroached significantly on forest and grassland areas51. This finding is consistent with the Wuliangsu Lake Basin, where a strong correlation was noted between annual NDVI and human activities52. The seasonal trend of vegetation NDVI growth intensity in the Fenhe River Basin over the past 11 years followed the order of summer > autumn > spring > winter, aligning with vegetation phenology. Liu et al.53 indicated that precipitation and groundwater are primary driving forces behind the spatial-temporal variability of vegetation. This may be linked to the national strategic project “Return of Cropland to Forests,” which began in 2002 and has proven to be a significant ecological initiatives with the largest investment, strongest policy support, widest coverage, and highest level of public participation in China and worldwide. The project systematically ceases the cultivation of sloping farmland. Following the principle of suitable land and tree pairings, afforestation is implemented according to local conditions to restore forest vegetation. Project components include converting sloping farmland to forests and afforesting of suitable barren mountains and wastelands. So far, these initiatives have improved degraded vegetation, resulting in a rapid increase in NDVI values. Furthermore, the basin’s favorable water and thermal conditions during summer have facilitated swift vegetation recovery and growth. Conversely, winter exhibited the lowest vegetation survival rates, influencing changes in NDVI. It has also been reported that the average NDVI increased during the growing season (April to September) in the Wei and Jing River Basins54.

The LULC data from 2010 to 2020 revealed important trends in land use, particularly in mountain and low-altitude regions. Forests were found to dominate high-altitude mountain areas, while cropland prevailed in low-altitude regions. The most significant change occurred between 2015 and 2020, when previously unused land was converted into water bodies or wetlands, resulting in a decrease in their extent. This suggests that ecological restoration or construction efforts were successful during this period. Yang et al.55 also demonstrated that in the context of ecological restoration and urban development in the Yellow River Basin, the stabilization of the LULC conversion structure will be a distinguishing characteristic. The amount of cropland transferred out will exceed that of other LULC types, with built-up land, forest, grassland, and water in the Yellow River Basin increasing, while the area of unused land and cropland decreased between 2000 and 202056. These chages may be related to limited precipitation, which has left the region predominantly covered by unused land and grassland. Forests are mainly found in mountainous areas due to the influence of terrain undulation and altitude. These areas often create microclimatic environments distinct from the surrounding dry land regions, providing suitable conditions for forest formation.

In the Fenhe River Basin, since 2015, the ecological environmental protection policies implemented by Shanxi Province, including the “Fen River as the focal point of the ‘seven rivers’ ecological conservation and restoration overall program” and the “Fen River Basin Ecological Restoration Planning (2015–2030)” have led to increased comprehensive regulation and ecological restoration efforts in the basin’s land and space. Consequently, the proportion of water bodies and wetlands has increased. Meanwhile, the maintenance of the original LULC types has risen to 16.33%, compared to 2.2% during the 13th Five-Year Plan period(2016–2020). This indicates a significant improvement in ecological restoration and protection.

The landscape pattern is jointly influenced by multiple factors, including population, economy, soil, hydrology, policy formulation, and technological development, with different landscapes being affected by distinct factors57. From 2010 to 2020, urbanization primarily influenced the SHDI, leading to a more uniform and less diverse land use pattern. This underscores the significant impact of human activities on LULC landscapes. Additionally, there is a trend of expansion towards the eastern region of the study area. The results indicated that landscape patterns can provide an accurate and significant evaluation of ecosystems, helping to identify areas with lower SHDI and degraded lands. Although the ecological protection and restoration project for mountains, forests, fields, lakes, and grasslands, which began in 2018, has not yet fully demonstrated the positive impact of improved ecological land use on the environment, it has provided clear insights into changes in ecological diversity based on this study ‘s findings.

This research could uncover potential mechanisms by which climatic factors, LULC changes, and human regulations influence hydrological ecosystem, thereby providing a scientific basis for ecological management and high-quality development policies in the Yellow River Basin.

Conclusion

From 2010 to 2020, there was an increase in vegetation cover, with an annual NDVI increment of 0.003 (P < 0.001). However, areas of decreased vegetation were primarily observed in low-altitude rapidly urbanizing regions. Notably, the vegetation changes in high-altitude mountain areas were highly significant and statistically significant, with the predominant vegetation cover being forest or grasslands. Conversely, areas with no significant changes were concentrated in low-altitude urban clusters.

During the same period, there was a significant decrease in water body or wetland areas. The conversion of these areas to other land types, particularly cropland and partially construction land, was notable. The proportion of wetlands and water bodies declined throughout the observed period, though the rate of decline slowed somewhat from 2015 to 2020. The conversion of water bodies or wetlands to other land types decreased by over 14% from 2015 to 2020.

Throughout 2010 to 2020, the spatial changes in SHDI exhibited heterogeneous characteristics. Areas with significantly reduced LULC diversity were mainly concentrated in the central part of the basin, where urban clusters and zones of intensive human activity were present. As a result, there was a trend toward uniformity and decreased diversity in land use cover types. These spatial changes in LULC landscapes underscore the significant influence of human activities on land cover patterns. Future research should utilize high-frequency remote sensing data over a long-term period, and the analysis should be extended to encompass the entire watershed.