Mapping soil salinity using machine learning and remote sensing data in semi-arid croplands
Open Access
- 26 November 2025
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Soil Science
- Vol. 5, 1653400
Abstract
Soil salinity significantly constrains agricultural productivity and land sustainability, particularly in irrigated areas. While, remote sensing offers large-scale monitoring capacity, but its accuracy depends on how effectively spectral information is integrated with advanced modeling approaches. This study evaluates the performance of a combined approach based on machine learning (ML) algorithms and satellite-derived predictors for soil salinity mapping in the Béni Amir Sub-perimeter of Tadla plain, Morocco. A total of 43 topsoil samples (0–10 cm) were collected and analyzed for electrical conductivity (ECe) and resampled to 144 samples for model training and testing. Predictor Variables were derived from Landsat-8 OLI data, including salinity indices (OLI-SI, SI, SI1), intensity indices (Int1, Int2), brightness index (BI), land degradation index (LDI), and reflectance values of selected spectral bands (B2-B7) were standardized and transformed with PCA to address multicollinearity. Four ML algorithms, Random Forest (RF), K-Nearest Neighbors (KNN), Support Vector Regressor (SVR), and Multi-Layer Perceptron (MLP) were tested. The results show that the Ece ranges from 0.84 to 10.28 dS/m with a standard deviation of 2.29 dS/m, indicating substantial salinity variability across the Béni Amir sub-perimeter. Individual predictors exhibited moderate correlation with Ece (R = 0.34-0.72). Among the applied models, KNN achieved the highest accuracy (mean coefficient of determination (R²) = 0.75 [0.73-0.77]; Root Mean Square Error (RMSE) = 0.61 dS/m). The resulting maps revealed a consistent southwestward increase in salinity, following the regional hydraulic flow. KNN classified 49% of the area as moderately saline, 22% as slightly saline, and 20% as non-saline, while the strongly and extremely saline classes covered 8.4% and 0.6%, respectively. RF, SVR, and MLP showed comparable trends, with moderately saline areas ranging between 30-41% and strongly to extremely saline soils below 10%. These findings demonstrated that combining satellite-derived data with ML enables a reliable assessment of soil salinity, supporting management of irrigated agroecosystems.Keywords
This publication has 67 references indexed in Scilit:
- Potential of land degradation index for soil salinity mapping in irrigated agricultural land in a semi-arid region using Landsat-OLI and Sentinel-MSI dataEnvironmental Monitoring and Assessment, 2024
- Estimation of soil salinity using satellite-based variables and machine learning methodsEarth Science Informatics, 2024
- Evaluating Machine Learning Models and Their Diagnostic Value2023
- Re-calibrating Machine Learning Models Using Confidence Interval Bounds2022
- Mapping soil salinity risk using the approach of soil salinity index and land cover: a case study from Tadla plain, MoroccoArabian Journal of Geosciences, 2022
- Mapping of Soil Salinity Using the Landsat 8 Image and Direct Field Measurements: A Case Study of the Tadla Plain, MoroccoJournal of the Indian Society of Remote Sensing, 2019
- Modeling and mapping of soil salinity in Tafilalet plain (Morocco)Arabian Journal of Geosciences, 2019
- The development of an overlay model to predict soil salinity risks by using remote sensing and GIS techniques: a case study in soils around Idku Lake, EgyptEnvironmental Monitoring and Assessment, 2018
- Performance Evaluation in Machine Learning2015
- Principal component analysisWIREs Computational Statistics, 2010