<?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: Using iterative Model Builder outputs in raster calculator in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-iterative-model-builder-outputs-in-raster/m-p/236277#M3302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Helen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try and see if you can make the interim raster files as intermediate data (right click the model element &amp;gt; Intermediate), then you can put them in a scratch workspace or in-memory workspace, and can delete them manually afterwards by clicking Model menu &amp;gt; Delete Intermediate Data&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A quick tour of managing intermediate data:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_managing_intermediate_data/002w0000000z000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_managing_intermediate_data/002w0000000z000000/&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Deleting intermediate data:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Deleting_intermediate_data/002w00000039000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Deleting_intermediate_data/002w00000039000000/&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But you probably can run the Viewshed tool directly without model builder if you goal is to add all the single-observer viewshed results together in the end. The Viewshed tool can accept multiple observer points as input.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;�??The output will only record the number of times that each cell location in the input surface raster can be seen by the input observation points (or vertices for polylines). The observation frequency will be recorded in the VALUE item in the output raster's attribute table.�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Viewshed: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//009z000000v3000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//009z000000v3000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure if there is a special reason you have to go through the iteration in model builder. But just to make sure you know about it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kailai&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2012 22:47:26 GMT</pubDate>
    <dc:creator>KailaiZhang</dc:creator>
    <dc:date>2012-11-20T22:47:26Z</dc:date>
    <item>
      <title>Using iterative Model Builder outputs in raster calculator</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-iterative-model-builder-outputs-in-raster/m-p/236274#M3299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to create a very large cumulative viewshed using the model builder. So far my model takes multiple observer points and uses them to create lots of outputs. This seems to work fine and I end up with lots of viewshed files in my directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]17574[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The next stage I wanted to do was to add all of those outputs together in raster calculator to make one single cumulative viewshed. Is there a way of automating this in ModelBuilder or is there a better way of achieving this? Better still, is there a way that will end up with a single output, without creating all those interim viewshed files?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hen&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 15:32:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-iterative-model-builder-outputs-in-raster/m-p/236274#M3299</guid>
      <dc:creator>HelenGoodchild</dc:creator>
      <dc:date>2012-09-10T15:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using iterative Model Builder outputs in raster calculator</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-iterative-model-builder-outputs-in-raster/m-p/236275#M3300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Helen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For ArcGIS 10 or above, you can use the Collect Values tool to collect the Viewshed outputs from the iterator and then use tools like Cell Statistics to add them up. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Collect Values tool is under Insert on the Model Builder Window &amp;gt; Model Only Tools &amp;gt; Collect Values&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Accessing Model Only tools: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002w00000066000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//002w00000066000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Collect Values: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//004000000005000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//004000000005000000&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kailai&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2012 16:55:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-iterative-model-builder-outputs-in-raster/m-p/236275#M3300</guid>
      <dc:creator>KailaiZhang</dc:creator>
      <dc:date>2012-09-10T16:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using iterative Model Builder outputs in raster calculator</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-iterative-model-builder-outputs-in-raster/m-p/236276#M3301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I saw Collect Values but couldn't quite twig that cell statistics would replace the raster calculator! Works perfectly. The only real problem is that it will create thousands of interim raster files which I ultimately don't want. I guess there's no real way around that one as they are needed for the stats part...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 13:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-iterative-model-builder-outputs-in-raster/m-p/236276#M3301</guid>
      <dc:creator>HelenGoodchild</dc:creator>
      <dc:date>2012-09-11T13:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using iterative Model Builder outputs in raster calculator</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-iterative-model-builder-outputs-in-raster/m-p/236277#M3302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Helen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please try and see if you can make the interim raster files as intermediate data (right click the model element &amp;gt; Intermediate), then you can put them in a scratch workspace or in-memory workspace, and can delete them manually afterwards by clicking Model menu &amp;gt; Delete Intermediate Data&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A quick tour of managing intermediate data:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_managing_intermediate_data/002w0000000z000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/A_quick_tour_of_managing_intermediate_data/002w0000000z000000/&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Deleting intermediate data:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Deleting_intermediate_data/002w00000039000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Deleting_intermediate_data/002w00000039000000/&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But you probably can run the Viewshed tool directly without model builder if you goal is to add all the single-observer viewshed results together in the end. The Viewshed tool can accept multiple observer points as input.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;�??The output will only record the number of times that each cell location in the input surface raster can be seen by the input observation points (or vertices for polylines). The observation frequency will be recorded in the VALUE item in the output raster's attribute table.�?�&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Viewshed: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//009z000000v3000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//009z000000v3000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure if there is a special reason you have to go through the iteration in model builder. But just to make sure you know about it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kailai&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 22:47:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-iterative-model-builder-outputs-in-raster/m-p/236277#M3302</guid>
      <dc:creator>KailaiZhang</dc:creator>
      <dc:date>2012-11-20T22:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using iterative Model Builder outputs in raster calculator</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-iterative-model-builder-outputs-in-raster/m-p/236278#M3303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Kailai,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was stuck with a similar problem and found your post very useful.&amp;nbsp; Using the Collect Values tool to collect raster outputs from an iterator and then use the tool Cell Statistics to sum up the results, was my solution so far. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, now I ran into the next problem: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do have many large input shape files, which I need to process separately with a model using a feature iterator and then, as u described above,&amp;nbsp; using Collect Values and Cell Statistics. I used to do this with the batch processing function (&lt;/SPAN&gt;&lt;A href="http://www.lib.uoguelph.ca/resources/data_resource_centre/help_&amp;amp;_learning_resources/geospatial_help/components/documents/batch_tools_arcgis_10.pdf"&gt;http://www.lib.uoguelph.ca/resources/data_resource_centre/help_&amp;amp;_learning_resources/geospatial_help/components/documents/batch_tools_arcgis_10.pdf&lt;/A&gt;&lt;SPAN&gt;). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the cell statistics tool does not allow me edit the output location within the batch dialogue box (after right clicking on the model, batch). Thus, I cannot run the model on several input files. I guess it is a buck of the combination of cell statistics and collect values. Only the combination of those 2 tools resulted in this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wonder if you know any solution of my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Potential solution could be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Fixing the problem with the output location within the batch dialogue box.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Substituting the combination of cell statistics and collect values by anything else resulting in the same outcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Using any other possible way to run a feature iterator on several feature classes (something like a nested iterator)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MGR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 16:44:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/using-iterative-model-builder-outputs-in-raster/m-p/236278#M3303</guid>
      <dc:creator>PSch</dc:creator>
      <dc:date>2013-02-07T16:44:59Z</dc:date>
    </item>
  </channel>
</rss>

