<?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 Merging two raster layers in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027168#M25183</link>
    <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on ArcGIS Pro and trying to combine two raster datasets - one contains five different rivers and the other shows land cover. I've been using the "Mosaic to New Raster" tool which works great - except since one river and one land class type have the same attribute value of 36, they are grouped together in the new raster when I need them to be categorized separately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2021 14:54:45 GMT</pubDate>
    <dc:creator>COLINGUILFOYLE</dc:creator>
    <dc:date>2021-02-16T14:54:45Z</dc:date>
    <item>
      <title>Merging two raster layers</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027168#M25183</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on ArcGIS Pro and trying to combine two raster datasets - one contains five different rivers and the other shows land cover. I've been using the "Mosaic to New Raster" tool which works great - except since one river and one land class type have the same attribute value of 36, they are grouped together in the new raster when I need them to be categorized separately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 14:54:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027168#M25183</guid>
      <dc:creator>COLINGUILFOYLE</dc:creator>
      <dc:date>2021-02-16T14:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two raster layers</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027171#M25184</link>
      <description>&lt;P&gt;try using &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/combine.htm" target="_self"&gt;Combine&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 15:10:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027171#M25184</guid>
      <dc:creator>SteveLynch</dc:creator>
      <dc:date>2021-02-16T15:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two raster layers</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027182#M25186</link>
      <description>I have tried Combine but only the rivers seem to display in the output, no land cover.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Feb 2021 16:15:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027182#M25186</guid>
      <dc:creator>COLINGUILFOYLE</dc:creator>
      <dc:date>2021-02-16T16:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two raster layers</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027212#M25187</link>
      <description>&lt;P&gt;Combine should produce a new raster with the unique combinations of the classes in both rasters.&lt;/P&gt;&lt;P&gt;If you want to see your "rivers" on top of your "land cover" then you will have to use&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/con-.htm" target="_blank"&gt;Con (Spatial Analyst)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now, hopefully your "rivers" layer is classed as "river" and "nodata" otherwise you will have to use SetNull to make it so.&lt;/P&gt;&lt;P&gt;Alternately, you can go back to the combine result and reclass the data so that any combination that contains "river" gets classes as such&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 17:15:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027212#M25187</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-02-16T17:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two raster layers</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027233#M25188</link>
      <description>&lt;P&gt;I ended up merging them as polygons and then converting to rasters which seems to have worked well enough - I'm interested to know how you wanted me to use to Con tool however, but I wasn't able to follow your instructions, it may make sense if I show the attribute table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="COLINGUILFOYLE_0-1613497428100.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6143i7A8036F440E652C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="COLINGUILFOYLE_0-1613497428100.png" alt="COLINGUILFOYLE_0-1613497428100.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the attribute table from the combined rasters - each number under "RoadCORINE" represents a unique land use type, while each number under "RasterRiver_CopyRaster1" is a unique river. The output looks like below, where only rivers show (they should be surrounded by other land use types).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="COLINGUILFOYLE_1-1613497634210.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6144i2026F0AC1619E4DC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="COLINGUILFOYLE_1-1613497634210.png" alt="COLINGUILFOYLE_1-1613497634210.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hopefully this helps.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 17:48:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027233#M25188</guid>
      <dc:creator>COLINGUILFOYLE</dc:creator>
      <dc:date>2021-02-16T17:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Merging two raster layers</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027249#M25189</link>
      <description>&lt;P&gt;what were the values surrounding the rivers?&amp;nbsp; If they had a value other than nodata, you have to adjust for it in the con statement.&amp;nbsp; Landcover isn't going to show through unless it is nodata on top&lt;/P&gt;&lt;P&gt;In pseudo code&lt;/P&gt;&lt;P&gt;Con("river", "river", "landcover")&amp;nbsp; meaning if the river is data, then use river, if there is no data, then use landcover.&lt;/P&gt;&lt;P&gt;but if the area surround your rivers has a value of '0' and '0' isn't nodata, then all you will see is what was in the river layer.&amp;nbsp; (in which case you could just add the layers together and the land would shine through, but your rivers would have a different class value)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2021 18:39:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/merging-two-raster-layers/m-p/1027249#M25189</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-02-16T18:39:25Z</dc:date>
    </item>
  </channel>
</rss>

