Introduction

The environment is the sum of various environmental factors related to both ecosystems and human activities, and it has a profound impact on the natural and social environment of humans1. With the rapid development of urbanization and the increasing intensity of human activities, a growing number of cities face environmental problems, such as the urban heat island effect, water shortages, and air pollution2,3,4. While the international community continues to strengthen the protection and governance of the environment, a timely assessment of the temporal and spatial changes in ecological environmental quality is very important for environmental protection and sustainable regional development. In 2006, the Technical Criterion for Ecosystem Status Evaluation issued by the Ministry of Environmental Protection of China introduced an ecological index (EI) composed of indices of biological abundance, water network density, vegetation cover, and environmental quality5 and conducted an annual comprehensive evaluation of the current situation and development trend of China’s regional environment, which has been widely used in the evaluation of regional environments above the county level. However, in practical applications, this EI also faces many problems, including difficulty in obtaining indicator data and low data accuracy. Therefore, developing a more comprehensive, convenient, and accurate method that can be used to evaluate the ecological environment quality is of great significance to the long-term dynamic monitoring, management, and sustainable social development of the environment.

Remote sensing images are convenient to acquire and provide a short return interval and a long time sequence. These images have become an important data source for evaluating ecological environmental quality. At present, scholars have developed a variety of remote sensing indices to describe ecological situations that have been applied to forests6,7,8, wetlands9,10,11,12, grasslands13, farmlands14,15,16, and lakes17. However, these indices only evaluate one aspect of the environment and often reflect one-sided ecological conditions. For example, the normalized difference vegetation index (NDVI) and normalized difference built-up index (NDBI) are used to reflect the growth status of plants in many study areas18,19,20, as well as the distribution of urbanized land21,22, while the land surface temperature (LST) has been used to study the effects of the urban thermal environment23,24,25. To cope with these challenges, Xu proposed a remote sensing ecological index (RSEI) that integrates the four indicators of greenness, dryness, humidity, and heat and extracts a single variable that can represent multiple variables without artificially setting the weight26. This method can conveniently and objectively model and predict the conditions in the environment of a study area and analyze its temporal and spatial evolution5,27.

To date, RSEI has been applied in areas including nature reserves28, urban agglomerations29,30, archipelagos31, and watersheds32,33,34. Some scholars have combined R language to conduct Mantel and Pearson correlation analyses on the RSEI, NDVI, TC-Wetness (Wet), normalized difference building-soil index (NDBSI), LST, precipitation, land use, and gross domestic product (GDP) in a given study area. The results show that NDVI is the key factor controlling the quality of the RSEI score35. In addition, scholars have used spatial autocorrelation to explore the spatial correlation between ecological quality and ecosystem services in the southern red soil hilly watershed of China. The results show that the spatial distribution of the two factors is similar, and among all ecosystem services, carbon storage has the highest correlation with RSEI36. Many studies have shown that RSEI is conducive to the quantitative evaluation of changes in the ecological environment quality on a regional scale37,38. Although RSEI has been widely used, meteorological problems, such as the amount of cloud cover in remote sensing images, which varies in different periods, have created challenges in the use of remote sensing data. It is difficult to remove clouds when the amount of cloud cover is large, and image stitching using images obtained during different periods is also difficult. The Google Earth Engine (GEE), launched by Google in 2010, is a visual cloud computing platform that integrates massive quantities of remote sensing data and multiple processing methods. It can solve problems such as those related to cloud removal, multi-period image stitching, and cumbersome processing caused by large areas. The processing time is greatly reduced, and the calculation work can be completed efficiently. Based on this advantage, the GEE has been widely used in land-monitoring efforts, including land cover classification and dynamic monitoring39,40, geographic mapping41,42,43, and change monitoring44,45,46.

Research on the factors affecting ecological environment quality can explore effective ways to improve this environment. Yin et al. used Pearson correlation analysis to determine the correlation between ecological environment quality and several variables47. Nie et al. implemented spatial autocorrelation to explore the spatial differentiation of the coal mine ecological index (CMEI) 48. Li et al. applied ordinary least squares(OLS) and geographically weighted regression (GWR) models to explore the relationship between the spatial distribution of soil heavy metal increments and environmental factors49. Most of the above research methods use spatial econometric models. Although based on the perspective of spatial correlation, this global model is easy to cover up the heterogeneity of research objects when it is used to analyze objects with heterogeneity, thus leading to erroneous results caused by mixed effect interference50. In addition, these models are used to analyze the single indicator of ecological environment impact, but ignore the possible interaction between different influencing factors. Therefore, it is necessary to use more specialized tools to analyze heterogeneous objects. Geodetector is a statistical method that Wang proposed to detect spatial differentiation and reveal its driving factors, which can quantitatively describe the relative importance of the interactions of influencing factors. Therefore, we can apply the Geodetector model to analyze the social and natural factors that affect ecological environment quality.

Through the above analysis, it is found that using the RSEI model to analyze the ecological environment quality in the study area has become the mainstream trend. However, the existing literature has faced various challenges in the processing of remote sensing images, the quantitative analysis of the impact of each variable on RSEI is not perfect, and the impact of each variable on environmental quality has not been well explained so far. To make up for the shortcomings of the existing research, this paper selected northern Anhui as the research object, efficiently constructed an RSEI based on the GEE platform by integrating moderate resolution imaging spectroradiometer (MODIS) satellite image data, quantitatively analyzed the temporal and spatial characteristics of the ecological environment quality in northern Anhui from 2001 to 2020, and through the Geodetector explored the driving mechanisms of the spatial differentiation of RSEI in northern Anhui from 2001 to 2020.

This paper is innovative due to the following two aspects. First of all, based on GEE's powerful cloud computing capability, we established a time threshold to ensure the consistency of the time periods studied and used cloud removal and image median equalization to improve the original image quality. Secondly, we used Geodetector to more comprehensively analyze the influencing factors of ecological environment quality in northern Anhui, including determining the importance of each factor on ecological environment quality, the interactions between the influencing factors, and the influential trend of each factor on ecological environment quality.

The rest of this paper is arranged as follows. The second part introduced the basic situation of the study area, as well as the data sources and analysis methods used in this paper. The third part constructed the RSEI and analyzed the space–time characteristics of ecological environment quality in northern Anhui. The fourth part explored the influencing factors of spatial differentiation of RSEI in northern Anhui. The fifth part discussed the main findings and drew several conclusions.

Study area

Northern Anhui Province, China (Fig. 1) consists of six cities: Suzhou, Huaibei, Bengbu, Fuyang, Huainan, and Bozhou. The flat terrain of northern Anhui slopes slightly from the northwest to the southeast. Northern Anhui has a warm temperate semi-humid monsoon climate with obvious monsoons, a mild climate, and moderate precipitation. Water resources in northern Anhui are abundant and mainly consist of natural precipitation, river water, and groundwater. The average annual precipitation in the entire region is 820–950 mm, and the average annual runoff of river water is 3.822 billion m3. The entire area of the northern Anhui Province is relatively flat, which provides excellent farming conditions for agricultural production, making northern Anhui an important grain production area in the province. In 2018, the total sown area of crops in northern Anhui reached 4.66 million hm2, accounting for 53.14% of the province. However, the economic development of northern Anhui has lagged for a long period. According to statistics, in 2018, except in Bengbu, the per capita GDPs of the other five cities were lower than the average level of the province, making them the most underdeveloped areas in the province. Northern Anhui has a large population and extensive natural resources. In the context of China’s rapid economic development and urbanization, it has attained numerous achievements. However, as northern Anhui has developed, it has consistently relied on resource consumption to promote economic development and has sacrificed its ecological environment to expand its urban boundaries, resulting in resource shortages and environmental pollution, which has restricted its subsequent development momentum. In recent years, China has vigorously promoted the economic development of the Yangtze River Delta and emphasized the need to solve the problem of unbalanced development. Northern Anhui is an underdeveloped region in the Yangtze River Delta. As an inland hinterland and major agricultural production area, it has a large working population. These elements constitute its basic guarantee to promote its high-quality development. We can rely on the overall planning of land and space, maximize regional advantages and policy conditions, and promote this region’s high-quality development. Therefore, an in-depth exploration of the characteristics and influencing factors of the evolution of ecological environment quality in northern Anhui can provide valuable references for the rational use of land resources and the promotion of an ecological civilization.

Figure 1
figure 1

Schematic map of the study area.

Data collection

The data used in this paper are shown in Table 1, our study years are 2001, 2005, 2010, 2015, and 2020. The administrative boundary data were obtained from the China Geographic Information Resource Directory Service System. The MODIS satellite product was obtained from the United States Geological Survey. Among the MODIS dataset, the MOD13A1 V6 dataset contains NDVI and the enhanced vegetation index, with a resolution of 500 m, and synthesis using the best pixels available within a 16-day period. The MOD11A2 V6 dataset contains daytime and nighttime surface temperatures. Its synthesis period is 8 days, and the resolution is 1000 m. The MOD09A1 V6 dataset provides seven reflectance bands, all of which have undergone atmospheric correction to remove problematic data, such as that caused by atmospheric and aerosol scattering. We used the quality control band to perform cloud and cloud shadow removal preprocessing on the surface reflectance data acquired to obtain a high-quality time series of surface reflectance dataset. In addition, the modified normalized difference water index was used to mask the water of each indicator in the study area to eliminate the influence of water on humidity. The temperature and rainfall data were obtained from the National Earth System Science Data Center, National Science & Technology Infrastructure of China. The temperature was the average temperature, and the rainfall was the cumulative rainfall51. The vegetation coverage values were obtained from the NDVI layer of the MOD13A1 V6 dataset using the maximum value synthesis method and the binary pixel model, with a spatial resolution of 500 m. The nighttime light data were obtained from the Earth Observation Group, with a spatial resolution of 1000 or 500 m. The land use data were obtained from the MCD12Q1 V6 dataset, with a spatial resolution of 500 m. The population density data were obtained from WorldPop, with a spatial resolution of 1000 m. All data were uniformly sampled to an accuracy of 500 m and projected to the WGS_1984_UTM_Zone_50N coordinate system to ensure the consistency of the data. For data that were more sensitive to seasonal factors, such as MODIS satellite products, the temperature, rainfall, and vegetation coverage were chosen from June to September (summer) every year to eliminate the interference of the different seasons on the research results.

Table 1 Data information.

Research methods

Figure 2 shows the research workflow. First, the MODIS dataset based on the GEE was obtained, and RSEI maps were created for June to September of 2001, 2005, 2010, 2015, and 2020. Second, five RSEI maps from 2001 to 2020 were used to analyze the characteristics of the temporal and spatial changes in the ecological environment quality in northern Anhui. Finally, the influencing factors of ecological environment quality in the study area were explored using Geodetector.

Figure 2
figure 2

Workflow.

Building the RSEI

Principal component analysis (PCA) is an evaluation method based on dimension reduction. Its connotation is to analyze and sort multiple evaluation indicators, and then extract one or several representative indicators to replace the overall evaluation indicators. The extracted representative indicators are the so-called principal components. The advantage of this index extraction method is that it can effectively simplify the problem, use fewer indicators to evaluate the whole system, reduce the amount of calculation, and will not lose the effective information in the overall indicators. Through PCA, RSEI is calculated by integrating four indicators of greenness, dryness, humidity, and heat. First, use the following formulas for normalization:

$$y_{i} = \frac{{x_{i} - \overline{x}}}{s}\quad (i = 1,2, \ldots, n),$$
(1)
$$\overline{x} = \frac{1}{n}\sum\limits_{i = 1}^{n} {x_{i} } ;\quad s = \frac{1}{n - 1}\sum\limits_{i = 1}^{n} {(x_{i} - \overline{x})^{2} ,}$$
(2)

where n is the number of indicators; xi is the original value of the indicator; \(\overline{x}\) is the mean value; s is the standard deviation; yi is the normalized value. Based on the standardized data, the covariance matrix of each variable is established, as follows:

$$R={({r}_{i,j})}_{p*p,}$$
(3)

where R is the covariance matrix formed by the mean value of each eigenvalue data; i and j represent the ith feature and the jth feature, respectively, and \({r}_{i,j}\) is their covariance; p is the original total characteristic number. Then, the eigenroot \({\lambda }_{1}\)\({\lambda }_{2}\)≥…≥\({\lambda }_{p}\) of the matrix R is calculated and the corresponding unit eigenvector \({\alpha }_{1},{ \alpha }_{2}\), …,\({\alpha }_{p}\),

$${\alpha }_{1}=\left[\begin{array}{l}{\delta }_{11}\\ {\delta }_{21}\\ \dots \\ {\delta }_{p1}\end{array}\right],{\alpha }_{2}=\left[\begin{array}{l}{\delta }_{12}\\ {\delta }_{22}\\ \dots \\ {\delta }_{p2}\end{array}\right],\dots ,{ \alpha }_{p}=\left[\begin{array}{l}{\delta }_{1p}\\ {\delta }_{2p}\\ \dots \\ {\delta }_{pp}\end{array}\right],$$
(4)

where \(\delta\) is the value of a direction component of an eigenvector after solving the covariance matrix. A linear combination of the eigenvectors is then made, as in formula (5),

$${F}_{i}={\alpha }_{1i}{X}_{1}+{\alpha }_{2i}{X}_{2}+\dots +{{\alpha }_{pp}X}_{p} (i={1,2},\dots ,p),$$
(5)

After outputting m principal components, the comprehensive index Y is calculated,

$$Y={\alpha }_{1}{Y}_{1}+{\alpha }_{2}{Y}_{2}+\cdots +{\alpha }_{m}{Y}_{m,}$$
(6)

where \({Y}_{i}\) is the ith principal component, and \({\alpha }_{i}\) is the ith eigenvector. The calculation method is shown in formula (7),

$${\alpha }_{i}={\lambda }_{i}/\sum_{i=1}^{m}{\lambda }_{i},$$
(7)

where NDVI represents the greenness index, using the NDVI layer in the MOD13A1 V6 dataset. The LST represents the heat index, using the daytime surface temperature layer in the MOD11A2 V6 dataset. In addition, NDBSI stands for a dryness index, which is synthesized using a soil index (SI) and a building index (IBI) 52. Wet stands for the humidity index, which is the main component data for humidity obtained through the tasseled cap transformation of MODIS data34. These data were calculated using each band in the MOD09A1 V6 dataset. The index formula is as follows:

$$Wet=0.1147\,Red\,+\,0.2489\,NIR1\,+\,0.2408\,Blue\,+\,0.3132\,Green\,-\,0.3122\,NIR2\,-\,0.6416\,SWIR1\,-\,0.5087\,SWIR2,$$
(8)
$$NDBSI=\frac{SI\,+\,IBI}{2},$$
(9)
$$SI=\frac{\left(SWIR1\,+\,Red\right)-\left(NIR\,+\,Blue\right)}{\left(SWIR1\,+\,Red\right)+\left(NIR\,+\,Blue\right)},$$
(10)
$$IBI=\frac{\frac{2SWIR1}{SWIR1\,+\,NIR}-\left[\frac{NIR}{NIR\,+\,Red}+\frac{Green}{Green\,+\,SWIR1}\right]}{\frac{2SWIR1}{SWIR1\,+\,NIR}+\left[\frac{NIR}{NIR\,+\,Red}\,+\,\frac{Green}{Green\,+\,SWIR1}\right]},$$
(11)

where Red, Near Infrared 1 (NIR1), Blue, Green, Near Infrared 2 (NIR2), shortwave infrared 1 (SWIR1), and shortwave infrared 2 (SWIR2) represent bands 1–7 of the MOD09A1 surface reflectance products, respectively.

Geodetector

Geodetector is a statistical method used to detect spatial differentiation and reveal the driving factors and mechanisms influencing spatial differentiation. This method analyzes the explanatory power and contribution of the influencing factors by comparing the consistency of the spatial distribution of the target factor and the influencing factor50. The core idea is as follows: if a certain independent variable has an important influence on the dependent variable, then the spatial distributions of the independent and dependent variables are similar. Geodetector includes four types of detectors: factor, interaction, risk, and ecological detectors.

The factor detector mainly uses the explanatory power of the factor to quantitatively measure the degree of influence of each natural factor on the spatial differentiation of RSEI in northern Anhui. Among them, the expression formula of the explanatory power q is:

$$q=1-\frac{\sum_{h=1}^{L}{N}_{h}{\sigma }_{h}^{2}}{N{\sigma }^{2}},$$
(12)

where h = 1,…, L is the stratification number of the influencing factor; Nh and N represent the sample number of the influencing factor in the layer h and the entire region of northern Anhui, respectively; and σh2 and σ2 represent the variance of the RSEI value of the impact factor in layer h and the entire region of northern Anhui, respectively. The value range of q is [0, 1], where the larger the value of q, the stronger the explanatory power of the influencing factor on the spatial distribution of RSEI in northern Anhui. In addition, q = 0 means that the factor has no relationship with the RSEI, while q = 1 means that the factor can fully explain the spatial distribution of the RSEI.

The interaction detector is used to detect whether the interaction between two influencing factors will increase or decrease the explanatory power of the RSEI, or whether the effects of these factors on the RSEI are independent of each other. The judgment basis is shown in Table 2.

Table 2 Types of interaction between influencing factors.

The risk detector is used to determine whether there is a significant difference between the mean values of an attribute of the two factors between the sub-regions and is used to search for regions with high mean RSEI values. The detector uses t to test this:

$${t}_{{\overline {y}}_{h=1}-{\overline{y}}_{h=2}}=\frac{{\overline{Y}}_{h=1}-{\overline{Y}}_{h=2}}{{\bigg[\frac{{\text{Var}}({\overline{Y}}_{h=1})}{{n}_{h=1}}+\frac{{\text{Var}}({\overline{Y}}_{h=2})}{{n}_{h=2}}\bigg]}^{1/2}},$$
(13)

where \({t}_{{\overline{y}}_{h=1}-{\overline{y}}_{h=2}}\) represents the difference between two subregions h = 1 and h = 2; \(\overline{Y}\)h represents the mean value of the attributes in subregion h; nh is the number of samples in subregion h; Var represents the variance.

The ecological detector is used to determine whether there is a significant difference between the effects of two influencing factors, X1 and X2, on the spatial distribution of the RSEI in northern Anhui, as measured by F:

$$F=\frac{{N}_{X1}\times ({N}_{X2}-1)\times {\text{SSW}}_{X1}}{{N}_{X2}\times ({N}_{X1}-1)\times {\text{SSW}}_{X2}},$$
(14)
$${\text{SSW}}_{X1}=\sum_{h=1}^{L1}{N}_{h}{\sigma }_{h}^{2},{\text{SSW}}_{X2}=\sum_{h=1}^{L2}{N}_{h}{\sigma }_{h}^{2},$$
(15)

where NX1 and NX2 represent the number of samples of impact factors X1 and X2, respectively; L1 and L2 represent the number of layers of impact factors X1 and X2, respectively; SSWX1 and SSWX2 represent the sum of the intra-layer variance of impact factors X1 and X2, respectively.

Results

PCA results

Before the principal component analysis, we conducted the Kaiser–Meyer–Olkin (KMO) and Bartlett's sphericity test on the four indicators constituting RSEI in 2001, 2005, 2010, 2015, and 2020 respectively. The KMO values were 0.731, 0.653, 0.580, 0.785, and 0.649, respectively, which were greater than 0.5. At the same time, the significance values in Bartlett's sphericity test were all 0.000. The results showed that these data were suitable for PCA. As shown in Table 3, the contribution rates of the first principal component (PC1) in the three periods of 2001, 2005, and 2010 were all higher than 60%, and the contribution rates in 2015 and 2020 exceeded 70%. Compared with PC1, the contribution rate of other principal components was lower than 30%, indicating that PC1 integrated most of the characteristics of the four ecological indicators. The load values of the humidity index and the greenness index in PC1 of the 5 years were positive, while the load values of the dryness index and the heat index were both negative. This showed that the humidity and greenness indicators had a positive effect on the regional ecological environment, while the dryness and heat indicators had a negative impact. This is in line with the actual situation. The load values of each index in the other principal components were unstable. For example, the load value of the heat index in the second principal component (PC2) in 2001 was positive, while the load value of the humidity index was negative, indicating that heat had a positive impact on the ecological environment, while humidity had a negative impact on the ecological environment, which is obviously inconsistent with the actual situation. At present, the ecological meaning of this phenomenon was difficult to explain. Compared with other components, PC1 had obvious advantages. It could integrate the characteristic information of four indicators and be consistent with the actual situation. Therefore, it can be used to establish a comprehensive ecological index and analyze the changes in the ecological environment in the study area.

Table 3 PCA results.

The load values of each component index of PC1 showed that the greenness index first decreased and then increased, reaching the lowest value of 0.408 in 2010, indicating that the vegetation coverage in northern Anhui has gradually improved since 2010. The humidity index showed a trend of first rising and then fluctuating and falling, reaching the highest value of 0.550 in 2005, indicating that the influence of soil moisture on the ecological environment gradually weakened after 2005. The absolute value of the dryness index showed a trend of rising first and then falling, and reached the highest value of 0.783 in 2010, indicating that from 2001 to 2010, human activities led to a significant expansion of the urban area, but after 2010, it has been basically controlled. The heat index can usually reflect the ecological disturbance caused by the heat island effect caused by human activities. Its absolute value showed a trend of first decreasing and then increasing. Its lowest value was 0.234 in 2010, indicating that the heat island effect in the study area has increased year by year since 2010.

Temporal and spatial analysis of the ecological environment quality change in northern Anhui

In this paper, PCA was used to couple the four indicators for the five years of 2001, 2005, 2010, 2015, and 2020 in northern Anhui to construct the RSEI. The average value of the RSEI and its change range in each year were also calculated (Fig. 3). As shown in Fig. 3, the RSEI in 2010 was relatively concentrated, the RSEI in 2015 was the most scattered, and the RSEI values in the other years ranged between the two. The results showed that the mean value of the RSEI in 2001 was 0.685, and this was the highest value among the 5 years analyzed in this paper. The mean values of the RSEI in 2005 and 2010 changed only slightly, being 0.555 and 0.566, respectively. In 2015, the mean value of the RSEI increased to 0.622, while by 2020, the average RSEI had fallen slightly to 0.613. On the whole, the RSEI showed a rapid decline from 2001 to 2005, but the decline rate slowed down from 2005 to 2020 and began to show a trend of improvement.

Figure 3
figure 3

Broken line chart of average RSEI in northern Anhui from 2001 to 2020.

To further quantitatively analyze the RSEI, the ecological environment quality was classified according to an interval of 0.2 and divided into five grades: poor, fair, moderate, good, and excellent32. The area and proportion of each ecological grade in northern Anhui over 5 years were also counted. According to the statistics shown in Table 4, in 2001, the proportion of the area when the RSEI grade was poor or fair was 4.12%, and 14.88% of the area had a moderate grade classification; the largest proportion of the area (81%) had an RSEI grade of good or excellent. The data obtained in 2005 and 2010 yielded similar results. The proportions of the RSEI grade when the area was poor or fair were 8.08% and 5.22% in 2005 and 2010, respectively, which were increases compared with the proportion of the same grade in 2001. The proportion of the area with a moderate RSEI grade increased greatly, reaching 59.93% and 63.43% in 2005 and 2010, respectively. When the RSEI grade was good or excellent, the proportion of the area was 31.99% and 31.35% in 2005 and 2010, respectively. Compared with the same period in 2001, the area ratio of good and excellent RSEI grades dropped significantly, indicating that the ecological environment quality exhibited a downward trend in 2005 and 2010 when compared with 2001. In 2015, when the RSEI grade was poor or fair, the area ratio changed little compared with the same grade in the previous period, which was 8.94%. For the areas with an RSEI grade of moderate, the area ratio decreased compared with the previous period, and for RSEI grades of excellent or good, the area ratio increased, reaching 31.16% and 59.9%, respectively, indicating that the environmental conditions had improved in 2015. By 2020, the area ratio of RSEI grades with poor and fair grades along with good and excellent grades decreased compared with the previous period, accounting for 4.2% and 53.03% of the total area, respectively. At the moderate level, the area ratio increased slightly compared with the same period in 2015, to 42.77%, and the overall ecological environment quality decreased slightly when compared with 2015.

Table 4 Percentage of RSEI grade in northern Anhui from 2001 to 2020.

To better analyze the spatial differentiation characteristics, the RSEI grade distribution ratios of six cities in northern Anhui were calculated (Table 5). Combined with the data shown in Fig. 4, it was clearly demonstrated that Huainan in the southern part of northern Anhui had a better and more stable ecological environment quality than the other cities from 2001 to 2020. A relatively high proportion of the areas had a good or excellent RSEI. Except in 2005, this proportion exceeded 70% in all other years, with values of 76.15% (2001), 52.98% (2005), 75.37% (2010), 76.06% (2015), and 77.73% (2020). From 2001 to 2020, the ecological environment quality of Bengbu and Suzhou showed a trend of an initial decline, followed by an increase. When the RSEI was good or excellent, the area ratio reached the lowest in 2015 (32.88%) and 2010 (17.56%). The ecological environment quality of the other three cities, Huaibei, Fuyang, and Bozhou, showed a trend of declining fluctuations over time.

Table 5 Statistics on the proportion of RSEI grades of cities in northern Anhui from 2001 to 2020.
Figure 4
figure 4

RSEI grade map of northern Anhui from 2001 to 2020.

Changes in the ecological environment quality in northern Anhui

Based on the above-mentioned classification of ecological environment quality, the difference detection and analysis of the changes in the ecological environment quality in 2001–2005, 2005–2010, 2010–2015, 2015–2020, and 2001–2020 were carried out (Figs. 5 and 6). From 2001 to 2005, the ecological environment quality of 59.38% of the various regions weakened; these areas were more widely distributed in Huaibei, Suzhou, Bozhou, and Fuyang. The areas with improved and unchanged ecological environment quality accounted for 8.45% and 32.17%, respectively; these areas had a relatively scattered spatial distribution. From 2005 to 2010, 21.85% of the areas had weakened ecological environment quality. These areas were mainly located in Bozhou and northern Suzhou. Areas with improved and unchanged ecological environment quality in this period accounted for 24% and 54.15% of northern Anhui, respectively, and were widely distributed in most areas of the six cities. From 2010 to 2015, the quality of 17.81% of the regional ecological environment declined, while areas with improved and unchanged regional ecological environment quality accounted for 46.52% and 35.67% of the study area, respectively. These areas were distributed to different degrees in each city, among which they were more widely distributed in Suzhou, Huaibei, Bozhou, and Fuyang. From 2015 to 2020, the areas where the quality had declined accounted for 32.81% of northern Anhui, while the areas with increased and unchanged ecological environment quality accounted for 26.44% and 40.75%, respectively. These areas were more widely distributed in Huainan, Bengbu, and Suzhou. According to the change detection results from 2001 to 2020, 44.23% of the regional ecological environment quality had declined, and the ecological environment quality in Fuyang, Bozhou, and Huaibei had been significantly degraded, while regions such as Huainan, Bengbu, and Suzhou also experienced different degrees of degradation.

Figure 5
figure 5

Change detection diagram of RSEI in northern Anhui.

Figure 6
figure 6

Scale map of RSEI change detection in northern Anhui.

Detection of influencing factors of ecological environment quality

To further explore the driving factors of the ecological environment quality in northern Anhui, we divided the rainfall, temperature, vegetation coverage, land use, nighttime light, and population density in 2001, 2005, 2010, 2015, and 2020 into social and natural factors as independent variables Xi (Table 6) based on previous studies53,54 and data availability, and the RSEI value was set as the dependent variable Y. A grid of 1200 m × 1200 m was set in ArcGIS, and the values corresponding to the points in the grid were extracted to the table. After removing the abnormal values, a total of 28,854 sampling points were obtained. Finally, the data were run in Geodetector to explore the influence of each factor on the spatial differentiation characteristics of the RSEI. To minimize the average dispersion variance within the layer and maximize the average dispersion variance between the layers, the natural breakpoint method was used to divide the rainfall, temperature, vegetation coverage, nighttime light, and population density into 11 kinds of data, while the land use was classified according to the annual International Geosphere-Biosphere Programme (IGBP).

Table 6 Influencing factors.

As shown in Table 7, the order of the average q values corresponding to each detection factor was vegetation coverage > rainfall > nighttime light > land use > temperature > population density. From the perspective of the explanatory power of influencing factors, vegetation coverage had the strongest explanatory power for the spatial differentiation characteristics of the RSEI, reaching 28.9%, making it the main factor influencing the RSEI. The explanatory powers of rainfall also reached over 10%, making rainfall the secondary factor influencing RSEI. The explanatory powers of temperature, land use, nighttime light, and population density for the spatial differentiation characteristics of the RSEI were all weak at lower than 10%. In general, natural factors had a greater impact on the RSEI than social factors.

Table 7 Results of factor detection.

The results of interactive detection showed that, compared with a single factor, the effects of all the detection factors on the spatial differentiation characteristics of the RSEI in northern Anhui were synergistically enhanced, and the effects of all factors influencing the RSEI were not independent (Table 8). The nonlinear enhancement mode and the two-factor enhancement mode appeared about the same number of times. Among them, the non-linear enhancement mode appeared 38 times, while the two-factor enhancement mode appeared 37 times. From the perspective of the interactive explanatory power of pairs of detection factors, the interaction between vegetation coverage and other factors had a strong explanatory power for the spatial differentiation characteristics of the RSEI in northern Anhui. Among them, the interaction between vegetation coverage and rainfall (average q = 0.404) was the most obvious, followed by vegetation coverage and temperature (average q = 0.359), along with vegetation coverage and nighttime light (average q = 0.312). The least obvious interactions were between land use and population density (average q = 0.102), along with nighttime light and population density (average q = 0. 109), both of which had an explanatory power below 11%.

Table 8 Results of interactive detection.

The results of ecological detection showed that the proportion of the combination of factors with no significant difference in the RSEI changes in northern Anhui was about twice that of the combination of factors with significant differences (Table 9). For example, the ecological detection results of 51 pairs of interaction factors, such as vegetation coverage and land use, vegetation coverage and nighttime light, vegetation coverage and population density, land use and population density, and nighttime light and population density, were N, indicating that these combinations did not have significant differences in the impact of the spatial differentiation characteristics of the RSEI. The results of the other 24 pairs of interacting factors were Y, indicating that these combinations had significant differences in the impact of the spatial differentiation characteristics of the RSEI.

Table 9 Results of ecological detection.

Based on an analysis of risk detection, Table 10 shows the RSEI values corresponding to the type code for each influencing factor, except for land use; because there are many types of land use and not every type is included in the study area, the RSEI corresponding to the land use is shown in Table 11 separately. The results passed the statistical test at 95% confidence level. Figure 7 illustrates how the RSEI changes as the impact factors increase. The type codes on the horizontal axis were codes that reclassified the values of influencing factors in each grid from small to large according to the natural breakpoint method, and each code represented a numerical interval. As shown in Table 10, each column represented the average value of the RSEI corresponding to the influencing factor in a certain numerical interval. The average value of the RSEI of each influencing factor in the corresponding numerical interval in the 5 years was further calculated (Fig. 7). The natural breakpoint method can maximize the classification of similar values into one level, so the average value of RSEI corresponding to the type code 0–11 can reflect the effect of influence factors of different sizes on RSEI. The results showed that with the increase in vegetation coverage, the RSEI showed a trend of increasing, and the highest average RSEI was 0.670. As the nighttime light and population density increased, the RSEI showed a trend of decreasing, and the highest average RSEI values were 0.623 and 0.621, respectively. Rainfall and temperature had no obvious trend effects on RSEI. The temperature reached the maximum at code 3, the rainfall reached the maximum at code 1, and the highest average RSEI values were 0.655 and 0.652, respectively. Among all land use types, permanent wetlands had the largest average RSEI.

Table 10 RSEI corresponds to the type codes of X1, X2, X3, X5, and X6 (confidence level 95%).
Table 11 RSEI corresponds to the type codes of X4 (confidence level 95%).
Figure 7
figure 7

Change trend between average RSEI and influencing factors.

Discussion

Application of ecological environment quality monitoring in the GEE

Rapid urbanization and development are causing increasingly severe pressure on the regional environment in northern Anhui. Paying attention to the need for regional ecological protection while achieving coordination between economic development and the environment has become an important issue that needs to be resolved in light of the desire to maintain high-speed and high-quality urbanization in northern Anhui. At present, the establishment of each index employed here is limited by image quality during research involving the use of an RSEI to monitor regional ecological environment quality. For example, the existence of areas with frequent cloud cover will result in missing data. It is usually necessary to use images from neighboring years to replace these missing data. As an alternative, research can be successfully conducted on a small scale55. The scope and scale of this type of research are limited in time and space based on certain restrictions related to accuracy and comparability. In recent years, the GEE platform has developed rapidly. This platform allows researchers to access, operate, and visualize massive amounts of remote sensing data by accessing Web API and a web-based interactive development environment at any time56,57,58,59. When calculating the RSEI in northern Anhui from 2001 to 2020, based on the powerful cloud computing capabilities of the GEE, this paper contributed to the field by establishing a time threshold to ensure the consistency of the time periods studied and used cloud removal and image median equalization to improve the original image quality. Compared with traditional methods, the result is a more authentic and objective calculation of the RSEI, which greatly improved the work efficiency60,61. In addition, based on the characteristics of the cloud platform, this method can be quickly applied to other regions and has higher application potential than traditional local computing.

Influencing factors of ecological environment quality in northern Anhui

The risk detection results showed that different factors influenced the ecological environment quality in various ways. For example, with the increase of vegetation coverage, the RSEI showed an increasing trend, while with the increase of nighttime light and population density, the RSEI showed a decreasing trend, and the ecological environment quality of the wetland was the highest. This is consistent with the research of some scholars. For example, Li et al. found that the improvement of the ecological environment of the Grand Canal is closely related to the increase of vegetation coverage62; He et al. found that the increase of vegetation coverage is the main factor to improve the ecological environment of the scenic spot63; Zhang et al. found that urbanization has a negative impact on the ecological environment64. A high level of vegetation coverage can not only provide an ideal environment for animal and plant growth. It also has many functions, including purifying air, preventing water and soil loss, and reducing the heat island effect, which can greatly improve the ecological environment. Wetlands are the junction of land and water areas and have a diverse range of biological resources. They can not only change air humidity based on plant transpiration but also regulate water resources in rainy and dry climates. At the same time, wetlands can degrade pollutants by relying on soil microorganisms, improving the regional ecological environment quality. High population density and night light imply the presence of high-intensity human activities. In terms of land use, these activities tend to occupy the original natural environment and transform it into an artificial environment. At the same time, these activities continue to consume natural resources to attain population growth and economic development. In addition, these activities generate large amounts of waste gas and waste water, which worsens the environmental damage and pollution, negatively impacting the ecological environment. Moreover, the risk detection results showed that the RSEI fluctuated widely with increasing rainfall and temperature, but there were peaks in both. This indicates that although the relationship between temperature, rainfall, and RSEI is not very significant, it involves an optimal range of effects. Within this range, climatic conditions such as rainfall and temperature may have a more significant role in promoting plant growth, thus increasing the RSEI value. After exceeding this range, the promotion effect on plant growth weakens, causing RSEI to weaken.

The factor and interactive detection results showed that vegetation coverage and rainfall were the most important factors affecting the ecological environment quality in northern Anhui. After a synergistic effect, their contribution to this quality was significantly enhanced. This is mainly because this region is a transition zone from a warm temperate zone to a northern subtropical zone. Its annual rainfall is moderate, sunlight is sufficient, and the terrain is flat, making it suitable for vegetation growth. However, the regional water supply is mainly dependent on natural precipitation in the plain area. At the same time, the soil permeability and water retention are poor, making it extremely vulnerable to drought and flood. Therefore, rainfall has become the key influencing factor of regional environmental quality. It works in harmony with temperature, soil, light, and other factors to promote vegetation growth and improve regional ecological environment quality.

Policy impact

Figure 8 depicts the changes in industrial structure in northern Anhui from 2001 to 2020. The proportion of the primary industry decreased year on year from 2001 to 2020. The proportion of the secondary industry continued to rise before 2010. However, after 2010, it turned into a continuous decline. The tertiary industry underwent a fluctuating decline before 2010 but continued to rise after 2010. After consulting a statistical yearbook and research literature, we found that before 2010, the economy of northern Anhui was mainly based on industrial development and coal mining. Many factories encroached on forests and grasslands. Mining led to increased destruction of vegetation, increased pollutants such as wastewater and waste materials, and increased land and river pollution, leading to a decline in its ecological environment quality. Since 2010, Anhui Province has issued Opinions on Further Strengthening Land Conservation and Intensive Use and Opinions on Promoting Sustainable, Healthy, and Rapid Economic Development. The government began to focus on applying new technologies, expanding its level of opening up, promoting regional industrial adjustments, and constantly increasing the proportion of tertiary industries in regional GDP. This caused the urban industrial economy to move towards an intensive development model, and also increased coordination between the urban ecological environment and economic development. Anhui Province has also actively reformed its household registration management system to enable its labor can flow to cities. The scale effect created by a concentrated population and its transformed structure has concentrated resource consumption and pollution emissions. This has concentrated the supply of multiple elements and facilities, reduced the per capita supply and governance costs, improving the urban ecological environment. At the same time, Anhui Province issued the Twelfth Five Year Plan for the Renovation and Development of Noncoal Mines in Anhui Province, the Overall Plan of Anhui Province's Ten Million mu Forest Growth Project (2012–2016), and the Implementation Opinions on Strengthening Key Environmental Protection Work. The government has begun to actively implement measures including mine governance, water governance, the conversion of farmland to forests, and natural forest projects. These will help to regulate the climate, increase vegetation coverage, optimize forestry resource use, and curb the water and soil loss as well as natural disasters while improving the stability of the ecosystem and ecological service functions. This can enable the ecological environment of northern Anhui to improve year by year, which is consistent with the changing trend of ecological environment quality reflected in the model results.

Figure 8
figure 8

The proportion of the primary industry, secondary industry, and tertiary industry in regional GDP from 2001 to 2020.

Limitations and prospects

The current research is not without limitations. First, although the RSEI model has been widely used, its indicator system still needs to be improved. For example, Wan et al. used PCA to couple indicators of greenness, humidity, dryness, heat, and PM2.5 (particulate matter with a diameter of less than 2.5 µm suspended in the air) concentration to construct a new RSEI to assess the ecological environment quality in Cangzhou65. Wang et al. created an improved RSEI model for arid areas based on green, humidity, salinity, heat, and land degradation, and conducted a spatio-temporal analysis of the environment of the Ulanbuh Desert in China66. In addition, this article is limited by the large scale of the land analyzed in northern Anhui. The type and accuracy of the data obtained are subject to certain restrictions. The selection of factors influencing the RSEI also needs to be enriched, and terrain, soil, road traffic, and other factors should be added in the future. In the future, when studying the factors driving the ecological environment quality in northern Anhui, the index system of the RSEI model should be improved, and index factors that conform to the environmental characteristics of northern Anhui should be added. Second, high-precision data should also be obtained, such as the introduction of higher resolution Landsat remote sensing images. In addition, using the GWR regression model or spatial autocorrelation model to further explore the impact mechanism of each factor on the spatial heterogeneity of the RSEI will be the focus of future research.

Conclusions

Understanding the temporal and spatial variation characteristics of the ecological environment quality in northern Anhui and exploring the driving mechanism of its spatial distribution characteristics are important measures to support the formulation of environmental protection policies, as well as to rationally develop and utilize resources, which is conducive to achieving sustainable social development. This paper used GEE to construct RSEI to analyze the temporal and spatial characteristics of the ecological environment quality in northern Anhui from 2001 to 2020, used geographical detectors to explore the influencing factors of the ecological environment quality in northern Anhui, and drew the following conclusions.

The ecological environment quality in northern Anhui declined rapidly from 2001 to 2005, mainly because the area of construction land in northern Anhui increased greatly during this period, the urban construction process was accelerated, and the ecological environment was severely damaged. However, the decline slowed from 2005 to 2020 and began to show an improving trend, mainly due to the support of various national and local environmental policies. The ecological environment quality of Bengbu and Suzhou initially declined and then improved; the environmental quality of the other three cities, Huaibei, Fuyang, and Bozhou, showed a downward and fluctuating trend over time. In contrast, the ecological environment quality of Huainan City was better and more stable.

The explanatory power of each factor influencing the spatial differentiation of environmental quality in northern Anhui obviously varied. Vegetation coverage was the main factor, while rainfall was a secondary factor influencing RSEI. Temperature, nighttime light, land use, and population density had a weak influence on the spatial differentiation characteristics of RSEI. There was an interaction between the factors that impact the quality of the environment in northern Anhui, and both showed a non-linear enhancement and a two-factor enhancement relationship. Among them, the interaction between vegetation coverage and rainfall (q = 0.404) was the most obvious. In addition, we found that vegetation abundance had a positive impact on the ecological environment quality, while population density and urbanization had a negative impact on the ecological environment quality, and the ecological environment quality of wetlands in land use was the highest.