<?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 Combining interators with submodels. in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/combining-interators-with-submodels/m-p/381996#M4098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have two geodatabases: one with 20 line layers (pipelines), and one with 20 polygon layers (stripmap). I would like to use model builder to take the first line layer and intersect it with the first polygon layer. Then take the second line layer and intersect it with the second polygon layer, and so on. My output should therefore be 20 layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used two iterators to do this, by creating a submodel (see attached), but when I run it, only 1 layer is created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read through the similar question posed here:&amp;nbsp;&lt;A href="https://community.esri.com/thread/57519"&gt;Two iterators in modelbuilder&lt;/A&gt;&amp;nbsp;, but it has not helped resolve my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2017 14:55:00 GMT</pubDate>
    <dc:creator>SallyRouse</dc:creator>
    <dc:date>2017-02-23T14:55:00Z</dc:date>
    <item>
      <title>Combining interators with submodels.</title>
      <link>https://community.esri.com/t5/mapping-questions/combining-interators-with-submodels/m-p/381996#M4098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have two geodatabases: one with 20 line layers (pipelines), and one with 20 polygon layers (stripmap). I would like to use model builder to take the first line layer and intersect it with the first polygon layer. Then take the second line layer and intersect it with the second polygon layer, and so on. My output should therefore be 20 layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used two iterators to do this, by creating a submodel (see attached), but when I run it, only 1 layer is created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have read through the similar question posed here:&amp;nbsp;&lt;A href="https://community.esri.com/thread/57519"&gt;Two iterators in modelbuilder&lt;/A&gt;&amp;nbsp;, but it has not helped resolve my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 14:55:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/combining-interators-with-submodels/m-p/381996#M4098</guid>
      <dc:creator>SallyRouse</dc:creator>
      <dc:date>2017-02-23T14:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Combining interators with submodels.</title>
      <link>https://community.esri.com/t5/mapping-questions/combining-interators-with-submodels/m-p/381997#M4099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why first polygon with first line?&lt;/P&gt;&lt;P&gt;Do&amp;nbsp;you mean OBJECTID 1 with OBJECTID 1?&lt;/P&gt;&lt;P&gt;If so&lt;/P&gt;&lt;P&gt;You can add &lt;STRONG&gt;Get Field value&lt;/STRONG&gt; and &lt;STRONG&gt;Select By Attribute.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Just get the OBJECTID field value , then use this value to select by attribute the same OBJECTID feature in another feature class .&lt;/P&gt;&lt;P&gt;Then do intersect tool and get the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 18:13:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/combining-interators-with-submodels/m-p/381997#M4099</guid>
      <dc:creator>AbdullahAnter</dc:creator>
      <dc:date>2017-02-23T18:13:34Z</dc:date>
    </item>
  </channel>
</rss>

