I have a file showing for each disaster, which provinces were affected. The number of provinces affected varies and their names or associated code varies as well.
Example, if a flood in 2000 affected 3 provinces called Sichuan, Henan and Yunnan. I need to select those 3 provinces and create a new shapefile. Easy. But I need to do that for over 2000 disasters and the affected provinces always changes (in names and numbers of provinces affected).
I would like to automate this with ModelBuilder but I don't know how to change my SQL request for each disaster.
Do you know if there is a way for ModelBuilder to see in an Excel file, which are the provinces that need to be selected and select them and create the corresponding shapefile?