<?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 Adding certain value to raster (Plus tool), but result fails. in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/adding-certain-value-to-raster-plus-tool-but/m-p/1041355#M39042</link>
    <description>&lt;P&gt;Hey! My DEM (raster) is located in the south of the Netherlands. I would like to make an image based map with the DEM. In further processes I need to have the map with NoData cells as value 0 and the original DEM with values from 1000-1255 (instead of the orginial DEM-values 0 - 1255). Basically, I want to&amp;nbsp;&lt;EM&gt;plus&amp;nbsp;&lt;/EM&gt;1000 to the original DEM and then assign NoData cells with 0.&lt;/P&gt;&lt;P&gt;Unfortunately, when I'm adding 1000 to the DEM (with raster calculator, or the Plus-tool) the result is distorted. Does anyone know how I can fix this problem? I'm looking on the internet for the answer for a week now &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attached to this post are the original DEM (which I want to sum with 1000) and the result after raster calculator.&amp;nbsp; Maybe it has something to do with the settings of the DEM (see attachments)&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
    <pubDate>Sun, 28 Mar 2021 08:22:19 GMT</pubDate>
    <dc:creator>BartOversteegen</dc:creator>
    <dc:date>2021-03-28T08:22:19Z</dc:date>
    <item>
      <title>Adding certain value to raster (Plus tool), but result fails.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-certain-value-to-raster-plus-tool-but/m-p/1041355#M39042</link>
      <description>&lt;P&gt;Hey! My DEM (raster) is located in the south of the Netherlands. I would like to make an image based map with the DEM. In further processes I need to have the map with NoData cells as value 0 and the original DEM with values from 1000-1255 (instead of the orginial DEM-values 0 - 1255). Basically, I want to&amp;nbsp;&lt;EM&gt;plus&amp;nbsp;&lt;/EM&gt;1000 to the original DEM and then assign NoData cells with 0.&lt;/P&gt;&lt;P&gt;Unfortunately, when I'm adding 1000 to the DEM (with raster calculator, or the Plus-tool) the result is distorted. Does anyone know how I can fix this problem? I'm looking on the internet for the answer for a week now &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Attached to this post are the original DEM (which I want to sum with 1000) and the result after raster calculator.&amp;nbsp; Maybe it has something to do with the settings of the DEM (see attachments)&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Sun, 28 Mar 2021 08:22:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-certain-value-to-raster-plus-tool-but/m-p/1041355#M39042</guid>
      <dc:creator>BartOversteegen</dc:creator>
      <dc:date>2021-03-28T08:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding certain value to raster (Plus tool), but result fails.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-certain-value-to-raster-plus-tool-but/m-p/1041357#M39043</link>
      <description>&lt;P&gt;Is the value range of output showing 1000-1255 (Assuming original DEM value range is 0-255 since it is an 8-bit raster)?&lt;/P&gt;&lt;P&gt;I hope you are using&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/raster-calculator.htm" target="_self"&gt;Raster Calculator (Spatial Analyst)&lt;/A&gt;&amp;nbsp;. Try saving the output as a &lt;STRONG&gt;TIFF (*.tif)&lt;/STRONG&gt; file.&lt;/P&gt;&lt;P&gt;The expected output should be a&lt;STRONG&gt; 16 bit&lt;/STRONG&gt; Floating/Integer.&lt;/P&gt;&lt;P&gt;Once output is generated, you may stretch its symbology based on a suitable stretch type (e.g. Min-Max), if required.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Mar 2021 10:17:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-certain-value-to-raster-plus-tool-but/m-p/1041357#M39043</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-03-28T10:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding certain value to raster (Plus tool), but result fails.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/adding-certain-value-to-raster-plus-tool-but/m-p/1041359#M39044</link>
      <description>&lt;P&gt;If you want the original DEM values between 1000 and 1255, why do you want to add 1000?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will share with you the workflow I would follow to achieve this (but without adding the 1000). I like using Raster Functions as I can test the settings and I don't have to save the final output to disk.&lt;/P&gt;&lt;P&gt;From Imagery tab, open up Raster Functions and search for Calculator.&amp;nbsp; Add you DEM as the Raster Variable and assign a character to it (like x in my below image).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Under Expression, Type in Con and hit enter to enter your conditional statement. Then you can type &lt;STRONG&gt;Con((x&amp;gt;=1000)&amp;amp;(x&amp;lt;=1255) , x , 0 )&lt;/STRONG&gt;. I was not sure whether your highest pint is 1255 or you only wanted to display that range. Then under the General tab, change the Output Pixel Type to values to 16 Bit Unsigned, then hit the Create new layer at bottom of pane.&lt;/P&gt;&lt;P&gt;As Jayanta pointed out, your DEM is unlikely to be a 8 Bit Unsigned type as the values are greater than 255. I also noted from your image that it has 3 bands. Are you displaying the properties for the DEM you want to work with?&amp;nbsp; Similarly, the output of the Raster Function cant be a 8 But but rather a 16 Bit type to show values greater than 255.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MervynLotter_0-1616928835699.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/9522i64D609B4E5D46989/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MervynLotter_0-1616928835699.png" alt="MervynLotter_0-1616928835699.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you want to add 1000 to teh DEM values then you modify the Con statement to something like:&lt;/P&gt;&lt;P&gt;Con((x&amp;gt;=1000)&amp;amp;(x&amp;lt;=1255) , x+1000 , 0 )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Mar 2021 10:57:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/adding-certain-value-to-raster-plus-tool-but/m-p/1041359#M39044</guid>
      <dc:creator>MervynLotter</dc:creator>
      <dc:date>2021-03-28T10:57:12Z</dc:date>
    </item>
  </channel>
</rss>

