<?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: Raster creation help in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-creation-help/m-p/109564#M1525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;I have an elevation raster (Ras1) and a polygon of the surface of the potential reservoir formed by the dam and a 450m contour.&lt;BR /&gt;I used "extract by mask" to create a raster of the reservoir and reclassified this to a constant 450m (Ras2).&lt;BR /&gt;I am now trying to create a raster (Ras3) that is identical to Ras1 apart from the area covered by Ras2, which should take the Ras2 values (450)&lt;BR /&gt;&lt;BR /&gt;I have tried using raster calculator an con([Ras1] &amp;gt; 0, [Ras1], [Ras2]) but the output is identical to Ras2, with no data from Ras1.&lt;BR /&gt;&lt;BR /&gt;Where am I going wrong with this? and is this even a sensible method?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Tim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When using a formula in Spatial Analyst, you should take special care about the NoData values. Normally combining a value with a NoData value results in NoData.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To avoid this try the following formula:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Con ( IsNull ( [Ras2] ) , [Ras1] , [Ras2] )&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case it detects the NoData values and returns the values from [Ras1], other areas will be filled with the data from [Ras2]. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Further reading in &lt;/SPAN&gt;&lt;STRONG&gt;9.3&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Is_Null" rel="nofollow" target="_blank"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Is_Null&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=NoData_and_how_it_affects_analysis" rel="nofollow" target="_blank"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=NoData_and_how_it_affects_analysis&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Sep 2013 05:19:59 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2013-09-17T05:19:59Z</dc:date>
    <item>
      <title>Raster creation help</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-creation-help/m-p/109563#M1524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I apologise if this has been answered before, as it seem like quite a basic question but I couldnt find a solution. (9.3, ArcView license with spatial analyst and 3D analyst).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to calculate the volume of water that would be impounded by a hypothetical dam using cut/fill, and I am having trouble creating the "after" raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an elevation raster (Ras1) and a polygon of the surface of the potential reservoir formed by the dam and a 450m contour.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used "extract by mask" to create a raster of the reservoir and reclassified this to a constant 450m (Ras2).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am now trying to create a raster (Ras3) that is identical to Ras1 apart from the area covered by Ras2, which should take the Ras2 values (450)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried using raster calculator an con([Ras1] &amp;gt; 0, [Ras1], [Ras2]) but the output is identical to Ras2, with no data from Ras1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where am I going wrong with this? and is this even a sensible method?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once I have Ras3 I am assuming cut/fill with Ras1 as "before" and Ras3 as "after" will give me the volume&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found the volume using TIN polygon volume already but I want to compare it with the cut/fill method&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 13:52:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-creation-help/m-p/109563#M1524</guid>
      <dc:creator>TimJackson</dc:creator>
      <dc:date>2013-09-16T13:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Raster creation help</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-creation-help/m-p/109564#M1525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;I have an elevation raster (Ras1) and a polygon of the surface of the potential reservoir formed by the dam and a 450m contour.&lt;BR /&gt;I used "extract by mask" to create a raster of the reservoir and reclassified this to a constant 450m (Ras2).&lt;BR /&gt;I am now trying to create a raster (Ras3) that is identical to Ras1 apart from the area covered by Ras2, which should take the Ras2 values (450)&lt;BR /&gt;&lt;BR /&gt;I have tried using raster calculator an con([Ras1] &amp;gt; 0, [Ras1], [Ras2]) but the output is identical to Ras2, with no data from Ras1.&lt;BR /&gt;&lt;BR /&gt;Where am I going wrong with this? and is this even a sensible method?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Tim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When using a formula in Spatial Analyst, you should take special care about the NoData values. Normally combining a value with a NoData value results in NoData.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To avoid this try the following formula:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;Con ( IsNull ( [Ras2] ) , [Ras1] , [Ras2] )&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case it detects the NoData values and returns the values from [Ras1], other areas will be filled with the data from [Ras2]. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Further reading in &lt;/SPAN&gt;&lt;STRONG&gt;9.3&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Is_Null" rel="nofollow" target="_blank"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Is_Null&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=NoData_and_how_it_affects_analysis" rel="nofollow" target="_blank"&gt;http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=NoData_and_how_it_affects_analysis&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Xander&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 05:19:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-creation-help/m-p/109564#M1525</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2013-09-17T05:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Raster creation help</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-creation-help/m-p/109565#M1526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Xander, this worked perfectly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 07:52:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-creation-help/m-p/109565#M1526</guid>
      <dc:creator>TimJackson</dc:creator>
      <dc:date>2013-09-17T07:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Raster creation help</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-creation-help/m-p/109566#M1527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;10.x help links:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/009z/009z000000m8000000.htm"&gt;Is Null (Spatial Analyst)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z0000000m000000" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5;" title="http://resources.arcgis.com/en/help/main/10.2/index.html#//009z0000000m000000"&gt;Setting values to NoData with SetNull&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 16:34:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/raster-creation-help/m-p/109566#M1527</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-09-01T16:34:32Z</dc:date>
    </item>
  </channel>
</rss>

