<?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: Iterations in Model Builder in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/iterations-in-model-builder/m-p/135395#M4624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using %n% inline variable in the output name to save each output of the iteration?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=In-line_variable_substitution"&gt;Help at 9.3 on inline variable substitution&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other resources:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using 10.0 - you can use iterators:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_quick_tour_of_using_iterators_for_iteration_Looping/002w0000001w000000/"&gt;Iterators&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=1D0B467A-1422-2418-88B2-2F32E993AFE8"&gt;Tutorials&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using 9.3.1 you need to use a series type variable in the model to iterate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Iteration_using_Series"&gt;Series&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also check &lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Iteration_using_Lists"&gt;Lists&lt;/A&gt; for batch processing&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Model example using Series - &lt;A href="http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=5DB5E243-1422-2418-3494-89AFEB4FC605"&gt;Example 1&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also check the &lt;A href="http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=5C89E13D-1422-2418-8889-760462EB5346"&gt;Iterate Field Value script tool&lt;/A&gt; - may be this will help with some other process.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2011 16:47:54 GMT</pubDate>
    <dc:creator>ShitijMehta</dc:creator>
    <dc:date>2011-08-18T16:47:54Z</dc:date>
    <item>
      <title>Iterations in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterations-in-model-builder/m-p/135394#M4623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: SMFrost&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Select certain features&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Select by location using those features with a grid to select the corresponding grid squares&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Calculate a field in the grid to have a "1" in the selected grid squares&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Deselect everything&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Create a raster from the grid&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's then a load of other stuff which isn't important. No problem, this works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shona&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 10:27:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterations-in-model-builder/m-p/135394#M4623</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-08-18T10:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Iterations in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterations-in-model-builder/m-p/135395#M4624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using %n% inline variable in the output name to save each output of the iteration?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=In-line_variable_substitution"&gt;Help at 9.3 on inline variable substitution&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other resources:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using 10.0 - you can use iterators:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/A_quick_tour_of_using_iterators_for_iteration_Looping/002w0000001w000000/"&gt;Iterators&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=1D0B467A-1422-2418-88B2-2F32E993AFE8"&gt;Tutorials&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using 9.3.1 you need to use a series type variable in the model to iterate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Iteration_using_Series"&gt;Series&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also check &lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Iteration_using_Lists"&gt;Lists&lt;/A&gt; for batch processing&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Model example using Series - &lt;A href="http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=5DB5E243-1422-2418-3494-89AFEB4FC605"&gt;Example 1&lt;/A&gt;&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Also check the &lt;A href="http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=5C89E13D-1422-2418-8889-760462EB5346"&gt;Iterate Field Value script tool&lt;/A&gt; - may be this will help with some other process.&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 16:47:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterations-in-model-builder/m-p/135395#M4624</guid>
      <dc:creator>ShitijMehta</dc:creator>
      <dc:date>2011-08-18T16:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Iterations in Model Builder</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/iterations-in-model-builder/m-p/135396#M4625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: SMFrost&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, thanks for answering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using 9.3.1 and I have checked out all the various help pages. Thanks for the downloads too, thay've given me more things to try but still nothing works. I'm guessing it's because I am doing a series of selections on the same datasets and not writing anything to a new file until the end. I presume Series doesn't go all the way through a model and then starts again with the next value but rather does each bit individually.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My next thought is to have a user input the values in the expression and run the model in batch but I can't see how that'd work either. I have no expreience in Python or any other programming hence my use of model builder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts/ help/comments greatly appreciated before I have to do this by hand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shona&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 11:55:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/iterations-in-model-builder/m-p/135396#M4625</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-08-23T11:55:22Z</dc:date>
    </item>
  </channel>
</rss>

