The timberline region of the Western Himalaya is a crucial ecological transition area highly sensitive to climate changes, which significantly influence vegetation patterns, soil formation, and carbon dynamics. This study aimed to investigate the spatial and altitudinal changes in soil organic carbon (SOC) across different topographic orientations and to evaluate machine-learning models for spatial SOC prediction in the timberline ecotone (2100–3300 m) of the Kedarnath Wildlife Sanctuary. Through systematic random sampling across 100 m elevation bands, composite soil samples were collected from three aspects (North-East, South-West, and North-West) at two depths (0–15 cm and 15–30 cm) and analyzed alongside topographic, spectral, and climatic covariates. Results indicated that SOC trends varied significantly by aspect; the North-East aspect exhibited a considerable increase in SOC with elevation, while the North-West and South-West sides responded differently. Furthermore, Digital Soil Mapping using the Random Forest (RF) model outperformed Support Vector Machine and XGBoost, explaining 62% of surface and 74% of subsurface SOC variability. In conclusion, aspect-induced microclimatic gradients play a major role in controlling soil characteristics near the Himalayan timberline, and machine-learning models like RF can successfully capture these complex spatial patterns. Consequently, it is recommended that the established baseline SOC maps be utilized as reference points for future climate-change monitoring, carbon accounting, and directing conservation strategies in high-altitude forests.
Soil organic carbon (SOC) is a fundamental indicator of soil quality and ecosystem functioning, particularly in forest ecosystems. Accurate spatial assessment of SOC is essential for understanding its distribution and supporting sustainable forest management. This study aimed to predict and map SOC distribution across the moist temperate Quercus leucotrichophora forests of Himachal Pradesh, India, using machine learning (ML) techniques and to identify the major environmental drivers of its spatial variability. A total of 100 composite soil samples (0–15 cm depth) were collected from seven districts, and SOC concentration was determined using the Walkley-Black method. A digital soil mapping framework based on the SCORPAN model incorporated 49 environmental covariates derived from Landsat 8 imagery, SRTM elevation data and WorldClim bioclimatic variables. Following multicollinearity assessment using the variance inflation factor, 28 covariates were retained for model development. Four ML algorithms, namely Random Forest (RF), Support Vector Machine (SVM), Generalized Linear Model (GLM) and Cubist, were evaluated using R², RMSE, MAE and regression slope. Measured SOC concentrations ranged from 1.21% to 9.69%, with comparatively higher values observed at selected sites in Chamba district. RF demonstrated superior predictive performance (R² = 0.85; RMSE = 0.83%), outperforming GLM, SVM and Cubist. Variable importance analysis highlighted elevation, multi-resolution index of valley bottom flatness (MRVBF), slope and topographic ruggedness index (TRI) as dominant predictors, emphasising the influence of terrain on SOC variability. The RF-based SOC predictions ranged from 2.82% to 7.71%, while uncertainty was comparatively higher in steep and topographically complex landscapes than in valley floors. Although the outputs were generated at 30 m grid resolution, their effective spatial detail remains constrained by the native resolution of the input covariates. Overall, the findings demonstrate the potential of RF-based digital soil mapping for characterising SOC patterns in heterogeneous Himalayan Forest landscapes and provide a spatial baseline for prioritising forest conservation and soil management interventions.