<?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: merege in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847718#M2014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaya -- you are missing the Collect Values "model only" tool to create a list to pass to the Merge tool. The way your model is structured now&amp;nbsp;runs Merge four times, overwriting your output each time. That's why you're only seeing the last one. If your model has any complexity to it at all you may want to put this iterating step into a submodel, and pipe the collected list as an output parameter to supply to Merge in your main model.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/modelbuilder-toolbox/examples-of-using-model-only-tools-in-modelbuilder.htm#GUID-9F197B15-27F6-46EA-BAC5-7A722C5A3C4E" title="http://desktop.arcgis.com/en/arcmap/latest/tools/modelbuilder-toolbox/examples-of-using-model-only-tools-in-modelbuilder.htm#GUID-9F197B15-27F6-46EA-BAC5-7A722C5A3C4E"&gt;Examples of using Model Only tools in ModelBuilder—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Feb 2018 03:27:06 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2018-02-04T03:27:06Z</dc:date>
    <item>
      <title>merege</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847715#M2011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using iterate feature class to merge shape files, set workspace, used wild card, selected feature type and checked recursive option to iterate through all subfolders in workspace. But the tool is using shape file present in last folder out of 4 folders in workspace. The model is attached. Please suggest me why the model is not considering shape files in first 3 subfolders.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 03:59:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847715#M2011</guid>
      <dc:creator>jayasudha</dc:creator>
      <dc:date>2018-02-01T03:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: merege</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847716#M2012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what your parameters are since you have none defined, but merge requires an output name in your case a shapefile name, and a list of features to merge together to save to it&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #4c4c4c; font-family: 'Consolas','Andale Mono','Lucida Console','Monaco',monospace; font-size: 17px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre-wrap; word-spacing: 0px; word-wrap: break-word;"&gt;Merge_management (inputs, output, {field_mappings})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So your inputs are derived from the names of the files in the iterator and the output should be a filename.&amp;nbsp; Expose the parameter&amp;nbsp;&lt;A href="http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/model-parameters.htm"&gt;http://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/model-parameters.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or if you want to use another option (not recommended), you can append the files to an existing file using the Append tool in the model&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 04:12:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847716#M2012</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-02-01T04:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: merege</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847717#M2013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks. I have used following settings in model. What parameters are to be defined and exposed ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c:\modeldata\&lt;BR /&gt; folder1\poi.shp&lt;BR /&gt; folder2\poi.shp&lt;BR /&gt; folder3\poi.shp&lt;BR /&gt; folder4\poi.shp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iterate feature class settings&lt;BR /&gt;-------------------------------&lt;BR /&gt;workspace=c:\modeldata&lt;BR /&gt;wildcard=poi*&lt;BR /&gt;recursive=checked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;merge tool settings&lt;BR /&gt;---------------------&lt;BR /&gt;input dataset: feature class link from iterator&lt;BR /&gt;output dataset: c:\modeldata\merge.shp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 06:16:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847717#M2013</guid>
      <dc:creator>jayasudha</dc:creator>
      <dc:date>2018-02-01T06:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: merege</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847718#M2014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaya -- you are missing the Collect Values "model only" tool to create a list to pass to the Merge tool. The way your model is structured now&amp;nbsp;runs Merge four times, overwriting your output each time. That's why you're only seeing the last one. If your model has any complexity to it at all you may want to put this iterating step into a submodel, and pipe the collected list as an output parameter to supply to Merge in your main model.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/modelbuilder-toolbox/examples-of-using-model-only-tools-in-modelbuilder.htm#GUID-9F197B15-27F6-46EA-BAC5-7A722C5A3C4E" title="http://desktop.arcgis.com/en/arcmap/latest/tools/modelbuilder-toolbox/examples-of-using-model-only-tools-in-modelbuilder.htm#GUID-9F197B15-27F6-46EA-BAC5-7A722C5A3C4E"&gt;Examples of using Model Only tools in ModelBuilder—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2018 03:27:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847718#M2014</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2018-02-04T03:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: merege</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847719#M2015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jaya, by the way it's not too late to rename your thread from "merege" to something like "Using an iterator with the Merge tool".&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just sayin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2018 03:41:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847719#M2015</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2018-02-04T03:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: merege</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847720#M2016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG class="" style="color: #8b8b8b; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 20.576px;"&gt;Curtis Price, Thank you.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 03:15:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merege/m-p/847720#M2016</guid>
      <dc:creator>jayasudha</dc:creator>
      <dc:date>2018-02-12T03:15:11Z</dc:date>
    </item>
  </channel>
</rss>

