ABSTRACT
Soil parent material information is essential for defining potential soil uses. However, intense tropical weathering makes direct identification of parent material challenging considering their great depths. Proximal sensing can support the detailed prediction and mapping of parent material through soil analysis. The objective of this study was to map parent material on an experimental farm in Southeastern Brazil using a portable X-ray fluorescence spectrometer (pXRF) and the Random Forest algorithm. A total of 114 soil samples (0-20 and 60-80 cm) were collected, representing multiple soil classes, landforms, and land uses. In addition, 17 rock fragments (gabbro and granite-gneiss) were collected for model calibration. All samples (soil and rock) were analyzed using pXRF. Parent material prediction models were then developed using the Random Forest algorithm and applied to spatialized pXRF-derived chemical data to generate parent material maps. The accuracy of spatial predictions was evaluated using the Kappa index (KI), overall accuracy (OA), and user’s and producer’s accuracies. The 60-80 cm dataset yielded the highest prediction accuracy (KI = 0.52; OA = 0.76). The most important variables were Mn, Fe, P, K, and Ca contents. These results demonstrate that pXRF data can be used to predict and map the spatial distribution of soil parent material with reasonable accuracy, even across different soil classes and land uses.
Index terms:
Random Forest; proximal sensing; tropical soils; rocks
RESUMO
O material de origem do solo é fundamental para definir os usos potenciais do solo. Entretanto, o intenso intemperismo nos trópicos torna um desafio identificá-los diretamente, dadas suas grandes profundidades. O sensoriamento próximo pode auxiliar na predição e no mapeamento detalhado dos materiais de origem via análise de solos. Objetivou-se mapear o material de origem de uma fazenda experimental em Minas Gerais, região sudeste do Brasil, com o auxílio de um espectrômetro portátil de fluorescência de raios-X (pXRF) e do algoritmo Random Forest. Foram coletadas 114 amostras de solos (0-20 e 60-80 cm) abrangendo múltiplas classes de solo, de relevo e usos da terra. Ademais, foram coletados 17 fragmentos de rocha (gabro e granito-gnaisse) para calibração dos modelos. Todas as amostras (rochas e solos) foram analisadas em pXRF e, a partir desses dados, foram criados modelos de predição dos materiais de origem com o Random Forest. Os modelos foram aplicados aos dados espacializados dos elementos químicos, gerando-se mapas de materiais de origem. A precisão das predições espaciais foi avaliada por meio do índice Kappa (KI), da acurácia global (OA), do usuário e do produtor. Os dados de 60-80 cm obtiveram maior acurácia da predição espacial (KI=0,52; OA=0,76). As variáveis mais importantes para o modelo foram os teores totais de Mn, Fe, P, K e Ca. Foi possível predizer e mapear com razoável acurácia a distribuição espacial dos materiais de origem de solos, mesmo sendo de diferentes classes e estando sob diferentes usos e manejos, com o auxílio do pXRF.
Termos para indexação:
Random Forest; sensoriamento próximo; solos tropicais; rochas
Introduction
In tropical soils, prolonged weathering has led to the formation of very deep profiles, with parent material often occurring at depths of several meters (Dantas et al., 2014), making its sampling and identification difficult. In general, lithology cannot be directly equated to soil parent material, although most Digital Soil Mapping studies have used this information as a proxy (Gozukara, Zhang & Hartemink, 2021; Mancini et al., 2019a). Soil genesis is influenced by parent material; however, changes in soil chemical composition relative to the parent material leave measurable traces in soil properties (Resende et al., 2014). In this context, proximal sensors and artificial intelligence algorithms have made this task more efficient and less subjective (Pierangeli et al., 2023).
Parent material is considered a soil-forming factor (Jenny, 1941), as soil physical, chemical, biological, and mineralogical properties are strongly influenced by it (Schaetzl & Anderson, 2005; Zeng et al., 2023), even in highly weathered soils (Curi & Franzmeier, 1987). For example, parent material resistant to weathering, such as quartzite, results in soils rich in quartz and poor in clay particles (Khoirullah & Sophian, 2019; Zádorová, Brodský & Rohołková, 2009). In addition, the mineralogical composition of the parent material can determine soil natural fertility and heavy metal contents (Ayoubi, Adman &; Yousefifard, 2019; Resende et al., 2011; Zheng et al., 2023). These and other aspects highlight the importance of parent material information for refining maps of soil classes and attributes and, consequently, for supporting more adequate, sustainable, and site-specific management practices (Ribeiro et al., 2024; Richter et al., 2019). Moreover, information on parent material can be useful for mining, identifying geological fragilities and landslide-prone areas, civil construction, road planning, and even landmine detection (Ale et al., 2022; Pinto et al., 2020; Preetz, Altfelder & Igel, 2008).
One proximal sensing technique that has shown significant potential in soil science is portable X-ray fluorescence spectrometry (pXRF), which provides low-cost and non-destructive analyses. This sensor determines the total concentrations of chemical elements in various materials, such as soil, rocks, fertilizers, plants, and water (Borges et al., 2020; Chauhan & Chauhan, 2012; Zhang, Lentz & Charnley, 2017). pXRF data have been used to develop predictive models for several purposes using algorithms such as Random Forest, including nutrient prediction (Andrade et al., 2021; Faria et al., 2020; Tavares et al., 2023), texture (Pavão et al., 2024), microbiological attributes (Teixeira et al., 2021), and soil classification under different land uses (Chakraborty et al., 2019), among others. Thus, this proximal sensor has strong potential to support the prediction and mapping of soil parent material, particularly in regions where detailed geological maps are scarce (Gozukara et al., 2025), such as Brazil. However, the potential of pXRF for this purpose is still not well understood, especially in tropical regions and in areas with high soil variability, contrasting degrees of weathering-leaching, and diverse land uses. Previous studies have not evaluated the efficiency of this approach in areas with such diversity, ranging from the least (Neossolo Litólico) to the most (Latossolo Vermelho) weathered soil classes (Mancini et al., 2019a, Pierangeli et al., 2023).
Given the difficulty of directly determining parent material, particularly in deep and highly weathered tropical soils, this study aims to map soil parent material at a finer level of detail than existing maps across a farm using pXRF and the Random Forest machine learning algorithm. We hypothesize that chemical element concentrations obtained by pXRF in deeper soil horizons can distinguish soils derived from different parent materials and, consequently, enable the delineation of parent material spatial distribution at higher resolution and with acceptable accuracy. This study contributes to the identification of quantitative parameters and formal metrics that can support future soil mapping efforts based on relationships with parent material.
Material and Methods
Study area
The study area (Figure 1), covering 158.6 ha, is located between -21.193787° and -21.205505° latitude and -44.976328° and -44.993609° longitude. It lies within an experimental area of the Federal University of Lavras, in the municipality of Ijaci, Minas Gerais, Brazil. Land uses include agriculture, forestry, pasture, and areas of native vegetation classified as subperennial tropical forest (Atlantic Forest). The average altitude is 910 m, and the terrain ranges from flat (0-3%) to strongly undulating (20-45% slope). The area is situated in the Campos das Vertentes region, within the Rio Grande watershed.
Location of the study area, soil sampling points, and parent material sampling sites at Fazenda Muquém, in the municipality of Ijaci, Minas Gerais, Brazil.
According to the Köppen classification, the regional climate is Cwa, characterized by a temperate rainy climate with hot, humid summers and cold, dry winters (Dantas, Carvalho & Ferreira, 2007). Based on the geological map of Minas Gerais, the lithology is described as granite, granitoid, and migmatite formed by regional metamorphism during the Archean period (Silva et al., 2020). However, this description is inconsistent with field observations, likely due to the map scale (1:100,000), which is more suitable for regional than farm-scale applications. This inconsistency was confirmed through systematic field surveys and macroscopic identification of rock outcrops and soil profile characteristics. Although the official map indicates metagranites, gabbro intrusions were clearly identified based on their typical dark minerals and associated reddish (hematitic) soils, which contrast with the lighter-colored, sandier soils derived from granite-gneiss.
Soil field characterization and morphological descriptions were conducted following Santos et al. (2015). Soil color was determined in the field using Munsell color charts on moist samples. The soils in the study area (Table 1) show high variability in their degree of development and associated properties, ranging from Neossolos (less developed) to Latossolos (more developed), according to the Brazilian Soil Classification System - SiBCS (Santos et al., 2025). According to the soil map of Silva, Santos, and Marques (2014), Latossolos Vermelho-Amarelos are the dominant class in the area, followed by Cambissolos Háplicos and Argissolos Vermelho-Amarelos.
Soil classes in the study area according to the Brazilian Soil Classification System - SiBCS (Santos et al., 2025), their correspondence in the World Reference Base of the Food and Agriculture Organization - WRB-FAO (IUSS Working Group WRB, 2022), and their respective areas.
Sampling and laboratory analysis
Fifty-seven sampling points were established at depths of 0-20 and 60-80 cm, generally corresponding to the A and B horizons, respectively, using an auger, totaling 114 samples (Figure 1). The sampling design aimed to represent all soil classes, landforms, and land uses in the area, based on the combinations identified by Silva, Santos, and Marques (2014), as well as slope conditions. In addition, 17 parent material samples (fragments of gabbro and granite-gneiss found at the surface and at depth during soil sampling) were collected.
For pXRF analysis, soil samples were air-dried and sieved (2 mm). Ten grams of each sample were analyzed using a Bruker® Tracer 5g pXRF spectrometer, equipped with an Rh X-ray tube operating at 50 keV and 100 μA, in soil mode, in triplicate, with a scanning time of 60 s (Weindorf & Chakraborty, 2020). The 17 parent material fragments (6 gabbro and 11 granite-gneiss) were scanned four times on different sides.
Instrument precision was verified by scanning reference materials 2710a and 2711a, certified by the National Institute of Standards and Technology (NIST), as well as a check sample (CS) provided by the manufacturer. pXRF recovery values were calculated as (measured elemental content / certified elemental content × 100) (Weindorf & Chakraborty, 2020; Gozukara et al., 2025) for elements identified in the parent material and soils, and are presented as percentages (2710a/2711a/CS): Al - 84/73/92; Ca - 39/45/-; Cr - -/107/-; Cu - 81/69/91; Fe - 71/65/88; K - 60/46/83; Mg (-/65/-); Mn - 68/60/82; P (214/234/-); Si - 57/48/87; Ti - 77/65/-; V - 51/27/-; Zn - 87/82/-; Zr (85/-/-).
Statistical analysis, modeling, and mapping procedures
Statistical analyses to characterize elemental contents for each parent material and soil class included maximum, minimum, mean, median, standard deviation (SD), and coefficient of variation (CV). Boxplots of parent material elemental data and a Principal Component Analysis (PCA) of soil elemental data were generated to evaluate the multivariate distribution of soil classes using R software (R Core Team, 2024).
The 17 rock samples, analyzed by pXRF with four replicates (68 pXRF scans), were used to train a Random Forest model (Breiman, 2001) (ntree = 100; mtry = 7) using R (R Core Team, 2024) and the randomForest package. Random Forest was selected for its strong performance in handling nonlinear relationships and its robustness to overfitting in multi-element datasets, as well as its superior performance in similar studies (Mancini et al., 2019b; 2020). Potential overfitting due to the limited number of rock samples was mitigated through cross-validation and by applying the model to an independent set of 13 field validation points. The pXRF-derived elemental data from rock samples were used as explanatory variables. The following elements were included: Al, As, Ba, Ca, Co, Cr, Cu, Fe, K, Mg, Mn, Ni, P, Rb, S, Si, Sn, Sr, Ti, V, and Zr. Elemental contents below the pXRF detection limit were set to zero, and no preprocessing was applied. Variable importance was assessed using the percentage increase in mean square error (%IncMSE), with higher values indicating greater importance. The trained model was then independently applied to soil data from 0-20 cm and 60-80 cm to evaluate which depth better predicted parent material.
To generate parent material maps, soil elemental contents were spatialized at 12.5 m resolution using the multilevel B-spline algorithm (Lee, Wolberg & Shin, 1997) for each depth (0-20 and 60-80 cm) in SAGA GIS (Conrad et al., 2015). This method was chosen because it produces smooth, continuous surfaces from irregularly spaced data while minimizing global interpolation error, outperforming inverse distance weighting (IDW), which is more sensitive to local clustering and can generate abrupt spatial discontinuities. The concentrations of the 21 selected elements were then extracted for each pixel and depth. The Random Forest model was applied to these datasets, enabling prediction of parent material type for each pixel across the study area.
Parent material map validation
The two parent material maps, generated using soil data from 0-20 cm and 60-80 cm, were validated by comparing predicted and observed parent materials at 13 independent locations across the study area. Field observations were obtained using auger sampling and roadcut exposures, at sites different from those used for collecting the 17 rock samples. Based on these comparisons, the Kappa index (KI) (Equation 1 ), overall accuracy (OA) (Equation 2), user’s accuracy (probability that a mapped class corresponds to the observed parent material) (Equation 3), and producer’s accuracy (probability that an observed parent material is correctly mapped) (Equation 4) were calculated to assess map accuracy.
Where: Po is the proportion of correctly classified points, and Pe is the probability of random agreement. KI values range from −1 to 1, with values closer to 1 indicating higher accuracy and reliability of the generated maps (Landis & Koch, 1977).
Where V represents the number of correctly classified samples, T is the total number of samples, and OA is the overall accuracy. Values closer to 100 indicate greater map accuracy.
In the above equations, Xii and Xjj represent the number of correctly classified points, while Xij corresponds to the total number of samples of a given parent material in a row (user’s accuracy) or column (producer’s accuracy) of the confusion matrix.
Results and Discussion
Soil parent material characterization
PXRF analysis revealed clear contrasts in elemental composition among the different parent materials (Figure 2). Some elements were highly distinctive of specific parent materials, whereas others showed low data dispersion within the same material (based on quartiles). This pattern occurred either for both parent materials (e.g., Ca, P, and S) or for only one of them (gabbro: As, K, Rb, Si, and Sr; granite-gneiss: Co, Cu, Fe, Mn, Ni, Ti, V, and Zr) (Figure 2). Low data dispersion indicates that the concentrations of these elements are relatively consistent within each parent material in the study area, as measured by pXRF.
Boxplots of elemental contents obtained by portable X-ray fluorescence spectrometry (pXRF) for the parent materials in the study area.
Several elements clearly differentiate the rocks in the study area, with no overlap in boxplot distributions, including As, Ca, Cu, Fe, Mn, Ni, P, Si, Ti, and V. Gabbro samples showed higher mean Fe content (gabbro: 6.81%; granite-gneiss: 0.53%) and higher maximum values (gabbro: 16.61%; granite-gneiss: 2.70%) compared to granite-gneiss (Table 2), reflecting the abundance of Fe-bearing minerals in gabbro (Mello & Alleoni, 2019). In contrast, granite-gneiss exhibited higher maximum Si values (gabbro: 27.18%; granite-gneiss: 53.26%), due to its greater content of quartz (SiO₂) and other silicates (Resende et al., 2011).
Elements with higher median values in gabbro include As, Ca, Cr, Cu, Fe, Mg, Mn, Ni, P, Sn, Ti, V, and Zn, whereas granite-gneiss showed higher contents of Ba, K, Rb, and Si. These differences reflect the distinct mineralogical compositions of the two parent materials (Gozukara, Zhang & Hartemink, 2021; Resende et al., 2019). Similarly, Ayoubi, Adman and Yousefifard (2019) reported higher levels of Cr, Fe, Mn, and Ni in basalt compared to granite-gneiss, although, unlike our findings, they observed higher Zn contents and similar Co values in granite-gneiss in a semi-arid region of Iran.
Both gabbro and granite-gneiss are common in the study area. Gabbro has a basic composition, is rich in mafic minerals, and occurs as intrusions, whereas granite-gneiss is predominant and has a more acidic composition, being rich in felsic minerals (Preetz, Altfelder & Igel, 2008; Resende et al., 2011). Granite-gneiss is composed mainly of quartz (SiO₂), feldspar (KAlSi₃O₈), and micas (Araujo et al., 2014). In contrast, gabbro consists of calcic plagioclases such as labradorite [(Ca,Na)[Al(Al,Si)Si₂O₈]] and bytownite (Na₀.₂Ca₀.₈Al₁.₈Si₂.₂O₈), pyroxenes such as augite [(Ca,Na)(Mg,Fe,Al,Ti)(Si,Al)₂O₆], and may include accessory minerals such as olivine [(Mg,Fe)₂SiO₄], hornblende [(Ca,Na)₂(Mg,Fe,Al)₅(Al,Si)₈O₂₂(OH)₂], magnetite (Fe₃O₄), and ilmenite (FeTiO₃), resulting in high Fe concentrations and the formation of oxidic soils.
It is important to note that tropical soils are highly weathered and often nutrient-poor, even when derived from originally nutrient-rich rocks such as gabbro (Mello & Alleoni, 2019). Heavy metals, which can serve as indicators of parent material (Ribeiro et al., 2024; Stockmann et al., 2016), showed higher median values in gabbro (As, Cu, Fe, Mn, Ni, V) than in granite-gneiss.
Some elements exhibited high coefficients of variation (CV), such as Cu, S, Ca, and Ni, particularly in granite-gneiss, likely due to the presence of accessory minerals containing these elements (Wicander & Monroe, 2010). In contrast, elements such as Si, which are abundant in rocks like granite-gneiss (Mello & Alleoni, 2019), showed lower CV values, indicating relatively consistent concentrations in these materials across the study area.
In our dataset, the CV for Ca in the granite-gneiss samples was the highest observed, likely because pXRF analyses may have captured Ca-rich minerals (e.g., anorthite), which typically occur in small amounts in this rock (Resende et al., 2019). As pXRF analyzes very small portions of the sample (Ravansari, Wilson & Tighe, 2020), repeated measurements are essential to improve data representativeness. This highlights the variability in rock composition and the heterogeneous distribution of minerals within it (Gozukara et al., 2025; Weindorf & Chakraborty, 2020).
Characterization of the soil classes
The chemical characterization of soil classes based on total elemental contents showed high variability both within and between classes. Differences among soil classes may result from factors such as parent material, degree of weathering-leaching, landscape position, and land use, whereas variability within the same class is often related to management practices, such as liming and fertilization (Lopes & Guilherme, 2016; Resende et al., 2014). As these variations are common in the study area, the analyzed elements were not sufficient to clearly separate soil classes in the PCA space (Figure 3). The first two principal components explained 53.5% of the total variance, indicating that a substantial portion of chemical variability is distributed across additional components and reflecting the compositional complexity of soils derived from contrasting parent materials.
Principal Component Analysis (PCA) of total elemental contents determined by portable X-ray fluorescence spectrometry (pXRF) in soil samples (60-80 cm).
LVA samples tended to cluster in the lower-left quadrant, mainly associated with As and Zr, possibly reflecting the mineralogical characteristics of the more weathered soils in this class. However, internal dispersion within this class remained considerable. The other classes showed high dispersion and overlap, indicating that, regardless of weathering degree, compositional variability within each class is high. Zeng et al. (2023) reported that soil classes are not always reliable predictors of parent material, especially in complex and heterogeneous landscapes where both parent materials and soils vary substantially.
Regarding mean total elemental contents across soil classes (Table 3), high variability (CV and SD) was observed for As, Cu, Ni, Sn, Co, and Fe. In contrast, elements such as Ba, Ca, Cr, Mn, P, V, and Zr showed relatively small variation in mean values among classes. Within-class variability (CV) was highest (>200%) for Sn and Ba. These elements occur at very low concentrations and were not detected by pXRF in some samples, although localized hotspots with higher contents were observed. Based on these results, soil class could not be used as a predictor of parent material, unlike in Ribeiro et al. (2024). Similarly, Zeng et al. (2023) noted that soil classes may be poor predictors of parent material due to variability in landscape, land use, and management, especially where both soils and parent materials are heterogeneous.
Accuracy assessment of soil parent material spatial prediction
The maps generated to represent parent material distribution using soil data from the two analyzed depths (0-20 and 60-80 cm) as input variables (Figure 4) showed clear differences. Higher accuracy was achieved when using deeper soil samples (60-80 cm) (Kappa index: 0.52; overall accuracy: 0.76) compared to surface samples (0-20 cm) (Kappa index: 0.24; overall accuracy: 0.58). This is likely because deeper samples are closer to the parent material and are less influenced by management practices such as liming and fertilization, which can alter soil chemical composition (Ayoubi, Adman & Yousefifard, 2019; Ribeiro et al., 2024). In addition, processes such as organic matter decomposition and sediment transport by erosion can further affect the composition of surface soils (Mancini et al., 2019b; Schaetzl & Anderson, 2005).
Predicted parent material maps compared with soil classes and slope variation across the study area. (a) Map generated using pXRF data from surface soil (0-20 cm); (b) map generated using subsurface soil data (60-80 cm); (c) soil classes map (adapted from Silva, Santos & Marques, 2014); and (d) slope map. Soil classes: CX: Cambissolo Háplico Tb Distrófico; GM: Gleissolo Melânico; GX: Gleissolo Háplico; LV: Latossolo Vermelho; LVA: Latossolo Vermelho-Amarelo; NB: Nitossolo Bruno; PVA: Argissolo Vermelho-Amarelo; RL: Neossolo Litólico.
Mancini et al. (2019a) reported similar findings when predicting parent material in an area with variations of phyllite, with better results obtained from deeper soil samples. Likewise, Pierangeli et al. (2023) observed improved predictions using deeper samples to distinguish among parent materials (charnockite, mudstone, and alluvial sediments) with Random Forest.
User’s and producer’s accuracies (commission and omission errors, respectively) also showed better performance for the 60-80 cm dataset (Table 4). For gabbro, omission error (producer’s accuracy) was low and commission error (user’s accuracy) was moderate. For granite-gneiss, both commission and omission errors were low, indicating that the map based on the 60-80 cm dataset is more precise. In contrast, the 0-20 cm dataset resulted in higher omission error in gabbro areas and high commission error in granite-gneiss areas, indicating underestimation of gabbro and overestimation of granite-gneiss in the mapped outputs.
User’s and producer’s accuracies of the two parent material maps generated using soil samples collected at different depths.
Field observations indicated that soils derived from gabbro exhibit redder colors due to higher hematite contents than those derived from granite-gneiss (Pinto et al., 2020; Preetz, Altfelder & Igel, 2008). These soils are also deeper, more weathered, and have higher clay contents. In contrast, soils derived from granite-gneiss showed higher Si concentrations, lighter colors, and generally higher sand contents, consistent with previous studies (Ayoubi, Adman & Yousefifard, 2019; Mancini et al., 2019b).
Variable importance
The most important variables in the best-performing model were Mn, Fe, P, K, and Ca (Figure 5). These elements were the most effective in distinguishing the parent materials in the study area, as also reported by Mancini et al. (2019a). Elements such as Fe and other heavy metals can serve as indicators of parent material in tropical soils, even under intense weathering and leaching (Curi & Franzmeier, 1987; Pierangeli et al., 2023), particularly when soils are used as proxies for the underlying rocks, as in this study. These elements ranked among the ten most important variables in the model (Figure 5). Other relevant elements for identifying changes in parent material include V, Ti, Rb, and Zr, which are commonly used in pedology to detect lithological discontinuities, as they are associated with minerals more resistant to weathering and tend to persist in soils over time (Stockmann et al., 2016).
Variable importance in the Random Forest model using portable X-ray fluorescence spectrometry (pXRF) data.
The spatial distribution of the five most important elements (those reducing model accuracy by more than 10%) (Figure 6) revealed the patterns used by the Random Forest model to distinguish gabbro and granite-gneiss areas. Mn, Fe, P, and Ca showed higher concentrations in areas associated with gabbro, reflecting its mafic composition, which is rich in ferromagnesian minerals such as magnetite and calcic plagioclase (Pinto et al., 2020; Resende et al., 2019; Silva et al., 2025). In contrast, K was more prominent in areas associated with granite-gneiss, likely due to the presence of potassium feldspars and micas (e.g., muscovite), typical of felsic rocks (Esvertit et al., 2025). However, some overlap between parent materials was observed for K and Fe. In the case of K, this may also reflect fertilization inputs. As this represents a limitation of the modeling approach, the selection of elements to refine parent material maps should consider whether their variability is controlled by parent material or by external factors.
Spatial prediction of the five most important elements identified by the Random Forest algorithm for soil parent material prediction, overlaid with parent material distribution for soil samples collected at 60-80 cm depth.
The delineation of parent material in the maps revealed “bull’s-eye” patterns that coincide with identified lithologies, reinforcing the role of these elements as geochemical indicators of soil parent material. Although the results showed reasonable accuracy, other studies using sensors and different algorithms have reported higher predictive performance (Mancini et al., 2019b; Pierangeli et al., 2023; Zeng et al., 2023). One possible explanation is the limited sampling in transitional zones between parent materials, which tend to increase uncertainty in predictions and map accuracy (Pelegrino et al., 2016). In addition, some areas were difficult to access due to steep slopes, dense vegetation, and lack of roads, limiting sample collection.
Combining sensors may offer a promising strategy to improve prediction accuracy. Previous studies have shown that integrating pXRF with Vis-NIR spectroscopy enhances the discrimination of soil parent materials (Gozukara et al., 2025; Gozukara, Zhang & Hartemink, 2021; Mancini et al., 2019a). Thus, future research could benefit from combining pXRF with complementary proximal sensors to reduce uncertainty and improve mapping accuracy. Additionally, including elements with very low recovery values may introduce noise into the model, potentially reducing performance even if not captured by accuracy metrics. Since the explanatory variables (pXRF data) are point-based, spatial prediction likely introduced additional uncertainty, contributing to the lower accuracy observed.
Another source of uncertainty is the application of models calibrated with rock data to soil data, although this approach has shown good results in tropical soils (Mancini et al., 2019a). Whenever possible, calibrating models with soil samples of known parent material may be preferable to avoid error propagation (Mancini et al., 2020). Differences in chemical composition between parent materials and their derived soils over time may also contribute to prediction errors. Finally, the presence of transitional zones between parent materials may further affect model performance.
Conclusions
The results confirm that pXRF combined with the Random Forest algorithm can effectively map soil parent materials. The highest accuracy was achieved using soil data from 60-80 cm depth (Kappa: 0.52; overall accuracy: 0.76). Mn, Fe, P, K, and Ca were the most important variables for parent material prediction. Model calibrated with parent material data applied to soil data likely increased prediction errors. Future studies should adopt denser sampling designs and integrate multiple sensors to improve accuracy in similar environments.
Acknowledgments
The authors acknowledge Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq) (process nº: 174948/2023-9; 307532/2022-4) , Coordenação de Aperfeiçoamento Pessoal de Nível Superior (CAPES), Fundação de Amparo à Pesquisa do Estado de Minas Gerais (FAPEMIG, APQ-02907-18) that provided financial support and allowed the conduction of this research in the field and laboratory.
Data Availability Statement
Data available upon request to authors.
References
- Ale, T. O. et al. (2022). Geotechnical investigation and statistical relationship of subsoil properties derived from two parent rock types in Southwestern Nigeria. Cogent Engineering, 9(1).
- Andrade, R. et al. (2021). Micronutrients prediction via pXRF spectrometry in Brazil: Influence of weathering degree.Geoderma Regional, 27:e00431.
- Araujo, M. A. et al. (2014). Paragênese mineral de solos desenvolvidos de diferentes litologias na região sul de Minas Gerais. Revista Brasileira de Ciência do Solo, 38(1):11-25.
- Ayoubi, S., Adman, V., & Yousefifard, M. (2019). Use of magnetic susceptibility to assess metals concentration in soils developed on a range of parent materials. Ecotoxicology and Environmental Safety, 168:138-145.
- Borges, C. S. et al. (2020). Foliar elemental analysis of Brazilian crops via portable X-ray fluorescence spectrometry. Sensors, 20(9):2509.
- Breiman, L. (2001). Random Forests. Machine Learning, 45(1):5-32.
- Chakraborty, S. et al. (2019). Use of portable X-ray fluorescence spectrometry for classifying soils from different land use land cover systems in India. Geoderma, 338:5-13.
- Chauhan, P., & Chauhan, R. P. (2012). Elemental analysis of fertilizers using X-ray fluorescence and their impact on alpha radioactivity of plants. Journal of Radioanalytical and Nuclear Chemistry, 295(2):1097-1105.
- Conrad, O. et al. (2015). System for automated geoscientific analyses (SAGA) v. 2.1.4. Geoscientific Model Development, 8(7):1991-2007.
- Curi, N., & Franzmeier, D. P. (1987). Effect of parent rocks on chemical and mineralogical properties of some Oxisols in Brazil. Soil Science Society of America Journal, 51(1):153-158.
- Dantas, A. A. A., Carvalho, L. G., & Ferreira, E. (2007). Classificação e tendências climáticas em Lavras, MG. Ciência Agrotecnologia, 31(6):1862-1866.
- Dantas, J. S. et al. (2014). Gênese de solos coesos do leste maranhense: Relação solo-paisagem. Revista Brasileira de Ciência do Solo , 38(4):1039-1050.
- Esvertit, G. E. et al. (2025). A review of the granite concept through time. Earth-Science Reviews, 261:105008.
- Faria, A. J. G. et al. (2020). Soils of the Brazilian Coastal Plains biome: Prediction of chemical attributes via portable X-ray fluorescence (pXRF) spectrometry and robust prediction models. Soil Research, 58(7):683-695.
- Gozukara, G., Zhang, Y., & Hartemink, A. E. (2021). Using vis-NIR and pXRF data to distinguish soil parent materials - An example using 136 pedons from Wisconsin, USA. Geoderma , 396:115091.
- Gozukara, G. et al. (2025). Prediction accuracy of pXRF, MIR, and Vis-NIR spectra for soil properties-A review. Soil Science Society of America Journal , 89(2):e70028.
- IUSS Working Group WRB. (2022). World Reference Base for Soil Resources. International soil classification system for naming soils and creating legends for soil maps (4th edition). International Union of Soil Sciences (IUSS), Vienna, Austria.
- Jenny, H. (1941). Factors of soil formation, a system of quantitative pedology New York: McGraw-Hill. 281p.
- Khoirullah, N., & Sophian, I. (2019). Erodibility factor in weathered volcanic rock in jatinangor, west java, Indonesia. IOP Conference Series: Earth and Environmental Science, 248:012055.
- Landis, J. R., & Koch, G. G. (1977). The measurement of observer agreement for categorical data. Biometrics, 33:159-174.
- Lee, S., Wolberg, G., & Shin, S. Y. (1997). Scattered data interpolation with multilevel B-splines. IEEE Transactions On Visualization and Computer Graphics, 3(3):228-244.
- Lopes, A. S., & Guilherme, L. R. G. (2016). A career perspective on soil management in the Cerrado region of Brazil. Advances in Agronomy, 137:1-72.
- Mancini, M. et al. (2019a). Tracing tropical soil parent material analysis via portable X-ray fluorescence (pXRF) spectrometry in Brazilian Cerrado. Geoderma , 337:718-728.
- Mancini, M. et al (2019b). Parent material distribution mapping from tropical soils data via machine learning and portable X-ray fluorescence (pXRF) spectrometry in Brazil. Geoderma , 354:113885.
- Mancini, M. et al. (2020). Soil parent material prediction for Brazil via proximal soil sensing. Geoderma Regional, 22:e00310.
- Mello, V. F., & Alleoni, L. R. F. (2019). Química e mineralogia do solo: Conceitos básicos e aplicações Viçosa: Sociedade Brasileira de Ciência do Solo, 1381p.
- Pavão, Q. S. et al. (2024). Texture prediction of natural soils in the Brazilian Amazon through proximal sensors. Geoderma Regional , 37:e00813.
- Pelegrino, M. H. P. et al. (2016). Mapping soils in two watersheds using legacy data and extrapolation for similar surrounding areas. Ciência e Agrotecnologia, 40(5):534-546.
- Pierangeli, L. M. P. et al. (2023). Soil parent material spatial modeling at high resolution from proximal sensing and machine learning: a pilot study. Journal of South American Earth Sciences, 129:104498.
- Pinto, V. M. et al. (2020). Petrogenesis of the mafic-ultramafic Canindé layered intrusion, Sergipano Belt, Brazil: Constraints on the metallogenesis of the associated fe-ti oxide ores. Ore Geology Reviews, 122:103535.
- Preetz, H., Altfelder, S., & Igel, J. (2008). Tropical Soils and landmine detection-an approach for a classification system.Soil Science Society of America Journal , 72(1):151-159.
-
R Core Team (2024). R: A language and environment for statistical computing R Foundation for Statistical Computing, Vienna, Austria. Version 4.1.1. Available in: <https://www.rproject.org/>.
» https://www.rproject.org/ - Ravansari, R., Wilson, S. C., & Tighe, M. (2020). Portable X-ray fluorescence for environmental assessment of soils: Not just a point and shoot method. Environmental International, 134:105250.
- Resende, M. et al. (2011). Mineralogia de solos brasileiros: Interpretação e aplicações (2.ed), revisada e ampliada, 2 ed. Lavras: Editora UFLA. 206p.
- Resende, M. et al. (2014). Pedologia: Base para distinção de ambientes (6.ed), Lavras: Editora UFLA . 378p.
- Resende, M. et al. (2019). Da rocha ao solo: Enfoque ambiental Lavras: Editora UFLA . 513p.
- Richter, J. et al. (2019). Mapping parent material as part of a nested approach to soil mapping in the Arkansas River Valley. Catena, 178:100-108.
- Ribeiro, D. et al. (2024). Effectiveness of proximal and remote sensing to trace soils spatial variability: A study case in a Brazilian Cerrado coffee farm. Ciência e Agrotecnologia , 48:e013824.
- Santos, R. D. et al. (2015). Manual de descrição e coleta de solo no campo (6.ed). Viçosa: Sociedade Brasileira de Ciência do Solo . 102p.
- Santos, H. G. et al. (2025). Sistema Brasileiro de classificação de solos (6.ed). Brasília: Embrapa Solos. 393p.
- Schaetzl, R. J., & Anderson, S. (2005). Soils: Genesis and geomorphology New York: Cambridge University Press. 827p.
- Silva, F. M. et al. (2025). Proximal sensing characterization of polygenetic soils variability in Brazil. Geoderma , 453:117137.
- Silva, B. M., Santos, W. J. R., & Marques, J. J. (2014). Levantamento detalhado dos solos da Fazenda Muquém/UFLA, Lavras - MG Lavras: Editora UFLA , 2014. 76 p. (Boletim Técnico, n. 98).
- Silva, M. A. et al. (2020). Mapa geológico do estado de Minas Gerais CPRM - Serviço Geológico do Brasil. Belo Horizonte: CPRM, 1 mapa, color. Escala 1:1.000.000.
- Stockmann, U. et al. (2016). Utilizing portable X-ray fluorescence spectrometry for in-field investigation of pedogenesis. Catena , 139:220-231.
- Tavares, T. R. et al. (2023). Estimating plant-available nutrients with XRF sensors: Towards a versatile analysis tool for soil condition assessment. Geoderma , 439:116701.
- Teixeira, A. F. S. et al. (2021). Microbiological indicators of soil quality predicted via proximal and remote sensing. European Journal of Soil Biology, 104:103315.
- Weindorf, D. C., & Chakraborty, S. (2020). Portable X-ray fluorescence spectrometry analysis of soils. Soil Science Society of America Journal , 84(5):1384-1392.
- Wicander, R., Monroe, J. S. (2010). Fundamentos de geologia Cengage, São Paulo.
- Zádorová, T., Brodský, L., & Rohołková, M. (2009). Soil-terrain modelling and erosion analysis at field scale level, a case study.Soil and Water Research, 4(2):84-90.
- Zhang, W., Lentz, D. R., & Charnley, B. E. (2017). Petrogeochemical assessment of rock units and identification of alteration/mineralization indicators using portable X-ray fluorescence measurements: Applications to the fire tower zone (W-Mo-Bi) and the north zone (Sn-Zn-In), mount pleasant deposit, New Brunswick, Canada. Journal of Geochemical Exploration, 177:61-72.
- Zheng, C. et al. (2023). Effects of rock lithology and soil nutrients on nitrogen and phosphorus mobility in trees in non-karst and karst forests of southwest China. Forest Ecology and Management, 548:121392.












