A study was conducted on 14 grassland communities located in the south of the Iberian Peninsula and their edaphology, which is identified as specific plant associations. The edaphic study of each association allows a rapid evaluation of the nutrient content in the soil without the need for laboratory edaphic analysis. For each phytosociological relevé and soil, samplings were carried out. The field data were subjected to various statistical analysis—canonical correspondence analysis (CCA), Bayesian networks, and decision trees—to establish nutrient content. When the abundance value of the species is 9 in the Van der Maarel scale, there is an increase in the values of several soil parameters. In the case of Hordeum leporinum, when the Van der Maarel index is 9, the Kc (exchangeable potassium in cmol/kg) undergoes the greatest variation, to a value of up to 0.729 cmol/kg. The application of the decision tree to this species reveals that the soil attributes with the greatest influence in the classification are conductivity, %_si (silt texture), pH, and pF 15 atm (pressure at 15 atmospheres (water retention capacity) in %). Indeed, this interlaced edaphic and phytosociological study provides us with a high-value tool to obtain quick information on the content of nutrients in the soil.