1 Introduction

Habitat quality, which is the capacity of ecosystem to support biological survival with appropriate condition, is regarded as an important characterization and reflection of regional biodiversity and ecological service level (Muyi et al. 2020; Alaniz et al., 2021; Wu, Sun, et al., 2021; Wu, Dai, et al., 2021), serving as an irreplaceable part to ensure ecosystm security and improve mankind well-being (Li, He, et al., 2021; Li, Sun, et al., 2021; Li, Zhou, et al., 2021; Thomas et al., 2021; Yuan et al., 2019). Different habitat qualities have a direct relationship with the service capacity of regional ecosystems (Caixian et al., 2020; Lee & Jeon, 2020). The pattern, intensity, and pattern of land use will lead to transform in ecosystem structure and function, which will have an important impact on habitat quality and biological diversity (Budnik et al., 2021; Tang et al., 2021; Zhang, Gao, et al., 2020; Zhang, Song, et al., 2020). Habitat quality assessments can reflect the advantages and disadvantages of regional ecosystem functions to a certain extent, due to the differences in ecosystems in different regions, resulting in spatial heterogeneity and regional differences in habitat quality (Sallustio et al., 2017; Thomas et al., 2021; Yang et al., 2021). Therefore, strengthening the research on regional differences inhabitat quality is important to biodiversity protection, ecosystem service function, ecological security pattern construction, regional ecological balance, system health, and land ecological security (Hongjuan et al., 2016; Yan et al., 2018).

Research on habitat quality began in the 1960s, and earlier studies tend to study the regional differentiation characteristics of habitat conditions of species in a specific region, such as Grus japonensis (Zhiqiang et al., 2009), antelope (Xiaoyang et al., 2016), and wild bee (Wu, Dai, et al., 2021; Wu, Sun, et al., 2021). This type of research first analyzes the habitat requirements of the target species based on the actual survey and experimental data, determines the limiting factors affecting their population and behavior, establishes corresponding evaluation standards for each factor, and finally makes a comprehensive analysis of the habitat according to certain standards (Zhiyun et al., 2001). Although the method has high accuracy, it is relatively difficult to operate, and the evaluation results are difficult to promote and compare. Thus, this method is suitable for small-scale research serving specific targets (Lee & Jeon, 2020). After entering the twenty-first century, the development of 3S (GIS, RS, GPS) technology has made it possible to evaluate habitat quality and biodiversity in a quantitative, large-scale, long term sequence (Hongliang, 2001), and has gradually made spatiotemporal changes in habitat quality a research hotspot (Han et al., 2018; Zhifang et al., 2017). In recent years, some ecological models, such as SoLVES (Social Value of Ecosystem Services) (Brown & Brabyn, 2012; Codato et al., 2017; Sun, Jiang, et al., 2019; Sun, Xiang, et al., 2019; Zhang et al., 2018), HSI (habitat suitability index) (Lewis et al., 2019; Zhang et al., 2018; Zhiqiang et al., 2009), and the InVEST model (integrated evaluation of ecosystem services and tradeoff) (Berta Aneseyee et al., 2020; Chuanzhun et al., 2015; Petway et al., 2020), have unique advantages in the analysis and simulation of the spatial change in habitat quality and are constantly updated and improved (Tang et al., 2021). Furthermore, the evaluation results are more consistent with the urgent needs of natural reserve planning and ecological protection (Han et al., 2018). Among them, the InVEST model does not have high requirements for data, and it can use land use change data to quickly evaluate changes in habitat quality, such as, watersheds (Han et al., 2018; Paudyal et al., 2018), counties and cities (Chunfang et al., 2018; Li, He, et al., 2021; Li, Sun, et al., 2021; Li, Zhou, et al., 2021; Zhang & Fang, 2021), and natural reserves (Rosas et al., 2017; Sun, Jiang, et al., 2019; Sun, Xiang, et al., 2019; Xiaoyang et al., 2016). However, at large- and medium-sized scales, there is still a lack of research on the spatiotemporal differentiation of habitat quality, and few scholars have focused on the impact of topographic gradients on habitat quality. Terrain, as an indispensable factor of the natural environment, has a significant impact on the transfer of surface materials and energy (Chang-li et al., 2017). Exploring the distribution characteristics and laws of habitat quality from the perspective of topographic gradients is helpful for deeply understanding the correlation between land use change factors, and play an important role in deepening the understanding of land use-driven habitat quality change (Xiaoyan et al., 2021).

Hubei Province has plains, hills and mountains, making it suitable for study. However, Hubei Province has a rapid economic development momentum and strict environmental constraints, which may have a negative impact on the maintenance of biodiversity. Therefore, when considering the unique geographical conditions of Hubei Province, it is important to explore the relationship between Hubei Province’s habitat quality and land use changes in an innovative combination of topographical perspectives. Based on the analysis of the habitat quality of Hubei Province using the InVEST model, this paper analyzes the impact of regional topographic conditions on the spatiotemporal distribution pattern of habitat quality with the help of the terrain index to discover the response of habitat quality to land use change and the differentiation of habitat quality at different terrain index grades. The research conclusion can provide decision support for land use layout and ecological environmental protection in Hubei Province in the future.

2 Methods and data sources

2.1 Study area

Hubei Province, as shown in Fig. 1, is located in central China, with various geomorphic types, including gangland, hills, plains, mountains, and other types. Among them, mountainous area, plain area and hilly area account for 56%, 20% and 24% of the total area of Hubei Province, respectively (Xiao et al., 2021). Most parts of the Hubei Province have a typical subtropical monsoon climate. Its main characteristics are long frost free period, sufficient light and heat, abundant precipitation, and rain and heat in the same season (Li, He, et al., 2021; Li, Sun, et al., 2021; Li, Zhou, et al., 2021). According to China's forest resources report (State Forestry and Grassland Administration, 2019), the vegetation in Hubei Province belongs to the north subtropical and middle subtropical regions, with a forest area of 736.27 hectares and a forest coverage rate of 39.61%. The total biomass of forest vegetation is 492 million tons, and the total carbon reserve is 244 million tons. The zonal soil of low mountains and hills in southeastern Hubei is brown red soil, the main zonal soil in southwestern Hubei is yellow soil, the zonal soil in central and northeastern Hubei is yellow brown soil, and the main zonal soil types in northern and northwestern Hubei are yellow cinnamon soil and yellow brown soil.

Fig. 1
figure 1

Location of Hubei Province

2.2 The analysis of habitat quality

2.2.1 The habitat quality module in the InVEST model

The InVEST model (Integrated Valuation of Ecosystem Services and Tradeoffs) was jointly developed by Stanford University, The Nature Conservancy (TNC) and the World Wildlife Fund (WWF) in 2007 (Dai et al., 2019; He et al., 2017; Polasky et al., 2011; Wu, Dai, et al., 2021; Wu, Sun, et al., 2021). This module can explain the impact of human production and daily life on the surrounding ecological environment and ecosystem (Zhang and Fang 2021). One of the advantages of this method is that it can replace detailed field investigation and quantitatively monitor the change of habitat quality in a short time (Li, He, et al., 2021; Li, Sun, et al., 2021; Li, Zhou, et al., 2021). Linear or exponential distance attenuation function can be used to describe the spatial attenuation of threat (Li, He, et al., 2021; Li, Sun, et al., 2021; Li, Zhou, et al., 2021). The stress level \(i_{rxy}\) of threat factor \(r\) in grid \(y\) to habitat grid \(x\) is calculated as follows:

$$i_{rxy} = 1 - \left( {\frac{{d_{xy} }}{{d_{rmax} }}} \right)\quad \left( {\text{linear decay}} \right)$$
(1)
$$i_{rxy} = exp\left( { - \left( {\frac{2.99}{{d_{rmax} }}} \right)} \right)\quad \left( {\text{exponential decay}} \right)$$
(2)

where \(d_{xy }\) is the linear distance between grid \(x\) and grid \(y\), and \(d_{rmax }\) is the largest impact distance of threat factor \(r\) on habitat. The total threat level of grid cell \(x\) in habitat type \(j\) (i.e., habitat degradation degree) \(D_{xj}\) can be expressed as follows:

$$D_{xj} = \mathop \sum \limits_{r = 1}^{R} \mathop \sum \limits_{y = 1}^{{Y_{r} }} \left( {\frac{{w_{r} }}{{\mathop \sum \nolimits_{r = 1}^{R} w_{r} }}} \right)r_{y} i_{rxy} \beta_{x} S_{jr}$$
(3)

where \(R\) is the number of threat factors; \(w_{r}\) is the weight of the threat factor \(r\), which ranges from 0 to 1, indicating the relative destructive power of the stress factor to all habitats; \(Y_{r}\) is the grid number of threat factor \(r\) in the land use map; \(r_{y}\) is the number of stress factors on each grid in the land use map; and \(S_{jr}\) is the sensitivity of land use type \(j\) to the threat factor \(r\), which ranges from 0 to 1. The closer the value is to 1, the more sensitive it is; \(\beta_{x}\) is the legal accessibility (or legal access degree or arrival degree) of grid unit \(x\), which refers to the degree of land resources or ecosystem protection affected by current policies, laws, regulations, regulations and their implementation methods, that is, the accessibility level of various threat factors to grid \(x\). The value range is 0 ~ 1, and the closer the value is to 1, the easier it is to achieve (Yuan et al., 2019). This paper does not consider the specific land protection area of Hubei Province. The degree of protection of each land cover type in the area is equal and uniform in relation to national laws and regulations. Thus, the system will automatically assign a value of 1, that is, safe arrival. The calculation formula of the habitat quality index is as follows:

$$Q_{xj} = H_{j} \left( {1 - \left( {\frac{{D_{xj}^{z} }}{{D_{xj}^{z} + K^{z} }}} \right)} \right)$$
(4)

where \(Q_{xj}\) is the habitat quality index of grid \(x\) in land use type \(j\); \(H_{j }\) is the habitat suitability of land use type \(j\), and the value range is 0 ~ 1, of which 1 is the most suitable. \(K\) is a semi-saturation constant, which is generally taken as half of the maximum value of habitat degradation degree \(D_{xj}\). Value \(Z\) is a normalized constant, which is the default parameter of the model and is usually set to 2.5. The value of the habitat quality index \(Q_{xj}\) ranges from 0 to 1, and a higher value indicates better habitat quality.

2.2.2 Parameter setting of the habitat quality module

The habitat quality model is mainly composed of four factors: the relative impact of each threat, the relative sensitivity of each habitat type to each threat, the distance between the grid cell and the threat, and the level of legal protection to which the unit is protected (Li, He, et al., 2021; Li, Sun, et al., 2021; Li, Zhou, et al., 2021). Other research results have found that the factors that have the greatest impact on the surrounding environment are closely related to human production and daily life (Sun et al., 2021; Wenxian et al., 2021). Cultivated land and construction land are characterized by high intensity of human activities and low biodiversity. There is basically no vegetation cover on the bare land, which will affect the richness and stability of the surrounding ecosystem. The more intense the intensity of human activities and the larger the scope of activities, the more severe the impact on the ecological security and biodiversity of the ecosystem. By collecting relevant literature (Foster et al., 2017; Terrado et al., 2016; Yang et al., 2018), referring to the user guide manual of the InVEST model (NATURAL CAPITAL PROJECT, 2021), the expert opinions of the region, and considering the special geographical environment of the research area (Fig. 2), the types, weights and habitat sensitivity distribution of threat sources in the literature are statistically analyzed, and eight threat sources are selected, namely paddy field, dry land, urban land, rural residential area, other construction land, bare land, major railways and major roads. Taking the protection of biodiversity in landscape ecology as the basic principle, the threatened sensitivity of a habitat type is determined (Yu et al., 2018). Generally speaking, the degree of sensitivity to external threat factors is natural, semi-artificial, and artificial in descending order (Han et al., 2018). The sensitivity of natural land use types such as forest and grassland is relatively high, while the sensitivity of artificial land use types such as cultivated land and construction land is relatively low. The sensitivity of the threat source is assigned a value in the range of 0 to 1, where 0 means the habitat is not sensitive to the threat factor, and 1 means it is highly sensitive. The habitat threat sources and related parameters (Table 1), habitat suitability of various land use types and sensitivity to different threat sources were assigned (Table 2). The InVEST model uses the habitat quality index to represent the regional habitat quality, which ranges from 0 to 1. The higher the value, the higher the habitat quality, indicating that the better the structure and function of the corresponding ecosystem, which can help maintain biodiversity. The smaller the value, the lower the habitat quality, indicating that the worse the structure and function of the corresponding ecosystem, it cannot help the maintenance of biodiversity.

Fig. 2
figure 2

Threats raster/vector

Table 1 Threat source and its weight and maximum influence distance
Table 2 Habitat suitability and its relative sensitivity to threat sources

2.3 Terrain index

The terrain index is a composite index used to analyze the elevation and slope attribute information of any point in space, and it can comprehensively reflect the spatial differentiation of topographical conditions (Chang-li et al., 2017; Güntner et al., 2004; Han et al., 2020; Yuan et al., 2019). It is calculated as follows:

$$T = {\text{lg}}\left[ {\left( {\frac{E}{{\overline{E}}} + 1} \right) \times \left( {\frac{S}{{\overline{S}}} + 1} \right)} \right]$$
(5)

where \(T\) is the terrain index; \(E\) and \(\overline{E}\) refer to the elevation value (m) and average elevation value (m) of any grid in the space respectively; and \(S\) and \(\overline{S}\) refer to the slope value of any grid in the space and the average slope value, respectively. Generally, the grid topographical index with a high elevation and slope value is larger, the grid topographical index with a low elevation and slope value is lower, and the grid topographical index with high elevation and slope value or a low elevation and high slope value is in the middle.

2.4 Data sources

The land use data of Hubei Province in 2000, 2005, 2010, 2015, and 2020 were collected from the Resource and Environmental Science Data Center of Chinese Academy of Sciences (http://www.resdc.cn), with a spatial resolution of 30 m. According to the characteristics of data, the land use/land cover types in the study were integrated into six first-class categories, which were mainly divided into cultivated land, woodland, grassland, water area, construction land, and unused land. The second level was mainly divided into 19 types according to the natural attributes of the land resources (as shown in Table 3). The data on administrative regions, lakes and rivers, main roads, and main railways were from the National Basic Geographic Databases (1:250,000 and 1:1,000,000). The DEM data come from the Geospatial Data Cloud (http://www.gscloud.cn), with a spatial resolution of 30 m. The technical flowchart of the full text is shown in Fig. 3.

Table 3 Classification and description of land use types
Fig. 3
figure 3

Technical flowchart

3 Results

3.1 Spatiotemporal characteristics of land use change

According to the land use data of Hubei Province in 2000, 2005, 2010, 2015, and 2020 (Fig. 4), the area proportion of each land use type in five periods in Hubei Province was obtained (Table 4). The primary land use types in Hubei Province were cultivated land, woodland, cultivated land, and water area, accounting for 87% of the total area of Hubei Province. The area proportion of each land use type in Hubei Province remained relatively stable in the five stages, but there were varying degrees of changes. The area of paddy fields and dry land was in a state of fluctuation. Woodland and grassland showed a decreasing trend overall. Because of the environmental protection policies implemented in recent years, the water area was in an expanding trend. In recent years, due to the launch of the comprehensive land improvement policy, the construction land area within the city has promoted intensive and economical utilization, which is in a decreasing trend. The urban unused land was in a relatively stable state with little change.

Fig. 4
figure 4

Land use types of Hubei Province from 2000 to 2020

Table 4 Characteristics of land use structure in different periods

The changes in land use types were analyzed based on the land use classification data of Hubei Province. In terms of change scale, the area of cultivated land decreased the most from 2000 to 2020, with a decrease of 2736.88 km2. Construction land increased the most, with an increase of 2590.06 km2. Woodland decreased by 565.48 km2, water area increased by 878.59 km2, and unused land and grassland decreased less. The change range of construction land is the largest from 2000 to 2020, with an increase of 50.88%. Unused land decreased the most, reaching 12.49%. The change rates of cultivated land, woodland, grassland, and water area were − 3.93%, − 0.61%, − 1.43%, and 8.14%, respectively. In terms of stages, the water area and construction land area generally showed the change characteristics of "increase–decrease". Cultivated land and grassland generally showed the change characteristics of "decrease-increase". Woodland area increased only from 2005 to 2010, and decreased in other years. The unused land area only increased in 2015–2010, and decreased in other years.

3.2 Spatiotemporal variation characteristics of habitat quality

By running InVEST's habitat quality module, the spatial distribution map of Hubei Province from 2000 to 2020 was obtained. By using ArcGIS, habitat quality is divided into four levels, namely Level 1 (0.8–1.0), Level 2 (0.5–0.8), Level 3 (0.3–0.5) and Level 4 (0.0–0.3). According to the characteristics of the spatial pattern (Fig. 5), the spatial distribution difference of habitat quality in Hubei Province was obvious, and higher habitats (Level 1 and Level 2) were widely distributed.

Fig. 5
figure 5

Spatial distribution of habitat quality in Hubei Province from 2000 to 2020

The distribution characteristics of all kinds of habitats were different. Level 1 and Level 2 habitats were mainly located in the mountains and hills in the southwest and northwest of Hubei Province, including the Wuling Mountain Area in the southwest of Hubei Province and the Qinba Mountain Area in the northwest of Hubei Province. In addition, the habitat quality of natural lakes was at a high level, which benefits from the rich water and wetland resources, and is suitable for the survival of aquatic animals and plants. Level 3 habitats were distributed in the agricultural production area of the plain area, where the human cultivation is frequent, the ecosystem is singular, the vegetation coverage is low, and the ecological environment is fragile. Level 4 habitats were mainly concentrated in urban areas, mainly in the urban agglomerations and their surrounding areas. Among them, the lower habitats (Level 3 and Level 4) on the Jianghan Plain were the most widely distributed. The land use structure of these places was mainly cultivated land and construction land, and the biodiversity was low. Therefore, the spatial distribution of habitat quality had a strong correlation with topography and resource endowment.

From the time scale (Table 5), the average habitat quality in 2000, 2005, 2010, 2015, and 2020 was 0.6095, 0.6107, 0.6099, 06,060, and 0.6053, respectively. The average value of habitat quality in Hubei Province showed a trend of “increased-decreased”, and the overall average habitat quality decreased slightly. The results showed that the proportion of the Level 2 habitats was the highest, with a value of approximately 31%, and the proportion of the Level 1 and Level 2 habitats was 58%, indicating that the quality of the habitats in Hubei Province is at a higher level. From 2000 to 2020, the proportion of each level habitat area did not change much. It was obvious that the proportion of the Level 4 habitat area gradually increased, while the proportion of the Level 3 habitat area showed a declining trend, and the increase and decrease range was basically the same. This result reflects that the higher habitats are transitioning to lower levels, and Hubei Province has a potential risk of habitat degradation.

Table 5 Characteristics of land use structure in different terrain positions

To further explore the spatial differentiation characteristics of habitat quality, a difference analysis of the habitat quality distribution map in each year was carried out in ArcGIS. Figure 6 shows that the habitat quality in most areas of Hubei Province had no obvious change from 2000 to 2020, and the overall spatial pattern was "rising in the southeast and falling in the middle". From 2000 to 2020, the habitat quality improvement area was mainly located on Jianghan Plain, which benefited from the increase in the aquaculture water surface driven by the economic benefits of aquaculture. The areas with declining habitat quality were mainly concentrated in Wuhan, Yichang, Xiangyang, and other cities. These cities have a high GDP, and the demand for economic development is more urgent. The expansion speed of construction land, such as urban industrial, mining and transportation is relatively fast, thus squeezing and dividing the surrounding habitat space. Additionally, the sewage, waste gas and waste gas discharged from the construction and production process, waste residue and other pollutants may cause the degradation of nearby habitats, destroy and disturb the recreational environment of surrounding species, and pose a greater threat to the maintenance of biodiversity. In 2000–2020, the improvement in habitat quality was relatively scattered, mainly due to the increase in vegetation coverage driven by the conversion of farmland to forest and afforestation, and the restoration and treatment of the water surface. The regional expansion direction of habitat quality decline matched the direction of urban spreading, and radiated from the ring to the surroundings, which indicated the acceleration of the urbanization process and also reflected the spatial agglomeration effect of habitat degradation.

Fig. 6
figure 6

Spatial variation in habitat quality in Hubei Province from 2000 to 2020

3.3 Habitat quality change characteristics of different land types

Table 6 shows that the dominant habitat quality level of cultivated land, woodland, grassland, and water area was Level 3, Level 2, Level 2, and Level 1, respectively. Correspondingly, the habitat quality of woodland and water area was the highest, followed by grassland, and the habitat quality of cultivated land was the lowest. The habitat quality of cultivated land, woodland and grassland demonstrated a downward trend from 2000 to 2020. The habitat quality of the water area improved by 0.0045. As can be seen from Table 6, the high-level habitats of woodland and water area degenerate to lower-level habitats in a fluctuating way, which was mainly attributed to human activities such as deforestation for farmland, steep slope reclamation, and lake reclamation. In conclusion, woodland and water areas contributed the most to the habitat quality of Hubei Province, and the degradation of the two habitats was the main factor for the decrease in regional habitat quality.

Table 6 Characteristics of land use structure in different habitat quality levels

3.4 Topographic gradient effect of habitat quality

3.4.1 Topographic features of Hubei Province

The terrain index of Hubei Province, based on the DEM data, was calculated according to Formula (5). The result range was − 0.351–3.76. It was divided into five grades (Fig. 7): grade 1 (< 0.54), grade 2 (0.54–1.09), grade 3 (1.09–1.71), grade 4 (1.71–2.27), and grade 5 (2.27–3.76). The topographical position of Hubei Province is low in the middle and high in the southwest and northwest, and the terrain index can fully describe the distribution of the regional topography. Figure 8 shows that the terrain grade of the Hubei Province was mainly grade 1 (more than 30%), followed by grade 2, grade 3, and grade 4 (each approximately 18%), and grade 5 was the lowest (only 12%).

Fig. 7
figure 7

Spatial distribution of terrain index values in Hubei Province

Fig. 8
figure 8

Proportion of topographic index

3.4.2 Topographic gradient effect of land use

The intensity of human activities and the vertical differentiation of climate make the land use structure have an obvious terrain gradient effect. As can be seen from Table 7, the most important land use types in Hubei Province are cultivated land and water areas. Cultivated land is the main land use type in the grade 1 terrain, accounting for more than 20%, and woodland is the principal land use type of terrain above grade 1. With the increase in terrain grade, the proportions of cultivated land, construction land, water area, and unused land decreased sharply, while the proportions of woodland and grassland increased significantly. The proportion of water area and construction land is increased, and the proportion of cultivated land, woodland, grassland and unused land is decreased during the research period, which indicated that the problem of extensive land use is still prominent (Table 8). Moreover, the higher the terrain grade is, the smaller the change range is. This is because the lower the terrain grade is, the greater the intensity of human activities and the stronger the interference of human factors is on land use. In contrary, adverse climate and natural disasters have a greater impact on land use change in high-lying areas. Compared with natural factors, human factors have a more significant impact on land use in the short term (Fig. 9).

Table 7 Characteristics of land use structure in different terrain grade
Table 8 The number of county-level units of habitat quality in each topographic position in Hubei Province
Fig. 9
figure 9

Land use type shown for each terrain index grade in Hubei Province from 2000 to 2020

3.4.3 Topographic gradient effect of habitat quality

Human activities can change the surface structure, thus affecting the regional habitat quality. The intensity of human activities is usually consistent within an administrative region, and the county is the smallest unit in the formulation and implementation of ecological policies. Therefore, taking county as the basic unit, this paper analyzes the impact of terrain gradient effect on habitat quality. The correlation between the terrain index and habitat quality was discussed by regression analysis. As can be seen from Fig. 10, the habitat quality of Hubei Province showed an upward trend with the increase of terrain index. There was a significant correlation between the two, but the correlation had a decreasing trend. The curve fitting degree (R2) was greater than 0.7, indicating that the logarithmic function could describe the relationship between the two.

Fig. 10
figure 10

Relationships between topographical index and habitat quality

According to the number of counties with different levels of habitat quality in Hubei Province from 2000 to 2020 (Table 8), there was only one county with Level 1 habitat quality. The dominant range of grade 1 terrain was Level 3 habitat, and the dominant range of second-, third-, and fourth-grade terrain was Level 2 habitat (Fig. 11). From the perspective of habitat quality, the counties in the Level 1 habitat were the lowest, only distributed in the grade 5 terrain. The number of level 2 habitats was the largest, and they were mainly distributed in the terrain of grade 1, grade 2, grade 3, and grade4. The number of counties in Level 3 habitat is relatively large, mainly in the terrain of grade 1 and grade 2. The habitat of Level 4 was distributed only on the terrain of grade 1.

Fig. 11
figure 11

Habitat quality for each terrain index grade in Hubei Province from 2000 to 2020

The average habitat quality on different terrain index grade range from 2000 to 2020 was calculated. According to Table 9, as the terrain index grade increases, the average value of habitat quality increases accordingly. In 2015, the average habitat quality of the grade 5 terrain was 1.80 times that of the grade 1. But the rising rate of habitat quality was increasingly lower, which indicated that the gradient effect of habitat quality was more obvious when the terrain was gentle. The average habitat quality of all terrain sites fluctuated, and the average habitat quality of grade 1, grade 2, grade 3, and grade 4 terrain had a downward trend. The reason was that the quantity of forest and grassland decreased continuously, which led to the general decrease of habitat quality, while the growth of cultivated water surface, lake reservoir and wetland in the first grade terrain made the habitat quality increase without decreasing.

Table 9 Average habitat quality of different topographical sites in Hubei Province

4 Discussion

This study fully describes the spatiotemporal differentiation characteristics of habitat quality in Hubei Province, and analyzes the distribution characteristics of habitat quality from the perspective of terrain index. The results may provide theoretical support for biodiversity conservation policies with spatial differentiation. However, the factors that affect habitat quality are complex, and there is no in-depth analysis of the influence mechanism of each factor on its distribution formation, which is a direction of future research.

Resource endowments limit the overall level of habitat quality, while industrial development and land use patterns determine the change trend, resulting in differences in habitat quality distribution and change level. However, unreasonable human activities, such as rapid expansion of urban and rural and deforestation, have seriously damaged the original ecological structure, resulting in a decline in habitat quality. On the contrary, Hubei Province has a large proportion of cultivated land and a low level of habitat quality, but the promotion of green development awareness and the protection of water resources have had a positive influence on the maintenance of biodiversity. In the flat area of Hubei Province, the contribution of water area to habitat quality is greater, and human activities are relatively frequent. Therefore, it is very important to effectively limit the occupation and pollution of cultivated land and urban land to the water area to improve the habitat quality of water resources. In mountainous areas, the contribution of forest and grass resources is greater. We must strengthen the protection, breeding and restoration of important forests and grasslands, prevent the degradation of forests and grasses, and vigorously promote the planting of trees and grasses. The habitat quality of cultivated land is low, but its role in ensuring food security cannot be ignored. The development of ecological agriculture should be encouraged, and the usage of chemical fertilizers and pesticides that threaten the survival of animals and plants should be reduced to gradually improve the biodiversity level of cultivated land.

4.1 Influence of land use change on habitat quality

Studies have shown that disordered urban expansion could easily lead to the reduction of land with critical natural habitat functions (such as wetlands, waters, and other) and the decline of habitat quality and biodiversity (Li et al., 2018; Zhu et al., 2020). From 2005 to 2015, the construction land in Hubei Province grew rapidly and showed the characteristics of rapid urbanization, resulting in the serious occupation of natural habitats. Tables 2 and 3 show that urban land and traffic road were identified as the main threat sources. First, rapid urban expansion has caused the destruction of natural environment, which hinders the connection of ecological corridor. Second, human activities caused by urban expansion have a significant negative spatial correlation with habitat quality (Ting et al., 2021; Zhang, Gao, et al., 2020; Zhang, Song, et al., 2020). With the increase in human activity intensity, habitat quality has been severely disturbed.

Hubei Province is a major agricultural province in China, and its cultivated land area shows a "decrease-increase" trend, while its construction land shows a "increase–decrease" change feature. The emergence of this phenomenon is largely related to the special policies implemented by China, that is, "balance of arable land occupation and compensation" and "comprehensive land consolidation" (Wu et al., 2017). The core measure of the policy is that if urban construction occupies cultivated land, cultivated land of the same quantity and quality must be supplemented. Cultivated land, which is differ from construction land, has some certain ecological service functions, such as food production, water conservation, and biodiversity protection (Swinton et al., 2007).

As can be seen from Table 6, the dominant habitat quality level of cultivated land, woodland, grassland and water area was Level 3, Level 2, Level 2, and Level 1, respectively. Accordingly, the woodland and water area’ habitat quality were the highest, followed by grassland, and the habitat quality of cultivated land was the lowest. The reduction in water area, woodland, and grassland is an important factor influencing the decline of habitat quality. Therefore, the government should adjust the relationship between economic prosperity and ecosystem health through a series of methods, such as revitalizing urban stock land and protecting high-quality habitat, so as to achieve sustainable development.

The contribution of water area to the habitat quality is greater, and human activities are relatively frequent. Therefore, it is very important to effectively limit the occupation and pollution of cultivated land and construction land to the water area to improve the habitat quality of water resources. In mountainous areas, the contribution of forest and grass resources is greater. We must strengthen the protection, breeding and restoration of important forests and grasslands, prevent the degradation of forests and grasses, and vigorously promote the planting of trees and grasses. The habitat quality of cultivated land is low, but its role in ensuring food security cannot be ignored. The development of ecological agriculture should be encouraged, and the use of chemical fertilizers and pesticides that threaten the survival of animals and plants should be reduced to gradually improve the biodiversity level of cultivated land.

4.2 Policy implications

The continuous social-economic progress of Hubei Province and the rapid changes in land use have led to declining habitat quality. In order to protect the biodiversity of Hubei Province and achieve sustainable development, corresponding land management measures and ecological protection strategies can be carried out based on the regional heterogeneity of habitat quality. In the southwest and northwestern mountains of Hubei Province, the land use types are mainly woodland and grassland, which are key habitat aggregation areas with high habitat quality levels (Level 1 and Level 2). In these areas, urban expansion and the occupation of ecological land need to be strictly controlled, and a series of protection projects should be implemented to maintain extremely significant habitat patches and ecological reserves such as lakes, forests, and rivers (Lee & Jeon, 2020; Li, He, et al., 2021; Li, Sun, et al., 2021; Li, Zhou, et al., 2021). Government actions and policies, such as delimitation ecological protection zones and national parks, can limit the intensity of human activities and the disturbance to these areas, so as to strengthen the protection of the above-mentioned areas with high-level habitat quality (Gao, 2019).

Cultivated land is the land use type that accounts for a large proportion in the area with Level 3 habitat quality. Although the habitat quality in these areas is not high, cultivated land, as the most important carrier of agricultural production, plays a significant role in ensuring food production and food security. In order to ensure food security and maintain the effective operation of society, for a populous country like China, the sufficient quantity and good quality of cultivated land must be effectively guaranteed. The Jianghan Plain in Hubei Province is one of the most important grain production bases in China. In the future, it is important to focus on reducing the occupation of cultivated land during urban expansion. The balance of occupation and compensation policy and the implementation of comprehensive land improvement projects being implemented in China can effectively stabilize agricultural land and reduce the loss of essential agricultural land resources. In addition, Hubei Province should designate the high-quality farmland resources within terrain index grade 1 and grade 2 as permanent basic farmland protection areas, so as to improve the level of cultivated land resources protection.

In the area with Level 4 habitat quality, construction land was the land use type that accounts for a large proportion. It is necessary to optimize land use allocation on the premise of protecting biodiversity and ecological corridors for these areas. Delimiting the urban growth boundary is an efficient way to control the disorderly spread of cities and curb the decline of biodiversity. Follow-up research can study the urban growth boundary from the perspective of ecosystem services, construct the delimitation method of the urban growth "ecological boundary" based on the concept of "ecological priority" to explore the urban expansion path under the situation of minimizing the impact on habitat quality, and provide scientific support for the urban sustainable development of the Wuhan urban circle and other similar regions in the country (Jiansheng et al., 2017).

4.3 Limitations and future research directions

At present, there are two types of habitat quality assessment methods: one is to obtain habitat quality parameters through field investigation in the study area, and construct evaluation indicators on the basis of field sample investigations to comprehensively evaluate habitat quality (Qiang et al., 2014, 2019). For example, Liu et al. investigated and evaluated the biodiversity and habitat quality of Dunhuang West Lake Nature Reserve (Minxia, 2009). Liu et al. investigated and analyzed the habitat quality of rivers in the Yixing area of Taihu Lake basin (Hua et al., 2012). Yang et al. investigated the habitat quality of Laizhou Bay (Jianqiang et al., 2014). However, the methods of field survey sampling used to evaluate habitat quality tend to study the habitat environment of small geographical ranges or of a single species, and these methods are limited by time and labor consumption, making it especially difficult to carry out long term data analysis.

Second, based on land use data, multiple software models are applied to evaluate the habitat quality of the study area (Xiaoyan et al., 2021), such as the habitat quality evaluation module of the InVEST model (Xueru et al., 2020), the biodiversity evaluation module of the SoLVES model (Yu et al., 2016) and IDRISI software (Shanthala et al., 2016). Among them, the habitat quality assessment module of the InVEST model is widely used because of its convenient parameter acquisition and accurate result analysis. For example, Huang et al. discussed the spatiotemporal evolution of habitat quality in the Dabie Mountains of western Anhui (Muyi et al. 2020). Han et al. studied the impact of land use change on habitat quality in the Qinghai Lake basin (Yanli et al., 2019). Zheng et al. assessed the habitat quality and landscape pattern of Changli County (Yu et al., 2018). Some scholars have also combined the InVEST model and land use change simulation model to study the changes in habitat quality in historical and future periods (Kang et al., 2019; Xueru et al., 2020). As can be seen from the previous research results, the InVEST model, which combines the advantages of RS and GIS, is capable of carrying out habitat quality assessments on different geospatial scales and time dynamics, providing a feasible method for habitat quantitative estimation. However, due to data limitations, this study considered only the influence of habitat quality on land use change. Future research can be combined with other types of ecosystem service function evaluation modules to comprehensively evaluate the ecological effects of land use change, so as to provide scientific guidance for ecosystem health and economic and social sustainable development in Hubei Province.

5 Conclusions

Based on the InVEST model, DEM data, and land use data from 2000 to 2020, this study analyzed and discussed the spatiotemporal change characteristics of habitat quality in Hubei Province, and studied the impact of terrain gradients effect on habitat quality. The conclusions are as follows:

(1) The land use types in Hubei Province are mainly cultivated land, woodland, grassland, and water area, which is 87% of the total area of Hubei Province. The proportion of each land use type in Hubei Province remained relatively stable during the research period, but there were varying degrees of changes. From 2000 to 2020, the habitat quality of each land use type in Hubei Province fluctuated little, and the distribution of habitat quality was basically consistent with that of land use type. The habitat quality of water area and woodland was the highest, followed by the habitat quality of grassland and cultivated land. During the research period, the habitat quality of cultivated land, woodland, and grassland decreased slightly, but the habitat quality of water area improved. Woodlands and water surfaces contributed the most to the habitat quality of Hubei Province. The main factors for the decline in the regional habitat quality were the increase in construction land and the change of cultivated land.

(2) The distribution characteristics of all kinds of habitats were different. High level habitats (Level 1 and level 2) were mainly distributed on the mountains and hills in the southwest and northwest of Hubei Province. Level 3 habitat quality was mainly distributed on the Jianghan Plain of Hubei Province, with frequent disturbance by human activities and a fragile ecological environment. Level 4 habitats were mainly distributed on urban areas, three urban agglomerations, and their surrounding areas. The average habitat quality in 2000, 2005, 2010, 2015, and 2020 was 0.6095, 0.6107, 0.6099, 06,060, and 0.6053, respectively, showing the change characteristics of “increase–decrease”. This result reflects that the higher habitats are degrading to lower levels, and Hubei Province has a potential risk of habitat degradation.

(3) The topographic index in Hubei Province ranged from − 0.351 to 3.76 and was divided into five grades, which could describe the characteristics of regional topography; that is, the topographic position of Hubei was lower in the middle, and higher in the southwest and northwest. The terrain level of the region was mainly grade 1(more than 30%), followed by grade 2, grade 3, grade 4 (each approximately 18%), and grade 5 was the lowest (only 12%). The spatial distribution of habitat quality at different levels in Hubei Province was quite different on the terrain gradient. In addition, terrain level played a key role in the spatial distribution pattern of habitat quality. With the increase in topography, the average habitat quality increased, but the increase gradually decreased. In addition, the effect of terrain gradient on habitat quality was more significant. From 2000 to 2020, the habitat quality of all terrain levels showed a downward trend, and the number of forests and grasslands continued to decrease, resulting in a general decline in habitat quality.