<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help with iterators in model builder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/help-with-iterators-in-model-builder/m-p/734893#M24222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aakash&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Aug 2013 17:06:01 GMT</pubDate>
    <dc:creator>AakashAhamed</dc:creator>
    <dc:date>2013-08-05T17:06:01Z</dc:date>
    <item>
      <title>Help with iterators in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/help-with-iterators-in-model-builder/m-p/734889#M24218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any input appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2013 17:31:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/help-with-iterators-in-model-builder/m-p/734889#M24218</guid>
      <dc:creator>AakashAhamed</dc:creator>
      <dc:date>2013-08-01T17:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with iterators in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/help-with-iterators-in-model-builder/m-p/734890#M24219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&amp;nbsp; If this is the case, you should use the iterate feature classes tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If all your points are in the same feature class, you should use the Iterate Field Value tool instead.&amp;nbsp; 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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 08:06:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/help-with-iterators-in-model-builder/m-p/734890#M24219</guid>
      <dc:creator>DanielHall_Ballester</dc:creator>
      <dc:date>2013-08-02T08:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with iterators in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/help-with-iterators-in-model-builder/m-p/734891#M24220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks for your answer. I tried using the iterate feature classes tool. However, the data set that I have is not a geodatabase. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the source info:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Data Type: File Geodatabase Feature Class &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Database: C:\Users\ahameda\Documents\ArcGIS\Aakash Data.gdb&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature Class: Res_Sed_IFC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature Type: Simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Geometry Type: Point&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The GDB that it is saved in has other files as well. This iterator will only let me select geodatabases. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to apply the iterate field value tool, it will not let me connect the iterator's output to the watershed function in model builder. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Should I create a separate gdb with just this file in it? And then use the iterate feature classes tool? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could batch processing solve this problem? Any further input appreciated. Your comments have been helpful and I am close to solving this problem!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aakash&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 14:18:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/help-with-iterators-in-model-builder/m-p/734891#M24220</guid>
      <dc:creator>AakashAhamed</dc:creator>
      <dc:date>2013-08-02T14:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with iterators in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/help-with-iterators-in-model-builder/m-p/734892#M24221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it looks like you have a single feature class for all your points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use the Iterate Field values tool and connect the output to the Copy features tool.&amp;nbsp; Then connect the output from this to your watershed tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That should do it &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 07:31:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/help-with-iterators-in-model-builder/m-p/734892#M24221</guid>
      <dc:creator>DanielHall_Ballester</dc:creator>
      <dc:date>2013-08-05T07:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help with iterators in model builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/help-with-iterators-in-model-builder/m-p/734893#M24222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aakash&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2013 17:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/help-with-iterators-in-model-builder/m-p/734893#M24222</guid>
      <dc:creator>AakashAhamed</dc:creator>
      <dc:date>2013-08-05T17:06:01Z</dc:date>
    </item>
  </channel>
</rss>

