<?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: Merging features after iteration in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829371#M3577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wes - I do make sure that I've cleared selected BEFORE running the model if that is what you mean.&amp;nbsp; As I said, if I remove the merges at the end, the model creates the individual layers (~150 x 6) perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2015 14:01:20 GMT</pubDate>
    <dc:creator>JosephCandella</dc:creator>
    <dc:date>2015-09-14T14:01:20Z</dc:date>
    <item>
      <title>Merging features after iteration</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829369#M3575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me start with an apology.&amp;nbsp; This is actually my first attempt at model creation so it is likely one of the ugliest in the known universe.&lt;/P&gt;&lt;P&gt;With that said, what I've done is created the model to iterate through a layer containing a few hundred observer points.&amp;nbsp; It then creates view sheds and "non-view sheds" for a given point at three distances.&amp;nbsp; This part works fine and creates a separate layer for each view shed/distance combination (which I need).&amp;nbsp; However, I also need a layer which contains ALL view shed (and non) at all 3 distances and a final layer which combines everything.&amp;nbsp; I'm attempting to do this with a merge (seen below) which doesn't work.&amp;nbsp; I've also attempted this using an append but the result is consistently a layer with only one record (the final record in the iteration process).&amp;nbsp; I can do the merge manually after the view shed process but the merge takes a significant amount of time.&amp;nbsp; I am hoping that conducting the merge/append as part of this process will speed things up somewhat.&lt;/P&gt;&lt;P&gt;I've searched around for solutions and haven't managed to find anything that directly applies.&amp;nbsp; Any help would be greatly appreciated.&lt;IMG alt="Model.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/126799_Model.jpg" style="width: 620px; height: 155px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 13:29:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829369#M3575</guid>
      <dc:creator>JosephCandella</dc:creator>
      <dc:date>2015-09-14T13:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Merging features after iteration</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829370#M3576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you clear anything selected? It sounds like to me that you have something selected or not all you want is selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 13:38:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829370#M3576</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2015-09-14T13:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Merging features after iteration</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829371#M3577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wes - I do make sure that I've cleared selected BEFORE running the model if that is what you mean.&amp;nbsp; As I said, if I remove the merges at the end, the model creates the individual layers (~150 x 6) perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 14:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829371#M3577</guid>
      <dc:creator>JosephCandella</dc:creator>
      <dc:date>2015-09-14T14:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Merging features after iteration</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829372#M3578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think i see it now does your merge correspond to the results of your final iteration? If this is the case you may have to set a precondition for your merges to the final iteration(i'm not sure how to do that part) or you could create a separate model that does the merge after the original model finishes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 20:33:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829372#M3578</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2015-09-14T20:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Merging features after iteration</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829373#M3579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you looked into using a &lt;A href="https://desktop.arcgis.com/en/desktop/latest/analyze/modelbuilder/integrating-model-within-a-model.htm"&gt;submodel&lt;/A&gt;? I believe the example under "Advanced Use of Model Iterators" should point you in the right direction (i.e. run your iterator model, which feeds everything into a single variable for input into Merge in your main model).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll just add that using iterators is really a clue that it may be time to take the plunge into Python, which makes iterating &lt;EM&gt;so&lt;/EM&gt; much simpler.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 21:15:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829373#M3579</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-09-14T21:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Merging features after iteration</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829374#M3580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Wes - That does make sense.&amp;nbsp; I've been playing around with preconditions but haven't found the right way to make it work in this model.&amp;nbsp; The reason(s) I was shying away from a final wholesale merge at the end was that I will have several hundred layers to be merged.&amp;nbsp; I'm unsure how to designate those multiple layers without naming ALL of them (which is unwieldy).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 12:36:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829374#M3580</guid>
      <dc:creator>JosephCandella</dc:creator>
      <dc:date>2015-09-15T12:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Merging features after iteration</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829375#M3581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Darren.&amp;nbsp; I have looked into submodels and had gone over that example.&amp;nbsp; Mine was repeatedly erroring out when I first tried.&amp;nbsp; However I've learned more since then and may need to revisit.&amp;nbsp; I had also tried a submodel with an append but couldn't figure out how to start the append part only AFTER the first iteration had created a layer file.&lt;/P&gt;&lt;P&gt;I will also check into python.&amp;nbsp; I have very limited scripting experience but possibly it's time to expand my knowledge.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 12:39:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829375#M3581</guid>
      <dc:creator>JosephCandella</dc:creator>
      <dc:date>2015-09-15T12:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Merging features after iteration</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829376#M3582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joseph, like &lt;A _jive_internal="true" href="https://community.esri.com/people/dkwiens"&gt;Darren Wiens&lt;/A&gt;​ says this may be a good time to think python you could then construct a list of the feature classes to merge at the end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 12:40:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/merging-features-after-iteration/m-p/829376#M3582</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2015-09-15T12:40:06Z</dc:date>
    </item>
  </channel>
</rss>

