<?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 How can I use Con in ArcGIS Pro?  in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205872#M9088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to implement Koppen's Climate classification on my map based on the amount of precipitation and temperature in US. The following is the criteria for B climate zones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1a1a1a; background-color: #ffffff;"&gt;"70% or more of annual precipitation falls in the summer half of the year and r less than 20t + 280, or 70% or more of annual precipitation falls in the winter half of the year and r less than 20t, or neither half of the year has 70% or more of annual precipitation and r less than 20t + 140&lt;SPAN style="font-size: 12px;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #1a1a1a; font-size: 12px; "&gt;What I did was that I used a modelbuilder to calculate&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;r less than 20t + 280,&amp;nbsp;&lt;SPAN&gt;r less than 20t, and&amp;nbsp;r less than 20t + 140, and then I tried to use Con tool to assign each one of these 3 if certain condition is true (70% or more of annual precipitation falls in the summer half of the year,&amp;nbsp;70% or more of annual precipitation falls in the winter half of the year&amp;nbsp;, and else).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #1a1a1a; font-size: 12px; "&gt;&lt;SPAN&gt;The picture below is my model. The one in the middle is where I did the calculation of 3 different values, and the one on the left if my Con expression for summer and the left one is my con expression for winter. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #1a1a1a; font-size: 12px; "&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #1a1a1a; font-size: 12px; "&gt;&lt;SPAN&gt;How can I do the "else" in Con tool?&amp;nbsp;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/506538_GIS CON.PNG" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Sep 2020 05:46:54 GMT</pubDate>
    <dc:creator>YoshikiYamaguchi</dc:creator>
    <dc:date>2020-09-08T05:46:54Z</dc:date>
    <item>
      <title>How can I use Con in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205872#M9088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to implement Koppen's Climate classification on my map based on the amount of precipitation and temperature in US. The following is the criteria for B climate zones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1a1a1a; background-color: #ffffff;"&gt;"70% or more of annual precipitation falls in the summer half of the year and r less than 20t + 280, or 70% or more of annual precipitation falls in the winter half of the year and r less than 20t, or neither half of the year has 70% or more of annual precipitation and r less than 20t + 140&lt;SPAN style="font-size: 12px;"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #1a1a1a; font-size: 12px; "&gt;What I did was that I used a modelbuilder to calculate&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;r less than 20t + 280,&amp;nbsp;&lt;SPAN&gt;r less than 20t, and&amp;nbsp;r less than 20t + 140, and then I tried to use Con tool to assign each one of these 3 if certain condition is true (70% or more of annual precipitation falls in the summer half of the year,&amp;nbsp;70% or more of annual precipitation falls in the winter half of the year&amp;nbsp;, and else).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #1a1a1a; font-size: 12px; "&gt;&lt;SPAN&gt;The picture below is my model. The one in the middle is where I did the calculation of 3 different values, and the one on the left if my Con expression for summer and the left one is my con expression for winter. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #1a1a1a; font-size: 12px; "&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #1a1a1a; font-size: 12px; "&gt;&lt;SPAN&gt;How can I do the "else" in Con tool?&amp;nbsp;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/506538_GIS CON.PNG" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2020 05:46:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205872#M9088</guid>
      <dc:creator>YoshikiYamaguchi</dc:creator>
      <dc:date>2020-09-08T05:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use Con in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205873#M9089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One idea that comes to mind is to use the Raster Calculator GP tool in your ModelBuilder.&amp;nbsp; In the Raster Calculator, create a nested CON statement as described in the following link &lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/spatial-analyst/conditional-evaluation-with-con.htm#ESRI_SECTION1_5B95B79898DA42AC8CBC1C1887BDD33E"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an example of three CON statements in a single statement:&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;OutRas = Con(InRas1 &amp;gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf;"&gt;23&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf;"&gt;5&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;, Con(InRas1 &amp;gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf;"&gt;20&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf;"&gt;12&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;, Con((InRas1 &amp;gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;) &amp;amp; (InRas1 &amp;lt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf;"&gt;17&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;), Sin(InRas1), &lt;/SPAN&gt;&lt;SPAN class="" style="color: #1c00cf;"&gt;100&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2020 22:15:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205873#M9089</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2020-09-08T22:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use Con in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205874#M9090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much! This is what I needed.&lt;/P&gt;&lt;P&gt;I think I got it working finally!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 03:39:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205874#M9090</guid>
      <dc:creator>YoshikiYamaguchi</dc:creator>
      <dc:date>2020-09-09T03:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use Con in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205875#M9091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK My result is still not showing the value for when it is false. Can you help me see what I did wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 expressions for when it is true and one for when it is false.&lt;/P&gt;&lt;P&gt;I want to return "Neithervalue" when it is false, but it is not displayed on my map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Con("%PRISM_ppt_30yr_normal_800mM2_annual_bil.bil%"*0.7 &amp;gt;=&amp;nbsp; "%PRISM_ppt_30yr_normal_800mM2_09_bil.bil%" + "%PRISM_ppt_30yr_normal_800mM2_08_bil.bil%" + "%PRISM_ppt_30yr_normal_800mM2_07_bil.bil%" + "%PRISM_ppt_30yr_normal_800mM2_06_bil.bil%" + "%PRISM_ppt_30yr_normal_800mM2_05_bil.bil%" + "%PRISM_ppt_30yr_normal_800mM2_04_bil.bil%" , "%Summervalue%",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Con("%PRISM_ppt_30yr_normal_800mM2_annual_bil.bil%" * 0.7 &amp;gt;= "%PRISM_ppt_30yr_normal_800mM2_03_bil.bil%" +"%PRISM_ppt_30yr_normal_800mM2_02_bil.bil%"&amp;nbsp; +"%PRISM_ppt_30yr_normal_800mM2_01_bil.bil%"&amp;nbsp; +"%PRISM_ppt_30yr_normal_800mM2_12_bil.bil%" +"%PRISM_ppt_30yr_normal_800mM2_11_bil.bil%" +"%PRISM_ppt_30yr_normal_800mM2_10_bil.bil%","%Wintervalue%",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"%Neithervalue%"))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 03:42:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205875#M9091</guid>
      <dc:creator>YoshikiYamaguchi</dc:creator>
      <dc:date>2020-09-09T03:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use Con in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205876#M9092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would using the ModelBuilder If-Then-Else Logical tools work for your workflow?&amp;nbsp; You can find more about the various logical tools &lt;A href="https://pro.arcgis.com/en/pro-app/help/analysis/geoprocessing/modelbuilder/if-then-else-branching-and-logical-tools.htm"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2020 21:37:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205876#M9092</guid>
      <dc:creator>Robert_LeClair</dc:creator>
      <dc:date>2020-09-10T21:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use Con in ArcGIS Pro?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205877#M9093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it&amp;nbsp; worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2020 02:13:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-use-con-in-arcgis-pro/m-p/205877#M9093</guid>
      <dc:creator>YoshikiYamaguchi</dc:creator>
      <dc:date>2020-09-14T02:13:15Z</dc:date>
    </item>
  </channel>
</rss>

