I have developed a tool that defines watershed area for a given (x,y) point in model builder. The tool is attached. I want to run this tool for a database of about 500 (x,y) points.
Which iterator function should I use to accomplish this? "Multivariate" seems like what I want, but I cannot get the tool to execute for multiple datapoints. An input of 1 data point works fine.
The top left parameter is an enclosing HUC and the bottom parameter is the point from which the watershed is calculated. I need to perform this function for a series of ~500 points. I am sure there are multiple ways to do this. I tried setting the "reservoir outlet" parameter to "list of values" instead of single value, but this does not accomplish what I need.
Hi, assuming I've understood you correctly, you have a geodatabase with a number of point feature classes, and you want to pass each feature class once through your model. If this is the case, you should use the iterate feature classes tool. If all your points are in the same feature class, you should use the Iterate Field Value tool instead. With this tool, you can group by a certain field, (if you have multiple points that need to go through together) or just group by ObjectID (or another unique identifier field) if you want each point to go through on its own.
Hi, it looks like you have a single feature class for all your points. Use the Iterate Field values tool and connect the output to the Copy features tool. Then connect the output from this to your watershed tool. That should do it :) Thanks Dan
Thanks again. Once again, I am unable to connect the output from Iterate Field Values tool to the Watershed tool. Even if I connect the output to the Copy Features tool and try to connect the output of that to the watershed tool, it only lets me connect as a "precondition" and not the "feature or pour point data" that the watershed tool requires.
I am having limited degrees of success running the tool through batch mode, however. If you have further insights they would be much appreciated. Your responses have helped me strengthen my understanding of model builder and approach a problem from a multitude of different ways.