<?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: Combine and Intersect two rasters in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565608#M8174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it worked!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Sep 2016 16:43:14 GMT</pubDate>
    <dc:creator>JayantaPoddar</dc:creator>
    <dc:date>2016-09-29T16:43:14Z</dc:date>
    <item>
      <title>Combine and Intersect two rasters</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565602#M8168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi GIS users,&lt;/P&gt;&lt;P&gt;I have two different rasters as below&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/236075_pastedImage_2.png" /&gt;First raster&amp;nbsp;shows all green&amp;nbsp;pixels, and&amp;nbsp;second raster shows other color&amp;nbsp;pixels.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to delete pixels if the pixels are located out of green pixels.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use clip and mask tools, but I could not delete those pixels.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What tool should I used to solve this problem?&lt;/P&gt;&lt;P&gt;Please help me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 02:46:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565602#M8168</guid>
      <dc:creator>GwanSeonKim</dc:creator>
      <dc:date>2016-09-29T02:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Combine and Intersect two rasters</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565603#M8169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The con tool&amp;nbsp;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/con-.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/con-.htm"&gt;Con—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and read the notations&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/conditional-evaluation-with-con.htm" title="http://desktop.arcgis.com/en/arcmap/latest/tools/spatial-analyst-toolbox/conditional-evaluation-with-con.htm"&gt;Conditional evaluation with Con—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 02:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565603#M8169</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-29T02:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Combine and Intersect two rasters</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565604#M8170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much your response.&lt;/P&gt;&lt;P&gt;I tried used code that Con(("Raster_A" == 1) &amp;amp; ("Raster_B" == 1), 1, 0), and it works OK.&lt;/P&gt;&lt;P&gt;In Raster_A, I have 3 different objectives as shown in attached&amp;nbsp;picture (pixels with Orange, Brown, and Purple colors).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like&amp;nbsp;to keep 3 different objectives in Raster_A and just delete pixels if pixels are not located within Raster_B.&lt;/P&gt;&lt;P&gt;I tried to use Con(("Raster_A" == 1) &amp;amp; ("Raster_A" == 2) &amp;amp;&amp;nbsp;&lt;SPAN&gt;("Raster_A" == 3) &amp;amp;&lt;/SPAN&gt; ("Raster_B" == 1), 2, 1, 0), but it gives me an error message. Do you have any ideas to deal with this problem?&lt;/P&gt;&lt;P&gt;Thanks again.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 03:28:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565604#M8170</guid>
      <dc:creator>GwanSeonKim</dc:creator>
      <dc:date>2016-09-29T03:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Combine and Intersect two rasters</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565605#M8171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Con(("Raster_A" == 1) &lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt; ("Raster_A" == 2) &lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt; ("Raster_A" == 3) &lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt; ("Raster_B" == 1), 2, 1, 0)&lt;/P&gt;&lt;P&gt;why not if raster_A is &amp;lt;= 3. &amp;nbsp;Also a cell cannot be class 1, 2, 3 all at once which you mean when using&amp;nbsp;&lt;STRONG&gt;&amp;amp; &lt;/STRONG&gt;you want 'or' specifically boolean or, not bitwise or &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-spatial-analyst/boolean-or-operator.htm" title="http://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-spatial-analyst/boolean-or-operator.htm"&gt;|—Spatial Analyst module | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp; that is what &lt;STRONG&gt;| &lt;/STRONG&gt;is... it isn't a big i&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 03:34:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565605#M8171</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-09-29T03:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Combine and Intersect two rasters</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565606#M8172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens if you write the following expression in Raster Calculator?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Con(("RASTER1"&amp;nbsp;&amp;gt; 0), "RASTER2", 0)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;where RASTER1 = Green Raster&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Raster2 = Multicolour Raster&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If required, you can set the NoData Value as 0 in tool Environment setting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 08:33:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565606#M8172</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2016-09-29T08:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Combine and Intersect two rasters</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565607#M8173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works perfectly.&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 13:16:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565607#M8173</guid>
      <dc:creator>GwanSeonKim</dc:creator>
      <dc:date>2016-09-29T13:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Combine and Intersect two rasters</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565608#M8174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it worked!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 16:43:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/combine-and-intersect-two-rasters/m-p/565608#M8174</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2016-09-29T16:43:14Z</dc:date>
    </item>
  </channel>
</rss>

