All the given factors affect soil corrosivity.
With the increase in acidity of soil, corrosion rate increases.
Since corrosivity is associated with electrochemical reactions in soil, high soil resistivity slows down the corrosion reactions.
Concentration of chlorides and sulphides in soil plays an important role in soil corrosivity.