Optimizing the management of soil erosion using GIS