Journal of Geography and Environmental Hazards

Journal of Geography and Environmental Hazards

Improving Spatial Prediction of Soil Salinity Using an Ensemble Machine Learning Model in Arid Regions of Eastern Iran

Document Type : Research Article

Authors
1 Department of Desert and Arid Zones Management, Faculty of Natural Resources and Environment, Ferdowsi University of Mashhad, Mashhad, Iran
2 Department of Soil Sciences, College of Agriculture, Shiraz University, Shiraz, Iran
3 Department of Geography, Faculty of Literature and Humanities, Ferdowsi University of Mashhad, Mashhad, Iran
Abstract
Soil salinity is a major environmental hazard in arid regions, directly affecting soil and water resource productivity and ecosystem sustainability. This study aimed to develop and optimize an ensemble machine learning model for improving the spatial prediction of soil salinity and identifying the key environmental factors controlling its distribution in the Mahvelat Plain, Khorasan Razavi Province, Iran. A total of 137 soil samples were collected, and electrical conductivity of the saturated soil extract (ECe) was measured. In addition, 32 auxiliary variables, including remote sensing spectral indices, topographic features, geological information, land use data, and groundwater quality parameters, were used in the modeling process. Four machine learning models, including Random Forest (RF), Support Vector Machine (SVM), Boosted Regression Tree (BRT), and Generalized Linear Model (GLM), along with a combined model, were developed and evaluated. The results showed that the combined model outperformed the individual models, achieving the highest prediction accuracy (R² = 0.81, RMSE = 5.14, and MAE = 4.11). Among the individual models, SVM showed the best performance (R² = 0.76). Highly saline areas were mainly concentrated in the central, western, and northwestern parts of the study area, particularly around Playa Bajestan, with an overall increase in salinity from east to west. Groundwater quality parameters, especially HCO₃⁻, SAR, and TDS, were the most influential predictors. The combined model also showed a greater ability to estimate extreme salinity values, reaching 21 dS/m. Overall, the proposed framework provides an accurate and reliable approach for soil salinity mapping and sustainable soil resource management.
Introduction
Nowadays, soil salinity has become an escalating environmental crisis that directly threatens global food security. In arid regions, the gradual accumulation of salts degrades both the physical and chemical properties of soil, posing a serious obstacle to agricultural production. The Mahvelat Plain in eastern Iran is one such area. It is an important agricultural zone well known for its intensive pistachio cultivation. However, the region’s hot and dry climate, together with its proximity to the Bajestan playa, creates conditions that strongly favor salinization. The present study attempts to bridge the gap between traditional soil sampling and predictive digital soil mapping using an advanced ensemble machine learning approach. According to official reports, 424 million hectares of topsoil and 833 million hectares of cultivated soils in the world are affected by salt. Despite the increasing availability of remote sensing and environmental covariates, accurately characterizing the spatial heterogeneity of soil salinity in arid agricultural landscapes remains challenging because salinity is controlled by complex interactions among soil, groundwater, topography, climate, and land-use conditions. Therefore, integrating multiple machine learning algorithms within an ensemble framework may provide a more robust approach for improving prediction accuracy and reducing the limitations associated with relying on a single predictive model.
Material and Methods
Soil salinity values have previously been assessed through laboratory analyses, which have often been time-consuming and costly. Due to the limitations of past scientific methods, alternative techniques such as geostationary and remote sensing are currently being used to predict soil salinity in unsampled areas. Also, the integration of digital soil mapping techniques and machine learning to estimate soil properties has also expanded the application of these methods in soil salinity prediction. The study was conducted in the Mahvelat Plain. A total of 137 soil samples were collected to determine the electrical conductivity of the saturated paste extract (ECe). To account for spatial complexity, 32 environmental covariates were selected. These included spectral remote sensing data, terrain attributes derived from a digital elevation model (DEM), geological maps, and groundwater chemical analyses. Four different models were trained initially: random forest (RF), support vector machine (SVM), boosted regression trees (BRT), and generalized linear model (GLM). Afterwards, a stacking ensemble model was developed using a five‑fold cross‑validation framework to generate the final salinity prediction map.
Results and Discussion
Model evaluation of model performance clearly showed that the stacking ensemble approach was superior. This model achieved high statistical accuracy, with an R² of 0.81 and an RMSe of 5.14, thereby outperforming each of the individual RF, SVM, BRT, and GLM models. The spatial distribution map revealed a clear salinity gradient, with values increasing progressively from the eastern part toward the western and northwestern parts of the plain. According to the variable importance analysis, soil salinity in the study area is mainly governed by subsurface hydro geochemical conditions. In particular, the strong correlations observed for HCO₃ ‑SAR and TDS indicate that groundwater quality is the primary factor driving soil degradation in this plain. Unlike single models, the ensemble framework proved notably more capable of capturing extreme salinity, which is of particular concern for agricultural management. The ensemble approach outperformed all individual models, achieving an R² of 0.81, RMSe of 5.14 dS m⁻¹, and MAE of 4.11 dS m⁻¹. The final salinity map revealed high values in the western and northwestern parts of the plain near the Bajestan playa. Variable importance analysis identified groundwater hydro geochemical parameters, particularly bicarbonate (HCO₃⁻), sodium adsorption ratio (SAR), and total dissolved solids (TDS), as the primary predictors. Notably, the ensemble model substantially improved the estimation of extreme salinity values exceeding 21 dS m⁻¹ compared to any single model.
Conclusion
The results confirmed that ensemble machine learning techniques can markedly improve the accuracy of soil salinity mapping in arid regions. By capturing the nonlinear interactions between groundwater quality and soil surface properties, the proposed framework offers a practical and reliable tool for site-specific soil management. For pistachio farmers and regional policymakers in Iran, this tool can help identify priority areas for drainage and desalination interventions, thereby supporting more sustainable agricultural development in salt-affected environments. Overall, the proposed approach can serve as an efficient tool for the intelligent management of water and soil resources in saline lands, particularly in pistachio‑growing regions of the country. On the other hand, the results of this research showed that despite the extreme spatial and temporal variability of salinity, the use of remote sensing data and auxiliary variables in the framework of machine learning can predict soil salinity patterns with optimal accuracy. The resulting spatial information can also provide a scientific basis for prioritizing field investigations, optimizing irrigation and drainage practices, and allocating soil reclamation resources to areas with the greatest salinity risk. Furthermore, the proposed framework is transferable to other salt-affected arid and semi-arid agricultural regions where sufficient soil observations and environmental covariates are available, providing a scalable approach for supporting sustainable land and water management.
Keywords
Subjects

©2026 The author(s). This is an open access article distributed under Creative Commons Attribution 4.0 International License (CC BY 4.0)

 

 

Akbari, M., Modarres, R., & Alizadeh Noughani, M. (2020). Assessing early warning for desertification hazard based on E-SMART indicators in arid regions of northeastern Iran. Journal of Arid Environments, 174, 104086. https://doi.org/10.1016/j.jaridenv.2019.104086
Akbari, M., Ownegh, M., Asgari, H. R., Sadoddin, A., & Khosravi, H. (2016a). “Desertification Risk Assessment and Management Program.” Global Journal of Environmental Science and Management, 2 (4), 365–80. https://doi.org/10.22034/gjesm.2016.02.04.006
Akbari, M., Ownegh, M., Asgari, H. R., Sadoddin, A., & Khosravi, H. (2016b). Design and Development of Early Warning System for Desertification and Land Degradation. Environmental Resources Research, 4(2), 111-130. https://doi.org/10.22069/ijerr.2017.11207.1152
Akbari, M., Sarbazi, M., Sibevei, A., & Fadaie, S. (2024). Desertification Risk Assessment and Providing Management Strategies using the DPSIR-M Model in Khorasan Razavi province. Journal of Geography and Enviromental Hazards, 13(2), 210-239. [In Persian] https://doi.org/10.22067/geoeh.2023.83917.1404
Allbed, A., Kumar, L., & Aldakheel, Y. Y. (2014). Assessing soil salinity using soil salinity and vegetation indices derived from IKONOS high-spatial resolution imageries: Applications in a date palm dominated region. Geoderma, 230–231, 1–8. https://doi.org/10.1016/j.geoderma.2014.03.025
Al-Refahi, M., Karimi, A., Mahmoudabadi, E., & Akbari, M. (2025). Evaluation of Soil Salinity Zonation Using Remote Sensing and Geostatistical Methods in the Alluvial Plain Lands of the Tigris River, Iraq. Journal of Geography and Environmental Hazards14(4), 85-104. [In Persian] https://doi.org/10.22067/geoeh.2025.93856.1579
Arnous, M. O., & Green, D. R. (2015). Monitoring and assessing waterlogged and salt-affected areas in the Eastern Nile Delta region, Egypt, using remotely sensed multi-temporal data and GIS. Journal of Coastal Conservation, 19, 369–391. https://doi.org/10.1007/s11852-015-0380-2
Bandak, S., Boali, A., Komaki, C. B., Ghorbani, K., & Alinejad, M. (2026). Machine learning-based estimation and spatial mapping of soil phosphorus and potassium using sentinel-2 and environmental covariates. Scientific Reportshttps://doi.org/10.1038/s41598-026-59967-w
Bandak, S., Boali, A., Yaghobi, S., & Taghizadeh-Mehrjardi, R. (2025). Ensemble machine learning approaches for estimating soil texture components in loess soils of Golestan Province. Earth Science Informatics18(2), 396. https://doi.org/10.1007/s12145-025-01897-8
Bannari, A., & Al-Ali, Z. M. (2020). Assessing climate change impact on soil salinity dynamics between 1987 and 2017 in arid landscapes using Landsat TM, ETM+, and OLI data. Remote Sensing, 12(17), 2794. https://doi.org/10.3390/rs12172794
Bargam, B., Boudhar, A., Kinnard, C., Bouamri, H., Nifa, K. & Chehbouni, A. (2024). Evaluation of the support vector regression (SVR) and the random forest (RF) models' accuracy for streamflow prediction under a data-scarce basin in Morocco. Discover Applied Sciences, 6, 306. https://doi.org/10.1007/s42452-024-05994-z
Basak, N., Rai, A. K., Barman, A., Mandal, S., Sundha, P., Bedwal, S., Kumar, S., Yadav, R. K., & Sharma, P. C. (2022). Salt-affected soils: Global perspectives. In Soil health and environmental sustainability: Application of geospatial technology (pp. 107–129). Springer. https://doi.org/10.1007/978-3-031-09270-1_6
Boali, A., & Akbari, M. (2026). Analysis of early warning signals of desertification hazard using time series of remote sensing–based indices (Case study: Mashhad County, Razavi Khorasan Province, Iran). Geography and Environmental Hazards, 15(2), 44–62. [In Persian] https://doi.org/10.22067/geoeh.2026.97882.1652
Boali, A., Asgari, H. R., Mohammadian Behbahani, A., Salmanmahiny, A., & Naimi, B. (2024a). Remotely sensed desertification modeling using an ensemble of machine learning algorithms. Remote Sensing Applications: Society and Environment, 34, 101149. https://doi.org/10.1016/j.rsase.2024.101149
Boali, A., Kariminejad, N., & Akbari, M. (2026). Spatial modeling of soil organic carbon using satellite imagery and machine learning for sustainable land management. In: Pourghasemi, H.R., Maleki, S. (Eds.), The Soil Nexus: Understanding Ecosystem Dynamics and Digital Innovations. Elsevier. https://doi.org/10.1016/B978-0-443-45286-4.00005-5
Boali, A., Kariminejad, N., & Hosseinalizadeh, M. (2024b). Enhancing wind erosion risk assessment through remote sensing techniques. PLoS ONE, 19(10), e0308854. https://doi.org/10.1371/journal.pone.0308854
Breiman, L. (2001). Random forests. Machine Learning, 45(1), 5–32. https://doi.org/10.1023/A:1010933404324
Brunner, P. H., Li, H. T., Kinzelbach, W., & Li, W. P. (2007). Generating soil electrical conductivity maps at the regional level by integrating measurements on the ground and remote sensing data. International Journal of Remote Sensing, 28(15), 3341–3361. https://doi.org/10.1080/01431160600928641
Dong, W., Wu, T., Luo, J., Sun, Y., & Xia, L. (2019). Land parcel-based digital soil mapping of soil nutrient properties in an alluvial-diluvial plain agricultural area in China. Geoderma, 340, 234–248. https://doi.org/10.1016/j.geoderma.2019.01.018
FAO. (2024). Global status of salt-affected soils: Main report. FAO. https://doi.org/10.4060/cd3044en
Gallant, J. C., & Dowling, T. I. (2003). A multiresolution index of valley bottom flatness for mapping depositional areas. Water Resources Research, 39(12), 1347. https://doi.org/10.1029/2002WR001426
Golestani, M., Ghahfarokhi, Z., Esfandiarpour, I., & Shirani, H. (2023). Evaluating the spatiotemporal variations of soil salinity in Sirjan Playa, Iran, using Sentinel-2A and Landsat-8 OLI imagery. Catena, 231, 107375. https://doi.org/10.1016/j.catena.2023.107375
Haq, Y. U., Shahbaz, M., Asif, S., Ouahada, K., & Hamam, H. (2023). Identification of soil types and salinity using MODIS Terra data and machine learning techniques in multiple regions of Pakistan. Sensors, 23(19), 8121. https://doi.org/10.3390/s23198121
Hassani, A., Azapagic, A., & Shokri, N. (2020). Predicting long-term dynamics of soil salinity and sodicity on a global scale. Proceedings of the National Academy of Sciences, 117(52), 33017–33027. https://doi.org/10.1073/pnas.2000925117
Hong-wei, W., Yong-hong, F., & Tiyip, T. (2011). The research of soil salinization human impact based on remote sensing classification in oasis irrigation area. Procedia Environmental Sciences, 10(2), 2399–2405. https://doi.org/10.1016/j.proenv.2011.09.373
Iwahashi, J., & Pike, R. J. (2007). Automated classifications of topography from DEMs by an unsupervised nested-means algorithm and a three-part geometric signature. Geomorphology, 86(3–4), 409–440. https://doi.org/10.1016/j.geomorph.2006.09.012
John, K., Isong, I. A., Kebonye, N. M., Ayito, E. O., Agyeman, P. C., & Afu, S. M. (2020). Using machine learning algorithms to estimate soil organic carbon variability with environmental variables and soil nutrient indicators in an alluvial soil. Land, 9(12), 487. https://doi.org/10.3390/land9120487
Jordan, C. F. (1969). Derivation of leaf-area index from quality of light on the forest floor. Ecology, 50(4), 663–666. http://dx.doi.org/10.2307/1936256
Karimipour Reyhan, M., Momeni, H., & Shahsavar, A. (2024). Analyzing the regional relations of urban peripherals with the center of Zanjan province. Geography and Regional Future Studies, 1(3), 14-29. [In Persian] https://doi.org/10.30466/grfs.2024.54960.1026
Karimpour Reyhan, M., & Shahsavar, A. (2023). Land-use planning: A conceptual approach. Tahan Gostar Publishing. [In Persian]
Lämternicht, G. (2019). Spatial land-use planning: Capacity and feasibility for sustainable land-resource management (M. Karimpour Reyhan, S. Sharif Jahed, P. Amiri, & A. Shahsavar, Trans.; 2nd ed.). Tehran: University of Tehran Press [In Persian]
Li, W., Gao, S., Mu, X., Wen, Y., Javed, T., & Wang, Z. (2026). Exploring the driving forces of soil salinity reduction using random forest and SHAP in water-saving oasis irrigation areas. Irrigation Science, 44(1), 25. https://doi.org/10.1007/s00271-025-01045-6
Li, X., Li, Y., Wang, B., Sun, Y., Cui, G., & Liang, Z. (2022). Analysis of spatial-temporal variation of the saline-sodic soil in the west of Jilin Province from 1989 to 2019 and influencing factors. Catena, 217, 106492. https://doi.org/10.1016/j.catena.2022.106492
Liu, D., Zhang, Y., Zhang, J., Xiong, L., Liu, P., Chen, H., & Yin, J. (2021). Rainfall estimation using measurement report data from time-division long-term evolution networks. Journal of Hydrology, 600, 126530. https://doi.org/10.1016/j.jhydrol.2021.126530
Maleki, S., Fathizad, H., Karimi, A., Taghizadeh-Mehrjardi, R., & Pourghasemi, H. R. (2023). Monitoring of spatiotemporal changes of soil salinity and alkalinity in eastern and central parts of Iran. In Computers in Earth and Environmental Sciences (Chap. 40, pp. 547–561). Elsevier. https://doi.org/10.1016/B978-0-323-89861-4.00011-7
Maleki, S., Pouyan, S., Khoshoui, M. M., Tiefenbacher, J. P., & Pourghasemi, H. R. (2024). Detecting soil salinization, sodicity, and alkalization hazards within cultivated lands using digital soil mapping approaches. In Advanced tools for studying soil erosion processes (pp. 435–460). Elsevier. https://doi.org/10.1016/B978-0-323-90957-2.00018-X
Moore, I. D., Gessler, P. E., Nielsen, G. A. E., & Peterson, G. A. (1993). Soil attribute prediction using terrain analysis. Soil Science Society of America Journal, 57(2), 443–452. https://doi.org/10.2136/sssaj1993.03615995005700020026x
Mousavi, A., Karimi, A., Maleki, S., Safari, T., & Taghizadeh-Mehrjardi, R. (2023). Digital mapping of selected soil properties using machine learning and geostatistical techniques in Mashhad Plain, northeastern Iran. Environmental Earth Sciences, 82(9), 234. https://doi.org/10.1007/s12665-023-11050-z
Nabiollahi, K., Taghizadeh-Mehrjardi, R., Shahabi, A., Heung, B., Amirian-Chakan, A., Davari, M., & Scholten, T. (2021). Assessing agricultural salt-affected land using digital soil mapping and hybridized random forests. Geoderma, 385, 114858. https://doi.org/10.1016/j.geoderma.2020.114858
Nasrian, A., Akbari, M., Faridhosseini, A., & Neamatollahi, E. (2022). Spatio-temporal Monitoring of Groundwater Changes on Desertification Intensity in Agricultural Areas in Dargaz Plain, Khorasan Razavi Province. Desert Ecosystem Engineering, 7(21), 75-90. [In Persian] https://doi.org/10.22052/deej.2018.7.21.49
Page, A. L., Miller, R. H., & Keeney, D. R. (1982). Methods of soil analysis: Part 2. Chemical and microbiological properties (2nd ed.). ASA, SSSA, CSSA.
Rahimi, B., Afzali, M., Farhadi, F., & Alamolhoda, A. (2021). Reverse osmosis desalination for irrigation in a pistachio orchard. Desalination, 516, 115236. https://doi.org/10.1016/j.desal.2021.115236
Ray, S. S., Singh, J. P., Dutta, S., & Panigrahy, S. (2002). Analysis of within field variability of crop and soil using field data and spectral information as a pre-cursor to precision crop management.  The International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, 34(7), 302-307.
Richardson, A. D., Duigan, S. P., & Berlyn, G. P. (2002). An evaluation of noninvasive methods to estimate foliar chlorophyll content. New Phytologist, 153(1), 185-194.
Rock, B. N., Vogelmann, J. E., Williams, D. L., Vogelmann, A. F., & Hoshizaki, T. (1985). Plant responses to stress may have spectral signatures that could be used to map, monitor, and measure forest damage. Remote Detection of Forest Damage, 36(7),439-445. https://doi.org/10.2307/1310339
Rondeaux, G., Steven, M., & Baret, F. (1996). Optimization of soil-adjusted vegetation indices. Remote Sensing of Environment, 55(2), 95–107. https://doi.org/10.1016/0034-4257(95)00186-7
Rouse, J. W., Haas, R. H., Scheel, J. A., & Deering, D. W. (1974). Monitoring Vegetation Systems in the Great Plains with ERTS. Proceedings, 3rd Earth Resource Technology Satellite (ERTS) Symposium, 1, 48-62. https://ntrs.nasa.gov/citations/19740022614
Sharififar, A., & Sarmadian, F. (2023). Coping with the imbalanced data problem in digital mapping of soil classes. European Journal of Soil Science, 74(3), e13368. https://doi.org/10.1111/ejss.13368
Tarini, M., Cignoni, P., & Montani, C. (2006). Ambient occlusion and edge cueing to enhance real time molecular visualization. IEEE Transactions on Visualization and Computer Graphics, 12(5), 1237–1244. https://doi.org/10.1109/TVCG.2006.115⁠
Toomanian, N., Jalalian, A., Khademi, H., Karimian Eghbal, M., & Papritz, A. (2006). Pedodiversity and pedogenesis in Zayandeh-rud Valley, Central Iran. Geomorphology, 81(3), 376–393. https://doi.org/10.1016/j.geomorph.2006.04.016
Weiss, A. (2001). Topographic position and landforms analysis. In Proceedings of the ESRI International User Conference. San Diego, CA, USA
Xiao, C., Ji, Q., Chen, J., Zhang, F., Li, Y., Fan, J., Hou, X., Yan, F., & Wang, H. (2023). Prediction of soil salinity parameters using machine learning models in an arid region of northwest China. Computers and Electronics in Agriculture, 204, 107512. https://doi.org/10.1016/j.compag.2023.107512
Ye, L., Lin, X., Huang, L., Ji, K., Drost, T. A., Wan, W., & Zuo, J. (2026). Digital mapping of soil fauna abundance and diversity using Sentinel-1/2 and environmental attributes. Soil and Tillage Research, 255, 106796. https://doi.org/10.1016/j.still.2025.106796
Yin, W., Hu, Q., Liu, J., He, P., Zhu, D., & Boali, A. (2024). Assessing Climate and Land-Use Change Scenarios on Future Desertification in Northeast Iran: A Data Mining and Google Earth Engine-Based Approach. Land13(11), 1802. https://doi.org/10.3390/land13111802
Zinck, J. A. (1989). Physiography and soils. Lecture Notes for Soil Students, Soil Science Division, Soil Survey Courses. International Institute for Geo-Information Science and Earth Observation (ITC), Enschede, The Netherlands.
Send comment about this article
Enter Name.
Enter a valid email address.
Enter a vaid affiliation.
Enter comments (At leaset 10 words)
CAPTCHA Image
Enter Security Code Correctly.

Articles in Press, Accepted Manuscript
Available Online from 23 August 2026

  • Receive Date 30 May 2026
  • Revise Date 19 August 2026
  • Accept Date 21 August 2026
  • Publish Date 23 August 2026