Machine learning and geoprocessing in the modeling of agricultural suitability in a River Basin for sustainable agricultural management

Agricultural expansion faces environmental and socioeconomic challenges. Consequently, the implementation of sustainable soil management practices is essential. This study employed the Random Forest algorithm to map soil chemical parameters and identify areas within the Sorocabuçu River Basin (SRB) that are suitable for growing vegetable crops. Soil samples were collected from 27 points, distributed according to land use and topographical characteristics, and analyzed for the macronutrients Calcium (Ca), Magnesium (Mg), Potassium (K), P-resin, Sulphur (S), as well as pH and Cation Exchange Capacity (CEC). The data were interpolated using the Inverse Distance Weighted (IDW) method. Considering the financial and logistical constraints of sampling, the IDW method was adopted for data interpolation, and it was subsequently validated through statistical analysis. In the supervised classification, we assumed that the soil must possess an adequate pH or CEC, along with favorable macronutrient levels, to be considered suitable for agricultural use. The results indicated that 61.06% of the SRB is highly suitable for growing vegetable crops, characterized by optimal Ca distribution, low Mg concentrations, and uniform K levels. However, P-resin was found to be insufficient in 67.86% of the area. The average pH of 4.94 indicated the acidic nature of the soil, while the average CEC of 88.73 mmolc/dm³ reflected the predominance of acidic cations (H + Al). The Random Forest model demonstrated high performance in classifying agricultural suitability, with a Kappa coefficient of 0.94, sensitivity of 0.97, and specificity of 0.92. The model highlighted pH and Ca as the most influential factors in the algorithm’s decision-making process, emphasizing their significance in predicting soil fertility. Field validation confirmed the reliability of the model, further supporting its potential for application in sustainable agricultural planning. The use of the Random Forest algorithm in this modeling process proved to be effective in facilitating decision-making in sustainable soil management, allowing for targeted interventions to address edaphic limitations. Furthermore, the results contribute to sustainable management practices that support SDG 2 (Zero Hunger and Sustainable Agriculture) and SDG 15 (Life on Land), promoting soil conservation and agricultural productivity. Future research could incorporate additional environmental variables and refine the modeling approach to enhance its applicability across diverse agricultural scenarios.

Authors

Institutions

Publication Details

Journal
Environment Development and Sustainability
Published
2026-03-11
DOI
https://doi.org/10.1007/s10668-026-07377-3
Primary Topic
Soil Geostatistics and Mapping
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine learning and geoprocessing in the modeling of agricultural suitability in a River Basin for sustainable agricultural management

Letícia Tondato Arantes, Roberto Wágner Lourenço, Darllan Collins da Cunha e Silva, Arthur Pereira dos Santos et al.
Environment Development and Sustainability
Soil Geostatistics and Mapping
article

Machine learning and geoprocessing in the modeling of agricultural suitability in a River Basin for sustainable agricultural management

Letícia Tondato Arantes, Roberto Wágner Lourenço, Darllan Collins da Cunha e Silva, Arthur Pereira dos Santos, Bruno Pereira Toniolo, Alessandro Xavier da Silva Junior, Nícholas de Paula Nicomedes
article en

Abstract

Agricultural expansion faces environmental and socioeconomic challenges. Consequently, the implementation of sustainable soil management practices is essential. This study employed the Random Forest algorithm to map soil chemical parameters and identify areas within the Sorocabuçu River Basin (SRB) that are suitable for growing vegetable crops. Soil samples were collected from 27 points, distributed according to land use and topographical characteristics, and analyzed for the macronutrients Calcium (Ca), Magnesium (Mg), Potassium (K), P-resin, Sulphur (S), as well as pH and Cation Exchange Capacity (CEC). The data were interpolated using the Inverse Distance Weighted (IDW) method. Considering the financial and logistical constraints of sampling, the IDW method was adopted for data interpolation, and it was subsequently validated through statistical analysis. In the supervised classification, we assumed that the soil must possess an adequate pH or CEC, along with favorable macronutrient levels, to be considered suitable for agricultural use. The results indicated that 61.06% of the SRB is highly suitable for growing vegetable crops, characterized by optimal Ca distribution, low Mg concentrations, and uniform K levels. However, P-resin was found to be insufficient in 67.86% of the area. The average pH of 4.94 indicated the acidic nature of the soil, while the average CEC of 88.73 mmolc/dm³ reflected the predominance of acidic cations (H + Al). The Random Forest model demonstrated high performance in classifying agricultural suitability, with a Kappa coefficient of 0.94, sensitivity of 0.97, and specificity of 0.92. The model highlighted pH and Ca as the most influential factors in the algorithm’s decision-making process, emphasizing their significance in predicting soil fertility. Field validation confirmed the reliability of the model, further supporting its potential for application in sustainable agricultural planning. The use of the Random Forest algorithm in this modeling process proved to be effective in facilitating decision-making in sustainable soil management, allowing for targeted interventions to address edaphic limitations. Furthermore, the results contribute to sustainable management practices that support SDG 2 (Zero Hunger and Sustainable Agriculture) and SDG 15 (Life on Land), promoting soil conservation and agricultural productivity. Future research could incorporate additional environmental variables and refine the modeling approach to enhance its applicability across diverse agricultural scenarios.

Environment Development and Sustainability
Universidade de Sorocaba (BR), Universidade Estadual Paulista (Unesp) (BR)
Coordenação de Aperfeiçoamento de Pessoal de Nível Superior
Zero hunger
Openalex Percentile: Top 33%
Soil Geostatistics and Mapping
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.