We developing a wetland tool where wetland condition is calculated from a landscape scale based land-cover classes with their own weights. The approach is made by identifying the land-cover classes within the wetland and from the impacts within up-slope catchment. We trying to make this an automated process by inserting both the input layers (wetland and up-slope catchment) to automatically intersect the land-cover falling in them and their area. Help will be appreciated. I can provide example of the shapefile