Model builder two iterators

324
1
01-10-2021 10:38 PM
DevD
by
New Contributor

I have two sets of data (1) folder containing feature point data that has the value field "count" (2) the same folder has raster (grid) files of euclidean distance. I need to perform map algebra in raster calc.

 

DevD_0-1610347007681.png

 

 

We attempted to do this by using Model builder through the use of sub-models and iterators. We have made three models namely- one for feature iteration, one for raster iteration, and one main model which will combine the previous two sub-models and use a raster calculator to calculate the equation (1).

What I want out of this is the model must take the value "count" of the point feature and divide it by distance raster (Euclidean distance) and store it in the output folder, similarly must iterate for every point value. [ 1000n /distance raster(1000n) ]

The two sub-models-raster and feature iterators work as they are supposed to ( I think )? But I am unable to combine these two to make the final model work?! I really appreciate it if you could render some insights on this.

I'm worried I need to work on this for a project. Please help...

Thank you once again!

Dev

0 Kudos
1 Reply
DanPatterson
MVP Esteemed Contributor

from Iterators—ArcGIS Pro | Documentation

Only one iterator can be used per model.

which is probably why the iterators worked in the separate submodules but failed when combined.

Time for python I suspect

 


... sort of retired...
0 Kudos