<?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: Connecting information from 2 rasters to 1 raster. in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/connecting-information-from-2-rasters-to-1-raster/m-p/109063#M6250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: helyxsisltd&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't promise it's the most efficient method, but you could set up a model that effectively does the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With your water raster, use the Set Null tool in the Conditional toolset to set the value zero (not water) to null. Then use the Times tool in the Math Toolset to multiply by 9 (so giving "Raster W" where water = 9 and other = NoData)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With your class raster ("Raster C"), apply these tools from the Math Toolset in the following order:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IsNull, Boolean Not, Plus 1 (so giving "Raster P" where cells have a value 1 where "Raster C" held NoData and 2 where the "Raster C" held a value)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now use Pick in the Conditional toolset as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pick("Raster P", "Raster W", "Raster C")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Pick tool will choose from Raster W wherever Raster C is NoData or from Raster C wherever it holds a value already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Convoluted, I know. Maybe there's a much simpler way...?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 May 2013 12:46:30 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2013-05-03T12:46:30Z</dc:date>
    <item>
      <title>Connecting information from 2 rasters to 1 raster.</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-information-from-2-rasters-to-1-raster/m-p/109062#M6249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: lukasz_tom&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm looking for my problem's solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got 2 rasters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;one - with classification's output (*.tif - multiple value: 0-9):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23989[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and one - with classification of water's output (*.tif - value: 0-1):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23990[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to insert information from second raster to first raster. I mean:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if in pixel on first raster is NoData value and on second raster value in this the same pixel = 1, then value on output raster = 9 (Water ID), but if not - value from first raster in this pixel.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eventually i want to obtain this result in on image:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]23991[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another step, which I want to obtain is fill all remaining NoData pixels value = 2 (Ground ID).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know how solves this problem? I try to use Raster Calculator, but in my way it's not works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 11:48:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-information-from-2-rasters-to-1-raster/m-p/109062#M6249</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-05-03T11:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting information from 2 rasters to 1 raster.</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-information-from-2-rasters-to-1-raster/m-p/109063#M6250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: helyxsisltd&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't promise it's the most efficient method, but you could set up a model that effectively does the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With your water raster, use the Set Null tool in the Conditional toolset to set the value zero (not water) to null. Then use the Times tool in the Math Toolset to multiply by 9 (so giving "Raster W" where water = 9 and other = NoData)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With your class raster ("Raster C"), apply these tools from the Math Toolset in the following order:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IsNull, Boolean Not, Plus 1 (so giving "Raster P" where cells have a value 1 where "Raster C" held NoData and 2 where the "Raster C" held a value)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now use Pick in the Conditional toolset as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pick("Raster P", "Raster W", "Raster C")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Pick tool will choose from Raster W wherever Raster C is NoData or from Raster C wherever it holds a value already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Convoluted, I know. Maybe there's a much simpler way...?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 12:46:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-information-from-2-rasters-to-1-raster/m-p/109063#M6250</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-05-03T12:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting information from 2 rasters to 1 raster.</title>
      <link>https://community.esri.com/t5/data-management-questions/connecting-information-from-2-rasters-to-1-raster/m-p/109064#M6251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Go to the symbology tab for your raster.&amp;nbsp; there should be check boxes on how to display cells with no data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;I'm looking for my problem's solution.&lt;BR /&gt;I've got 2 rasters:&lt;BR /&gt;one - with classification's output (*.tif - multiple value: 0-9):&lt;BR /&gt;[ATTACH=CONFIG]23989[/ATTACH]&lt;BR /&gt;and one - with classification of water's output (*.tif - value: 0-1):&lt;BR /&gt;[ATTACH=CONFIG]23990[/ATTACH]&lt;BR /&gt;&lt;BR /&gt;I try to insert information from second raster to first raster. I mean:&lt;BR /&gt;if in pixel on first raster is NoData value and on second raster value in this the same pixel = 1, then value on output raster = 9 (Water ID), but if not - value from first raster in this pixel.&lt;BR /&gt;Eventually i want to obtain this result in on image:&lt;BR /&gt;[ATTACH=CONFIG]23991[/ATTACH]&lt;BR /&gt;&lt;BR /&gt;Another step, which I want to obtain is fill all remaining NoData pixels value = 2 (Ground ID).&lt;BR /&gt;Does anyone know how solves this problem? I try to use Raster Calculator, but in my way it's not works.&lt;BR /&gt;I would appreciate. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 17:34:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/connecting-information-from-2-rasters-to-1-raster/m-p/109064#M6251</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2013-05-03T17:34:02Z</dc:date>
    </item>
  </channel>
</rss>

