<?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: Conditional expression for 2 rasters that intersect in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/conditional-expression-for-2-rasters-that/m-p/1597323#M94180</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/716749"&gt;@JohnEsch2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Using the Raster Calculator in ArcGIS Pro you can build map algebra expressions using your above logic.&lt;/P&gt;&lt;P&gt;Scenario 1 -&amp;nbsp; Con("FM1"&amp;gt;"FM2","FM1","FM2")&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if FM1 is greater than FM2 THAN assign a the value as FME1, else assign a value of FM2&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Scenario 2 -&amp;nbsp; Con("FM1"&amp;gt;"FM2","FM1","FM2"-50)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if FM1 is greater than FM2 THAN assign a the value as FME1, ELSE assign a value of FM2-50&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/conditional-evaluation-with-con.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/conditional-evaluation-with-con.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Give this a test and see if this produces the desired results&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 21:25:31 GMT</pubDate>
    <dc:creator>BrendanNewell</dc:creator>
    <dc:date>2025-03-19T21:25:31Z</dc:date>
    <item>
      <title>Conditional expression for 2 rasters that intersect</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/conditional-expression-for-2-rasters-that/m-p/1596125#M94068</link>
      <description>&lt;P&gt;I have 2 rasters that intersect vertically: &amp;nbsp;Fm1Top &amp;amp; Fm2Top. I most cases Fm1Top is above Fm2Top. In small areas Fm2Top has a higher elevation. I would like to build a Conditional expression:&lt;/P&gt;&lt;P&gt;If Fm1Top is greater than Fm2Top, use Fm1Top. If Fm1Top is less than Fm2Top, use Fm2Top&lt;/P&gt;&lt;P&gt;In in other cases I might want to use the above expression and subtract a value (ex 50) from Fm2Top if it is less than Fm1Top.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Mar 2025 15:42:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/conditional-expression-for-2-rasters-that/m-p/1596125#M94068</guid>
      <dc:creator>JohnEsch2</dc:creator>
      <dc:date>2025-03-17T15:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional expression for 2 rasters that intersect</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/conditional-expression-for-2-rasters-that/m-p/1597323#M94180</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/716749"&gt;@JohnEsch2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Using the Raster Calculator in ArcGIS Pro you can build map algebra expressions using your above logic.&lt;/P&gt;&lt;P&gt;Scenario 1 -&amp;nbsp; Con("FM1"&amp;gt;"FM2","FM1","FM2")&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if FM1 is greater than FM2 THAN assign a the value as FME1, else assign a value of FM2&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Scenario 2 -&amp;nbsp; Con("FM1"&amp;gt;"FM2","FM1","FM2"-50)&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if FM1 is greater than FM2 THAN assign a the value as FME1, ELSE assign a value of FM2-50&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/conditional-evaluation-with-con.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/conditional-evaluation-with-con.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Give this a test and see if this produces the desired results&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 21:25:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/conditional-expression-for-2-rasters-that/m-p/1597323#M94180</guid>
      <dc:creator>BrendanNewell</dc:creator>
      <dc:date>2025-03-19T21:25:31Z</dc:date>
    </item>
  </channel>
</rss>

