To clean up a large shapefile, I am looking for a way to do the following:
I have the ID of many polygons which need getting rid of stored in a list. These polygons are villages and a second shapefile has the watersheds to each of these, and they overlap.If I delete a village polygon I need the data assigned to it to be appended to the next village downstream. The next village downstream will belong to the next larger overlapping watershed, or the 2nd smallest one to overlap with the original village. The villages and watersheds are linked by an ID number.
First step would be: identify the ID of the 2nd smallest entirely overlapping polygon from the watershed shapefile which overlaps with the village identified in the list.
The "Identify" tool looks like it could do the trick but I can't find the script to it, does that exist for Python?
If anyone with experience in python for ArcGIS (ArcMap 10.2 Advanced license) or have tips do let me know!