AnsweredAssumed Answered

Iterations in Model Builder

Question asked by geonetadmin on Aug 18, 2011
Latest reply on Aug 23, 2011 by geonetadmin
Original User: SMFrost

My goal is to run about 20 iterations of a model but at the moment I can't get it to do 2! I have a point shape file, I need to:
Select certain features
Select by location using those features with a grid to select the corresponding grid squares
Calculate a field in the grid to have a "1" in the selected grid squares
Deselect everything
Create a raster from the grid

There's then a load of other stuff which isn't important. No problem, this works.

BUT I want to do a second selection on the same dataset, same select by location, calculate the field to have a different set of squares with 1 and create a new raster. This is where I'm stuck. I have tried Lists and Series but nothing sems to work properly, it just creates the same raster twice. I attach 2 pdfs tos how what I am doing. I need to get the model to clear the first set of "1"s and use the second selection to repopulate.
Any ideas?

Thanks
Shona

Outcomes