1. Introduction
Phosphorus is a critical indicator of soil quality, profoundly influencing soil fertility and plant growth [
1,
2]. As an essential nutrient, soil phosphorus supports photosynthesis and root development [
3], which are vital for maintaining ecological stability and enhancing agricultural productivity. The phosphorus cycle is highly dynamic, and land use practices and soil types interact to shape phosphorus distribution, availability, and cycling efficiency within ecosystems [
4,
5,
6]. In karst landscapes with shallow soils and severe erosion, the phosphorus cycle is likely to be disrupted, as shallow soils have low phosphorus retention, erosion can cause loss of topsoil, and the calcium in the landscape may bind phosphorus, reducing its availability [
7,
8,
9,
10]. Applying Cd-rich phosphate fertilizers to cultivated land will also increase the risk of safe use of soil in karst areas with high Cd geological backgrounds. Accurately mapping total phosphorus (TP) is crucial for understanding its distribution, enabling targeted fertilization, enabling soil conservation, and formulating ecological conservation protection policies [
11].
As a widely applied regression technique, Ordinary Least Squares (OLS) is used to identify linear relationships between TP and auxiliary variables, such as soil properties, topography, and climate. Geographically Weighted Regression (GWR) extends OLS by allowing regression coefficients to vary spatially, thereby accounting for local variations in the relationships between TP and predictor variables. This approach has demonstrated strong potential for capturing spatial heterogeneity and reducing autocorrelation within the model, thereby enhancing prediction accuracy [
12,
13]. However, in complex karst terrains, where topographical and spatial variability are high, both OLS and GWR may generate inconsistent residual patterns, revealing limitations in these approaches.
Residual analysis is essential in regression modeling, as residuals reveal unexplained spatial variability and help assess model robustness [
14]. In spatial prediction, residual kriging methods are frequently employed to enhance predictive accuracy. Co-kriging, which integrates additional environmental variables, has shown promise in improving prediction accuracy for soil properties, such as organic carbon and nitrogen, within karst landscapes [
15]. However, conventional kriging assumes spatial autocorrelation, which contradicts the expectation that regression residuals should be randomly distributed. This inconsistency can decrease the predictive accuracy of kriging for residuals, particularly if residuals are not centered around zero.
To mitigate these limitations, centering residuals—by adjusting them around mean or median values—has emerged as a promising approach to improve model stability, reduce multicollinearity, and enhance spatial compatibility for kriging. Centering has been shown to mitigate distortions in spatial prediction and improve parameter estimation by addressing multicollinearity issues [
16]. Despite advancements in TP spatial mapping, accurately capturing spatial variability in complex karst regions remains challenging, underscoring the need for refined methods tailored to these unique environments.
While considerable research has explored TP distribution, formation processes, and ecological impacts in karst areas [
17,
18,
19], few studies have focused on regression kriging (RK) and geographically weighted regression kriging (GWRK) in these regions, mainly due to data acquisition challenges associated with fragmented karst terrain [
20]. This study hypothesizes that centering residuals before kriging, using both mean and median values, can enhance TP spatial prediction accuracy in karst regions by improving spatial autocorrelation alignment and reducing regression bias. The specific objectives are: (1) to investigate the relationship between TP and environmental variables (e.g., land use, soil type) through regression modeling, evaluating how these factors influence TP spatial prediction accuracy; and (2) to assess the predictive accuracy of various models—including ordinary kriging (OK), RK and GWRK combined with environmental variables such as land uses, soil types, and topographic factors; residual mean-centered kriging (MM_OK) and residual median-centered kriging (MC_OK)—in mapping TP within a representative karst landscape using high-density sampling data (approximately 8 samples/km
2) from a geochemical land survey.
This study focuses on a karst terrain in southwestern China, characterized by Carboniferous carbonate formations and diverse land covers including forest, shrubland, and farmland, representative of the broader karst regions in southwest China. By comparing spatial prediction approaches, this research aims to advance TP spatial mapping techniques, supporting sustainable soil management and conservation practices in ecologically sensitive karst landscapes. The study’s findings will provide valuable insights into model selection for soil nutrient prediction in karst areas, with implications for guiding sustainable fertilization practices for farmers, supporting soil quality monitoring by scientists, and informing policy decisions for regulators.
5. Conclusions
Land use and soil type significantly affect the spatial distribution of soil TP content in karst areas. Agricultural lands such as dry land and paddy fields have higher TP levels due to fertilization. In contrast, TP levels are lower in forests and shrublands in natural contexts. Also, soil type and pH have a strong impact on phosphorus availability. Cambisols in karst areas are rich in calcium and retain more TP, whereas alkaline soils tend to immobilize phosphorus, making them less available.
Among the models assessed, the GWRK model stands out for its superior predictive accuracy and stability, proving highly effective for capturing the spatial heterogeneity of TP in karst landscapes characterized by complex topography and varied land use. The model’s capacity to incorporate localized environmental variables allows it to provide detailed spatial predictions, making it particularly suitable for highly variable environments. MM_OK offers a broader distribution profile, which may be advantageous in applications where broader trends are more relevant than fine-scale details, while MC_OK balances the fine detail of GWRK with the smoothing effect of MM_OK, making it suitable for scenarios requiring moderate spatial precision, while the lower accuracy of RK and OK highlights the limitations of models that do not account sufficiently for spatial variability. Overall, these findings provide valuable insights for guiding agricultural productivity and ecological conservation in sensitive landscapes and reinforce the potential of spatially adaptive kriging models in developing sustainable phosphorus management strategies tailored to local environmental conditions, informing sustainable fertilization practices for farmers, monitoring soil quality for scientists, and guiding policy decisions for regulators in karst areas.