<?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 multiply two rasters but ignore no data values from first raster in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/multiply-two-rasters-but-ignore-no-data-values/m-p/447570#M25621</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another, less elegant, method to obtain the output of the conditional statement above would be to reclassify NoData values to 0 in your two rasters. The tool is in Spatial Analyst Tools/Reclass/Reclassify.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In both cases the output will not be the one that you provide I guess, in the sense that you will have 0 values instead of the NoData that you show in your PDF, but you should be able to output NoData values when both inputs are NoData by building another structure of conditional statement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cedric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Apr 2010 19:25:46 GMT</pubDate>
    <dc:creator>CedricWannaz</dc:creator>
    <dc:date>2010-04-21T19:25:46Z</dc:date>
    <item>
      <title>multiply two rasters but ignore no data values from first raster</title>
      <link>https://community.esri.com/t5/data-management-questions/multiply-two-rasters-but-ignore-no-data-values/m-p/447569#M25620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Attached is a pdf depicting what I need to do with 2 raster layers.&amp;nbsp; This has to be an easy task but I can't find a tool that won't combine all the no data cells in the output raster.&amp;nbsp; For example, if a cell in raster 1 is 'no data' and the associated cell in raster 2 has a value of '8', I want that cell in the output file to be 8.&amp;nbsp; All the tools I looked at would assign that cell as 'no data'.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 17:48:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/multiply-two-rasters-but-ignore-no-data-values/m-p/447569#M25620</guid>
      <dc:creator>JoannaWhittier</dc:creator>
      <dc:date>2010-04-21T17:48:49Z</dc:date>
    </item>
    <item>
      <title>multiply two rasters but ignore no data values from first raster</title>
      <link>https://community.esri.com/t5/data-management-questions/multiply-two-rasters-but-ignore-no-data-values/m-p/447570#M25621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Another, less elegant, method to obtain the output of the conditional statement above would be to reclassify NoData values to 0 in your two rasters. The tool is in Spatial Analyst Tools/Reclass/Reclassify.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In both cases the output will not be the one that you provide I guess, in the sense that you will have 0 values instead of the NoData that you show in your PDF, but you should be able to output NoData values when both inputs are NoData by building another structure of conditional statement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cedric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 19:25:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/multiply-two-rasters-but-ignore-no-data-values/m-p/447570#M25621</guid>
      <dc:creator>CedricWannaz</dc:creator>
      <dc:date>2010-04-21T19:25:46Z</dc:date>
    </item>
    <item>
      <title>multiply two rasters but ignore no data values from first raster</title>
      <link>https://community.esri.com/t5/data-management-questions/multiply-two-rasters-but-ignore-no-data-values/m-p/447571#M25622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Apr 2010 21:19:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/multiply-two-rasters-but-ignore-no-data-values/m-p/447571#M25622</guid>
      <dc:creator>JoannaWhittier</dc:creator>
      <dc:date>2010-04-21T21:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: multiply two rasters but ignore no data values from first raster</title>
      <link>https://community.esri.com/t5/data-management-questions/multiply-two-rasters-but-ignore-no-data-values/m-p/447572#M25623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-family:Courier New;"&gt;Con( IsNull( [Raster1] ), 0, [Raster1] ) + Con( IsNull( [Raster2] ), 0, [Raster2] )&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;will do it.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where do I use that conditional statement?&amp;nbsp; I do not do python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reclassify suggestion offered will not work for me, as it will not preserve the unique values of all the other cells, it will lump them into a small set of new values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 14:15:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/multiply-two-rasters-but-ignore-no-data-values/m-p/447572#M25623</guid>
      <dc:creator>GaryYoung</dc:creator>
      <dc:date>2010-12-22T14:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: multiply two rasters but ignore no data values from first raster</title>
      <link>https://community.esri.com/t5/data-management-questions/multiply-two-rasters-but-ignore-no-data-values/m-p/447573#M25624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For multiplication is that command OK, Or it's for adding two raster?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Con( IsNull( [Raster1] ), 0, [Raster1] ) + Con( IsNull( [Raster2] ), 0, [Raster2] )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For Multiply we should use the * (multiplication) Symbol as normal math, isn't it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the expression may be this one if I am not wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 'Con( IsNull( [Raster1] ), 0, [Raster1] ) * Con( IsNull( [Raster2] ), 0, [Raster2] )'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regrads,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Najnin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 11:57:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/multiply-two-rasters-but-ignore-no-data-values/m-p/447573#M25624</guid>
      <dc:creator>ArfanaraNajnin</dc:creator>
      <dc:date>2014-01-14T11:57:26Z</dc:date>
    </item>
  </channel>
</rss>

