Evaluation of Soil and Water Conservation Function in Dingxi City, Upper Yellow River Basin

: Dingxi City is located in the upper reaches of the Yellow River Basin, at the intersection between the Loess Plateau and West Qinling Mountains. The water and soil conservation function of Dingxi City is very important and have become key constraining factors for economic and social development. Due to the fragmented terrain and landscape patches, high spatial accuracy in the assessment of water and soil conservation is required for proper management. In this study, we introduced an index system for the evaluation of soil and water conservation functions, including various inﬂuencing factors. The results showed that area percentages of the ﬁve levels (lower, low, medium, high, and higher) in soil conservation were 6.24, 6.25, 23.49, 30.95, and 33.07, respectively, and the areas with higher soil conservation were mainly concentrated in the hilly and gully areas of the Loess Plateau with low vegetation coverage. The percentages of water conservation in the ﬁve levels (lower, low, medium, high, and higher) were 40.49, 21.78, 16.66, 7.9, and 13.11, respectively, and the areas with higher water conservation were concentrated in Min County and Zhang County, with the most abundant precipitation and highest vegetation coverage. In addition, functional areas of soil and water conservation had obvious spatial heterogeneity. Among them, the proportion of high-grade functional areas for soil conservation decreased with an increase in precipitation, whereas a high proportion of high-grade functional areas for water conservation was concentrated in areas with precipitation of more than 600 mm. The conﬂict between agricultural production and ecological protection of soil and water conservation is prominent, and areas with serious conﬂict are concentrated in the central and northern areas of Dingxi City. Based on this, we suggest a spatial layout guidance for agricultural production and ecological protection, providing a scientiﬁc basis for decision-making that supports ecological protection and high-quality sustainable development in Dingxi City.


Introduction
Soil and water conservation are the typical ecosystem services of river basins [1]. Soil conservation is the ability of an ecosystem to prevent erosion and store sediment through its structures and processes [2]. Soil conservation services play an integral role in avoiding droughts and floods and targeting ecological improvements [3]. Water conservation is the ability of an ecosystem to protect its internal hydrological process, meeting the water demand and contributing to flood storage, flood peak reduction, and water purification [4]. The study of soil and water conservation has great value in maintaining ecosystem stability and ensuring high-quality economic and social development [5].
Research on soil and water conservation has become a hot issue in international ecology [6][7][8][9]. Since the Universal Soil Erosion Equation (USLE) for soil erosion was proposed by the U.S. Department of Agriculture [10], many scholars have studied the soil retention capacities of different areas applying different methods. Fu et al. evaluated the soil conservation function of Loess Plateau ecosystems based on land cover change

Study Areas
Dingxi City is located in the middle of Gansu Province, between 34 • 26 -35 • 35 N and 103 • 52 -105 • 13 E (Figure 1). It covers a total area of 19,600 square kilometers. The overall topography of the city fluctuates greatly, with a complex terrain, mountains that are vertical and horizontal, and a greatly varying climate. The central and northern parts of the city are dry and less rainy, whereas the southern area is cold and damp. The average annual temperature is 5.7-7.7 • C. Mean annual precipitation is about 500 mm, decreasing from south to north (Figure 2b). Evaporation is as high as 1400 mm or more. Using the Weihe River as the boundary, the geography is roughly divided into two natural types: the loess hilly and gully areas of the north and alpine and humid areas of the south. The central and northern parts account for 60% of the total area, and is in a middle temperate semi-arid zone with low precipitation, sufficient sunshine, and relatively high temperatures. Anding District, Longxi County, Tongwei County, Lintao County, and Weiyuan County are located in the loess hilly and gully area in the upper reaches of the Loess Plateau (Figure 2a), including three water systems and terraces at all levels of their main tributaries. Lintao County and Weiyuan County are part of the Taohe River Basin, the largest tributary of the Yellow River, and most of Anding District is located in the Guanchuan River Basin. The warm temperate semi-humid areas have high altitudes and low temperatures. Zhang County and Min County are located in the West Qinling Mountains, and belongs to the north-south transitional zone of China. The southeast of Min County belongs to the Jialing River Basin, a tributary of the Yangtze River. It is a sensitive area for the global climate change response. This area is rich in biodiversity, and a key protected area for surface water sources in Dingxi City. There are various soil types in the study area, including approximately six types of primary soil, arid soil, and alpine soil, among which the primary and calcareous soils are mainly distributed in the northern Loess plateau area, in Anding District and Tongwei County, and semi-eluvial and a small amount of eluvial soils are distributed in most areas of Zhang County and Min County in the south. The ecological environment of Dingxi area is fragile. Due to the long-term lack of water resources, poor land resources, and low soil organic matter content, the situation is especially serious in the northern part of the region. In addition, many artificial reclamations of steep slopes into cultivated land have caused serious soil loss and surface and groundwater loss in this area. This has contributed further to the sharp deterioration in the ecological environment and loss of biodiversity. The city's soil erosion area is 16,726.6 km 2 , accounting for 85.3% of the total land area. Serious soil erosion, shortage of water resources, a harsh ecological environment, and fragile agricultural foundations have become the main "bottlenecks" restricting the healthy development of the local economy and society for a long time. The task of protection and governance is extremely arduous, seriously restricting the development of industrial and agricultural production and improvement in the ecological environment.

Data Sources
Soil erosion intensity classification data in a kilometer grid, Normalized Difference Vegetation Index (NDVI) data in a kilometer grid, and DEM data in a 30 m grid were downloaded from the Resource and Environment Data Center, Chinese Academy of Sciences (https://www.resdc.cn/ accessed on 15 September 2022). The land use vector map (1:50,000 scale) came from the Second National Land Use Survey evaluation in 2018. All the above data were resampled to a 100 m grid using a bilinear interpolation algorithm in ArcGIS. The precipitation and evaporation from 1980 to 2015 were derived from the observation data of meteorological stations in Dingxi City and surrounding areas and interpolated to a 100 m grid by the Kriging method.

Data Sources
Soil erosion intensity classification data in a kilometer grid, Normalized Difference Vegetation Index (NDVI) data in a kilometer grid, and DEM data in a 30 m grid were downloaded from the Resource and Environment Data Center, Chinese Academy of Sciences (https://www.resdc.cn/ accessed on 15 Sep 2022). The land use vector map (1:50,000 scale) came from the Second National Land Use Survey evaluation in 2018. All the above

Data Sources
Soil erosion intensity classification data in a kilometer grid, Normalized Difference Vegetation Index (NDVI) data in a kilometer grid, and DEM data in a 30 m grid were downloaded from the Resource and Environment Data Center, Chinese Academy of Sciences (https://www.resdc.cn/ accessed on 15 Sep 2022). The land use vector map (1:50,000 scale) came from the Second National Land Use Survey evaluation in 2018. All the above

Methods
Soil and water conservation refer to the ability of ecosystems to conserve soil and water resources, prevent and mitigate disasters, and improve the ecological environment [26][27][28][29]. Due to the importance of existing data and the difficulty in obtaining the data, basic and representative data points were selected to reflect soil loss status, soil quality status, and water conservation capacity.

Establishment of the Soil Conservation Evaluation Index System
The soil conservation evaluation index system comprehensively calculates and analyzes evaluation factors such as soil erosion intensity, vegetation coverage, and topographical features, and divides the ecosystem into five grade areas of soil conservation function (lower, low, medium, high, and higher, and assigned a value from 1 to 5, according to level of importance). Soil erosion intensity was mainly reflected in the soil erosion intensity parameter (SEI). Soil erosion destroys the soil structure by destroying the surface soil, which in turn causes soil loss [30,31]. The slope is the most significant factor affecting soil erosion. Erosion is proportional to the steepness of the slope and increasing the slope will increase the risk of gravity erosion [32]; vegetation coverage plays a key role in controlling soil erosion [33], and vegetation directly hits the ground and reduces runoff scouring by isolating rainfall. An increase in vegetation coverage intercepts rainfall, reducing rainfall energy, and thus, reducing the erosive force. Based on the actual situation of Dingxi City and relevant planning and design results of soil and water conservation, we formulated evaluation and classification standards, and the classification results were appropriately adjusted [34].
In this study, soil loss intensity, slope, and NDVI were used as to comprehensively evaluate the level of soil conservation importance in Dingxi City. The Soil Conservation Importance Index (SCII for short, the same below) was measured as the product of these three factors. The formula for calculating the terrain weighting factor and for the vegetation coverage factor, based on NDVI, are as follows: In the formula, SEI is the soil erosion intensity parameter, and the assignment method is shown in Table 1; F sl p is the terrain weighting factor based on the slope, SLP is the slope value, which is the smaller value between SLP/30 and 1; K ndvi is the vegetation coverage weighting based on NDVI. NDV I i is the NDVI index of the evaluation unit; NDV I min and NDV I max are the minimum and maximum values of NDVI in the study area, respectively. Based on the terrain factors in the study area, the slope extraction results were reclassified and assigned. The more serious the degree of soil loss caused by the terrain factors, the greater the assigned value; the vegetation coverage was a key inhibitory factor affecting soil erosion. The main effect of soil loss control measure is directly reflected in vegetation changes, so vegetation coverage is an important regional environmental factor for soil conservation monitoring.

Establishment of the Water Conservation Evaluation Index System
The water conservation capacity ecosystem of Dingxi City is composed of the water conservation capacity of the surface cover layer and soil water conservation capacity, which are related to the surface cover state, vegetation type and coverage, litter composition, and soil thickness. Water conservation capacity is closely related to factors such as soil physical properties and is the result of the comprehensive effect of vegetation and soil [35]. According to a method of evaluating the importance of water conservation function at home and abroad [36], combined with the coexistence of the gully area of the Loess Plateau and the West Qinling Mountains in Dingxi City, three factors, namely the runoff modulus, ecosystem type, and characteristic vegetation, were selected as influencing water sources.
These three factors were assigned the same weight in the assessment of water conservation in Dingxi City, and the assessment grades were appropriately adjusted in combination with the design results of water conservation-related planning.
The water conservation importance index (WCII for short, shown below) mainly considers three factors: the basin runoff modulus, ecosystem type, and characteristic vegetation. Similar to the SCII, five important grade areas are divided. The calculation formulas are as follows: In these formulae, R refers to the yield per unit area (mm), and Formula 6 (Fu Baopu equation) is used according to the observation data of precipitation and evaporation; K eco is the land cover factor based on the type of ecosystem. The larger the value of forest, grassland, and other land cover types, the smaller the value of cultivated land and urban construction land. Table 2 shows the specific assignment method of the land surface factor; ALT is based on elevation. H i is the pixel elevation value; H max is the maximum altitude of the evaluation area; H Feature Vegetation vegetation is the elevation value of the vegetation with the largest distribution area among the vertical zonal vegetation in the evaluation area, which is 2000 m in this study. The characteristic vegetation factor based on elevation considers the influence of main local vegetation on the water conservation function. The runoff modulus is calculated using the Fu Baopu equation [37], the formula is as follows:

Soil Conservation Function Evaluation
Soil erosion destroys the soil structure and changes soil hydraulic properties, which in turn causes soil loss and a series of negative consequences [38,39]. For a long time, affected by the influence of natural and human activities, Dingxi City has witnessed a deterioration in the ecological environment, infertile soil, as well as a prominent soil erosion problem. The statistics of the annual average soil erosion modulus were as high as 5527 t/km. According to Figure 3a, the whole soil erosion intensity in Dingxi City shows a spatial distribution characteristic of being low in the south and high in the north, with Anding District and Tongwei County being soil erosion-prone areas, whereas remaining areas generally have low soil erosion intensity. In addition, vegetation cover is a key inhibitory factor affecting soil erosion and is also a critical element in the evaluation of the need for soil conservation [40]. As shown in Figure 3c, the distribution of vegetation cover and soil erosion intensity are basically the same, which implies that Anding District and Tongwei County are still prone to soil erosion. Generally, areas with a steeper slope, profile curvature, surface roughness, and located closer to the gully network are more susceptible to silo erosion [3,41,42]. Thus, when only considering the topography factor (Figure 3b), Zhang County and Min County are more exposed by soil erosion than areas north of Zhang County. However, this is clearly contrary to results based on the distribution of soil erosion intensity and vegetation cover, indicating that a single factor may not reflect the true situation of soil erosion. Based on single-factor evaluation, the regional soil conservation importance indicator was obtained by comprehensive measurement and divided into five grades, i.e., lower, low, medium, high, and higher, and the corresponding area percentages were 6.24, 6.25, 23.49, 30.95, and 33.07%, respectively. Overall, more than 60% of Dingxi City were important areas for soil conservation, mainly in the northern area, and the importance of soil conservation in the southern areas were low (Figure 3d). The northern Anding District, eastern Tongwei County, and northwestern part of Lintao County held the highest level of importance for soil conservation. With the development of ravines, strong soil erosion, and low vegetation coverage, these areas are inclined to serious soil erosion. On the contrary, Southern Weiyuan County, Zhang County, and Min County were under the joint influences of a steep slope, high vegetation cover, and light soil erosion intensity, and had ecological environments better than those of the central and northern areas, so the soil erosion problem was less severe and the importance of soil conservation was lower. Therefore, in areas with a high soil conservation grade, the comprehensive management of the catchment should be strengthened, with emphasis on implementing sloping land remediation and soil erosion ditch management. It is necessary to implement the "Grain for Green" program in scattered sloping farmlands to mitigate and control the pace of soil erosion.

Water Conservation Function Evaluation
As presented in Figure 4a, the spatial distribution of the average runoff depth (R) from 1980 to 2015 in Dingxi City faced significant changes. Overall, the R is characterized as being low in the north and high in the south. For example, the R is relatively large in Min County and Zhang County, with a maximum of 173 mm (i.e., runoff modulus of 173,000 m 3 /km 2 ), but is smaller in the five northern counties, with a minimum runoff modulus of 37,000 m 3 /km 2 . The distributions of the characteristic vegetation and ground cover factors also show similar spatial distributions as the runoff depth, with high values concentrated in most areas of Zhang County and Min County (Figure 4b,c). Based on the results of single factor evaluation, the importance of water conservation was measured comprehensively and divided into five levels, i.e., lower, low, medium, high, and higher, with the corresponding area percentages being 40.49, 21.78, 16.66, 7.9, and 13.11%, respectively. It was evident that the water conservation importance of Dingxi City was characterized as being high in the south and low in the north, with most areas in Zhang County and Min County considered high-level in water conservation importance or higher (almost 30 percent, Figure 4d). These areas are dominated by forest ecosystems, which are the main bodies of water conservation, and thus, are important water conservation areas. In contrast, the importance of water conservation in the northern five counties (districts),

Water Conservation Function Evaluation
As presented in Figure 4a, the spatial distribution of the average runoff depth (R) from 1980 to 2015 in Dingxi City faced significant changes. Overall, the R is characterized as being low in the north and high in the south. For example, the R is relatively large in Min County and Zhang County, with a maximum of 173 mm (i.e., runoff modulus of 173,000 m 3 /km 2 ), but is smaller in the five northern counties, with a minimum runoff modulus of 37,000 m 3 /km 2 . The distributions of the characteristic vegetation and ground cover factors also show similar spatial distributions as the runoff depth, with high values concentrated in most areas of Zhang County and Min County (Figure 4b,c). Based on the results of single factor evaluation, the importance of water conservation was measured com-prehensively and divided into five levels, i.e., lower, low, medium, high, and higher, with the corresponding area percentages being 40.49, 21.78, 16.66, 7.9, and 13.11%, respectively. It was evident that the water conservation importance of Dingxi City was characterized as being high in the south and low in the north, with most areas in Zhang County and Min County considered high-level in water conservation importance or higher (almost 30 percent, Figure 4d). These areas are dominated by forest ecosystems, which are the main bodies of water conservation, and thus, are important water conservation areas. In contrast, the importance of water conservation in the northern five counties (districts), where there was high human activity and little natural vegetation maintenance, was at the lower or low level. This shows that the water conservation capacities of high vegetation cover areas are superior to low vegetation cover areas, which is in line with the general rule of water conservation capacity of ecosystems. For example, the results of Shi et al. in the Qianshan watershed showed that the forest coverage rate was increased, and the water conservation capacity was improved [43]. Besides, combined with land use type, we find that water conservation capacity presents the characteristics of forest > grassland, water > garden, unused land > cultivated land > construction land (Figure 4c), where some areas have good water conservation capacity due to the presence of parks and urban greenery in urban and built-up areas. This may be related to the effects of different vegetation types on soil structure, soil water-holding capacity, and soil infiltration capacity. A study by Yu et al. proposed that the water conservation capacity of the Liaohe River Basin was broad-leaved forest > mixed coniferous and broad-leaved forest > coniferous forest > shrub forest > grassland > farmland [44]. The roots of the vegetation distributed in the farmland were underdeveloped, soil pores were not developed, and infiltration capacity was poor. At the same time, due to long-term cultivation, the soil surface was seriously damaged and soil water-holding capacity was poor, which led to worse water conservation capacities in the farmland than other regions. al. in the Qianshan watershed showed that the forest coverage rate was increased, and the water conservation capacity was improved [43]. Besides, combined with land use type, we find that water conservation capacity presents the characteristics of forest > grassland, water > garden, unused land > cultivated land > construction land (Figure 4c), where some areas have good water conservation capacity due to the presence of parks and urban greenery in urban and built-up areas. This may be related to the effects of different vegetation types on soil structure, soil water-holding capacity, and soil infiltration capacity. A study by Yu et al. proposed that the water conservation capacity of the Liaohe River Basin was broad-leaved forest > mixed coniferous and broad-leaved forest > coniferous forest > shrub forest > grassland > farmland [44]. The roots of the vegetation distributed in the farmland were underdeveloped, soil pores were not developed, and infiltration capacity was poor. At the same time, due to long-term cultivation, the soil surface was seriously damaged and soil water-holding capacity was poor, which led to worse water conservation capacities in the farmland than other regions. Areas with high water conservation grades were mainly distributed in mountainous areas, where the impact of human activities were relatively low, but there were also problems of farming on steep slopes, which led to the fragmentation of natural ecological patches. It is important to strengthen the ecological conservation of the catchment, increase implementation of the "Grain for Green" project, and practice follow-up manage- Areas with high water conservation grades were mainly distributed in mountainous areas, where the impact of human activities were relatively low, but there were also problems of farming on steep slopes, which led to the fragmentation of natural ecological patches. It is important to strengthen the ecological conservation of the catchment, increase implementation of the "Grain for Green" project, and practice follow-up management. It is vital to gradually improve water conservation through a natural, restoration-based approach.

Spatial Distribution of Functional Areas and Its Relationship with Precipitation
We analyzed the role of precipitation in the distribution of soil and water conservation functional areas. As shown in Figure 2b, the average annual precipitation in Dingxi City ranges from 355 to 722 mm, and the distribution generally trends with more precipitation in the south and less in the north, exhibiting opposite (similar) spatial features to soil (water) conservation functional areas. As shown in Figure 5 and Table 3, as precipitation increases, the percentage area of very important soil conservation zones gradually decreases. This is mainly attributed to poor vegetation cover, gullies, and high soil erosion intensity over a long period of time. Thus, in areas with less precipitation, such as Anding District and Tongwei County, high priority must be given to the practice of soil conservation. On the contrary, in areas with higher precipitation (especially in areas with more than 600 mm), such as Min County and Zhang County, the importance of water conservation function is very prominent. Previous research has also demonstrated that precipitation is the main influencing factor on soil and water conservation. For example, a 1% change in precipitation leads to a 2% change in sediment loads and a 1.3% change in water discharge in eight large Chinese rivers [45]. Furthermore, the amount, intensity, and variation patterns of precipitation can cause different effects in various regions [46][47][48]. The results of this study shows that the spatial characteristics of Dingxi City are closely related to the spatial patterns of precipitation [42].

Spatial Distribution of Functional Areas and Its Relationship with Precipitation
We analyzed the role of precipitation in the distribution of soil and water conservation functional areas. As shown in Figure 2b, the average annual precipitation in Dingxi City ranges from 355 to 722 mm, and the distribution generally trends with more precipitation in the south and less in the north, exhibiting opposite (similar) spatial features to soil (water) conservation functional areas. As shown in Figure 5 and Table 3, as precipitation increases, the percentage area of very important soil conservation zones gradually decreases. This is mainly attributed to poor vegetation cover, gullies, and high soil erosion intensity over a long period of time. Thus, in areas with less precipitation, such as Anding District and Tongwei County, high priority must be given to the practice of soil conservation. On the contrary, in areas with higher precipitation (especially in areas with more than 600 mm), such as Min County and Zhang County, the importance of water conservation function is very prominent. Previous research has also demonstrated that precipitation is the main influencing factor on soil and water conservation. For example, a 1% change in precipitation leads to a 2% change in sediment loads and a 1.3% change in water discharge in eight large Chinese rivers [45]. Furthermore, the amount, intensity, and variation patterns of precipitation can cause different effects in various regions [46][47][48]. The results of this study shows that the spatial characteristics of Dingxi City are closely related to the spatial patterns of precipitation [42].  Table 3. Ratio of soil and water conservation functional areas in the city in different precipitation zones.  In addition, soil and water conservation of Dingxi City were superimposed on the areas with highest-level importance to analyze their spatial characteristics. As shown in Figure 5, there are obvious spatial heterogeneity characteristics. Important functional areas for soil conservation accounted for 31.1% of the city and were mainly located in Anding District and Tongwei County in the north of Dingxi, whereas important functional areas for water conservation accounted for 11.1% and were mainly located in Zhang County and Min County in the south of the city. There was very little spatial overlap between the two, and the areas occupied by the important soil conservation/water conservation function was only 2% of the regional area, and was concentrated in an area where the precipitation was 600-700 mm. Dingxi City is located in the semi-humid and semi-arid climate zone of the Loess Plateau. Results on the spatial and temporal distribution of soil and water conservation and net primary productivity services in the Loess Plateau ecosystem by Wang et al. showed that for the Loess Plateau, there is a trade-off (negative correlation) between soil conservation and water conservation in semi-humid and semi-arid climate zones [49]. This is similar to the large spatial heterogeneity of soil and water conservation functional zones in Dingxi City obtained in our study.

Spatial Coupling between Ecological Protection Functional Areas and Cultivated Land
Different types of land use show different effects on soil erosion, and among them, the influence of agricultural production on ecological protection in Dingxi City cannot be overlooked [50]. The conflict between agricultural production and ecological protection in Dingxi City is prominent. About half of the land area in Dingxi City is farmland, of which 33.0% is in the higher grade area of soil conservation function, which is the main source of conflict between regional development and ecological protection. Figure 6 shows the slope grade of farmland and its conflict spots with a higher grade area of soil conservation function; the coupling relationship between them is counted in Table 4. Among the 9326.5 km 2 of cultivated land in Dingxi City, 1815.9 km 2 of the land has a slope below 6 • , and the area of conflict with the higher grade area of soil conservation function is small, only 27.2 km 2 . A land area of 5176.7 km 2 has a slope between 6 and 15 • , and 1662.8 km 2 of this has a higher grade area of soil conservation function, with the proportion being 32.1%. Of the 2153.5 km 2 of farmland with a slope of 15-25 • , 1234.3 km 2 is the higher grade area of soil conservation function, with a proportion of 57.3%. Among the 180.4 km 2 of farmland with a slope above 25 • , 152.0 km 2 is the higher grade area of soil conservation function, with a proportion of 84.3%. Previous studies indicated that agricultural soil erosion could cause severe loss of soil water and strongly influence available water content [39,51]. Considering the current situation of farmland in Dingxi City, it is necessary to take appropriate measures to protect crops and food security. The conflict areas were mainly distributed in the northcentral parts of Dingxi City, among which the distribution was more intensive in Anding County, Tongwei County, the northern part of Commissioner County, and the eastern part of Lintao County, whereas conflict areas in Longxi County, Zhang County, and the central-eastern part of Min County were relatively few and scattered.  Coordinating the conflict between agricultural production and ecological protection has become an urgent problem in the sustainable development of Dingxi City. Regional control was taken seriously in China. A county-based major function oriented zoning was issued in 2010, which designated Tongwei County as an important ecological functional area for soil and water conservation, whereas all other counties were divided into major agricultural production areas. The results of this study show that there is a lot of territorial space with important soil and water conservation functions besides Tongwei County. In addition, agricultural development activities have heavily crowded out the important functional areas of soil conservation. Therefore, there needs to be higher precision spatial planning because the county-based functional zoning does not meet management requirements. In order to solve the conflict between farmland development and ecological protection, a more accurate geographical functional zoning scheme is needed, and the evaluation of soil and water conservation in this study provides a possible method for this purpose. In our study, we utilized a spatial layout guidance of Dingxi City (Figure 7), where the space was divided into agricultural agglomeration development zones, soil conservation zones, and water conservation zones by combining factors of climatic conditions, land use type, and patch size. In soil conservation zones, cultivated land above 25° should be restored to ecological land, and cultivated land between 15 and 25° should be transformed into terraced fields. In water conservation zones, scattered cultivated land and steeply sloped grassland should be closed to restore the quality of vegetation. These results were recognized by local experts and applied to management practice, indicating that the results of this study were consistent with the real-life situations.  Coordinating the conflict between agricultural production and ecological protection has become an urgent problem in the sustainable development of Dingxi City. Regional control was taken seriously in China. A county-based major function oriented zoning was issued in 2010, which designated Tongwei County as an important ecological functional area for soil and water conservation, whereas all other counties were divided into major agricultural production areas. The results of this study show that there is a lot of territorial space with important soil and water conservation functions besides Tongwei County. In addition, agricultural development activities have heavily crowded out the important functional areas of soil conservation. Therefore, there needs to be higher precision spatial planning because the county-based functional zoning does not meet management requirements. In order to solve the conflict between farmland development and ecological protection, a more accurate geographical functional zoning scheme is needed, and the evaluation of soil and water conservation in this study provides a possible method for this purpose. In our study, we utilized a spatial layout guidance of Dingxi City (Figure 7), where the space was divided into agricultural agglomeration development zones, soil conservation zones, and water conservation zones by combining factors of climatic conditions, land use type, and patch size. In soil conservation zones, cultivated land above 25 • should be restored to ecological land, and cultivated land between 15 and 25 • should be transformed into terraced fields. In water conservation zones, scattered cultivated land and steeply sloped grassland should be closed to restore the quality of vegetation. These results were recognized by local experts and applied to management practice, indicating that the results of this study were consistent with the real-life situations.

Conclusions
In this study, the soil and water conservation functions of Dingxi City was evaluated on a 100 m grid scale, and their spatial distribution characteristics were analyzed. According to our evaluation, we identified important areas for water and soil conservation. Our analysis demonstrated that soil conservation areas were concentrated in Weiyuan County, the northern part of Anding District, and the watershed areas of Taohe River, Guanchuan River, and Weihe River. They have developed gullies, low vegetation cover, and strong soil erosion, being the most serious areas of soil erosion in Dingxi City. Water conservation areas were mainly distributed in Min County and Zhang County, which have the richest precipitation resources and highest vegetation coverage. Their ecological conditions were relatively good, and they were important water conservation areas in the upper reaches of the Yellow River. Soil and water conservation areas had almost no spatial overlaps and obvious spatial variabilities. In different ecological functional areas, ecological management can be targeted to balance economic development and ecological protection. Based on the analysis of spatial distribution characteristics, it was concluded that the distribution of soil and water conservation function in Dingxi City had obvious spatial heterogeneity. Areas with greater precipitation showed fewer higher grade areas of soil conservation, whereas higher grade areas of water conservation were concentrated in areas with precipitation higher than 600 mm. In addition, this study analyzed the spatial distributions of ecological functional areas based on their evaluation results and conflict areas with agricultural activities, which provided a spatial orientation for the agricultural management of Dingxi City.

Conclusions
In this study, the soil and water conservation functions of Dingxi City was evaluated on a 100 m grid scale, and their spatial distribution characteristics were analyzed. According to our evaluation, we identified important areas for water and soil conservation. Our analysis demonstrated that soil conservation areas were concentrated in Weiyuan County, the northern part of Anding District, and the watershed areas of Taohe River, Guanchuan River, and Weihe River. They have developed gullies, low vegetation cover, and strong soil erosion, being the most serious areas of soil erosion in Dingxi City. Water conservation areas were mainly distributed in Min County and Zhang County, which have the richest precipitation resources and highest vegetation coverage. Their ecological conditions were relatively good, and they were important water conservation areas in the upper reaches of the Yellow River. Soil and water conservation areas had almost no spatial overlaps and obvious spatial variabilities. In different ecological functional areas, ecological management can be targeted to balance economic development and ecological protection. Based on the analysis of spatial distribution characteristics, it was concluded that the distribution of soil and water conservation function in Dingxi City had obvious spatial heterogeneity. Areas with greater precipitation showed fewer higher grade areas of soil conservation, whereas higher grade areas of water conservation were concentrated in areas with precipitation higher than 600 mm. In addition, this study analyzed the spatial distributions of ecological functional areas based on their evaluation results and conflict areas with agricultural activities, which provided a spatial orientation for the agricultural management of Dingxi City.