<?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: Nesting Iterators in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/nesting-iterators/m-p/757610#M24724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't have any recent experience w/ looping in model builder, but my feeling is you might be hitting up against ModelBuilder's limitations here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This sounds like a job for Python...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Nov 2010 16:54:09 GMT</pubDate>
    <dc:creator>ChrisSnyder</dc:creator>
    <dc:date>2010-11-23T16:54:09Z</dc:date>
    <item>
      <title>Nesting Iterators</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/nesting-iterators/m-p/757609#M24723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having trouble nesting 2 iterators.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tax parcels that are categorized by the type of destination (grocery store, bank etc....). My study subjects are in a point file and in another file, I have polygons that are buffers (sometimes network buffers, sometimes simple circles) around each study subject.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For each individual study subject, I want to select all the parcels that are in that study subject's buffer, then I'll use NEAR to calculate the distance from the study subject to each of the selected parcels.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I have two iterators.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Iterate feature selection - this iterates through the buffer file and selects each buffer (I can also use the value from this process to select the related study subject)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Iterate field values - this iterates through the types of destinations (grocery, bank etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to loop as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Select one buffer/subject pair&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Select one destination group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--calculate NEAR (which also means adding fields,calculating values, converting to layers and whatnot)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Repeat for all of the destinations (for the first buffer subject pair)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Repeat for the next buffer/subject pair&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and so on&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I can only use one iterator for each model, I've tried lots of combinations of submodels, but I still end up with the first iterator running completely through ALL of the iterators before it starts doing the second iterator.&amp;nbsp; So, in essence, they aren't nested, one does all of its business before the next one starts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've included jpg's of the current incarnation of my model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any thoughts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Heather Carlos&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 14:09:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/nesting-iterators/m-p/757609#M24723</guid>
      <dc:creator>HeatherCarlos</dc:creator>
      <dc:date>2010-11-23T14:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Nesting Iterators</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/nesting-iterators/m-p/757610#M24724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't have any recent experience w/ looping in model builder, but my feeling is you might be hitting up against ModelBuilder's limitations here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This sounds like a job for Python...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 16:54:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/nesting-iterators/m-p/757610#M24724</guid>
      <dc:creator>ChrisSnyder</dc:creator>
      <dc:date>2010-11-23T16:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nesting Iterators</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/nesting-iterators/m-p/757611#M24725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: csny490&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have any recent experience w/ looping in model builder, but my feeling is you might be hitting up against ModelBuilder's limitations here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This sounds like a job for Python...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 17:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/nesting-iterators/m-p/757611#M24725</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-11-23T17:29:20Z</dc:date>
    </item>
  </channel>
</rss>

