<?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: Looking for a comparison tool, opposite to Diff in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/looking-for-a-comparison-tool-opposite-to-diff/m-p/761312#M1538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used raster calculator with this statement and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Con("Raster_1" == "Raster_2","Raster_1",0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ame&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jul 2018 08:16:50 GMT</pubDate>
    <dc:creator>AmericaZelada</dc:creator>
    <dc:date>2018-07-31T08:16:50Z</dc:date>
    <item>
      <title>Looking for a comparison tool, opposite to Diff</title>
      <link>https://community.esri.com/t5/arcmap-questions/looking-for-a-comparison-tool-opposite-to-diff/m-p/761310#M1536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two rasters, and I'm looking to perform a pixel-by-pixel comparison.&lt;/P&gt;&lt;P&gt;If Raster A = Raster B, I want the output to be the value of Raster A (or B).&lt;/P&gt;&lt;P&gt;If they are different I want the output to be NaN, or 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I need the opposite of Diff:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #4d4d4d; font-family: 'Lucida Grande','Segoe UI','Arial',sans-serif; font-size: 13.93px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 23.82px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;If the values on the two inputs are &lt;SPAN style="text-decoration: line-through;"&gt;different&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt; (EQUAL), &lt;/SPAN&gt;the value on the first input is output. If the values on the two inputs are&lt;SPAN style="text-decoration: line-through;"&gt; the same &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;(DIFFERENT)&lt;/SPAN&gt;, the output is 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;I used raster calculator with this statement and it worked.&lt;/P&gt;&lt;P style="background-color: transparent; border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #3d3d3d; font-family: arial,helvetica,&amp;amp;quot; helvetica neue&amp;amp;quot;,verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none #3d3d3d;"&gt;Con("Raster_1" == "Raster_2","Raster_1",0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 07:49:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/looking-for-a-comparison-tool-opposite-to-diff/m-p/761310#M1536</guid>
      <dc:creator>AmericaZelada</dc:creator>
      <dc:date>2018-07-31T07:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a comparison tool, opposite to Diff</title>
      <link>https://community.esri.com/t5/arcmap-questions/looking-for-a-comparison-tool-opposite-to-diff/m-p/761311#M1537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/image-analyst/an-overview-of-the-conditional-math-tools-in-image-analyst.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/image-analyst/an-overview-of-the-conditional-math-tools-in-image-analyst.htm"&gt;An overview of the Conditional math toolset—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;provides several tools for condition checking.&amp;nbsp; They can be used in combination if needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/image-analyst/set-null.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/image-analyst/set-null.htm"&gt;Set Null—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/image-analyst/setting-cell-values-to-nodata-with-setnull.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/image-analyst/setting-cell-values-to-nodata-with-setnull.htm"&gt;Setting values to NoData with Set Null—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The examples should help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to look at the&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/image-analyst/conditional-evaluation-with-con.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/image-analyst/conditional-evaluation-with-con.htm"&gt;Conditional evaluation with Con—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 08:01:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/looking-for-a-comparison-tool-opposite-to-diff/m-p/761311#M1537</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-31T08:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a comparison tool, opposite to Diff</title>
      <link>https://community.esri.com/t5/arcmap-questions/looking-for-a-comparison-tool-opposite-to-diff/m-p/761312#M1538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used raster calculator with this statement and it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Con("Raster_1" == "Raster_2","Raster_1",0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ame&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 08:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/looking-for-a-comparison-tool-opposite-to-diff/m-p/761312#M1538</guid>
      <dc:creator>AmericaZelada</dc:creator>
      <dc:date>2018-07-31T08:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a comparison tool, opposite to Diff</title>
      <link>https://community.esri.com/t5/arcmap-questions/looking-for-a-comparison-tool-opposite-to-diff/m-p/761313#M1539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good... There are a lot of similar answers on geonet that can be found once the key terms are known.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 08:34:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/looking-for-a-comparison-tool-opposite-to-diff/m-p/761313#M1539</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-07-31T08:34:51Z</dc:date>
    </item>
  </channel>
</rss>

