Similar Items: Assessing the impact of soil degradation on food production