<?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 Simple Raster Calculator Problem in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-raster-calculator-problem/m-p/299625#M4224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to remove negative values in a depth raster that I created. I'm sure it's quite simple to do, but I'm new to using Raster Calculator and cannot seem to get the syntax right. What is the correct syntax for returning values greater than or equal to zero for a raster "depth_layer"? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2012 17:27:13 GMT</pubDate>
    <dc:creator>BreeWitteveen</dc:creator>
    <dc:date>2012-09-25T17:27:13Z</dc:date>
    <item>
      <title>Simple Raster Calculator Problem</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-raster-calculator-problem/m-p/299625#M4224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to remove negative values in a depth raster that I created. I'm sure it's quite simple to do, but I'm new to using Raster Calculator and cannot seem to get the syntax right. What is the correct syntax for returning values greater than or equal to zero for a raster "depth_layer"? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2012 17:27:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-raster-calculator-problem/m-p/299625#M4224</guid>
      <dc:creator>BreeWitteveen</dc:creator>
      <dc:date>2012-09-25T17:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Raster Calculator Problem</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-raster-calculator-problem/m-p/299626#M4225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to turn values below 0 into NoData and leave the rest untouched try this expression in Raster Calculator:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;SetNull("depth_layer" &amp;lt; 0, "depth_layer")&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to change values below 0 into some value (eg. 0) try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Con("depth_layer" &amp;lt; 0, 0,"depth_layer")&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to just see which values are below 0 use simply:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;"depth_layer" &amp;lt; 0&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 06:32:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-raster-calculator-problem/m-p/299626#M4225</guid>
      <dc:creator>MarcinGasior</dc:creator>
      <dc:date>2012-09-26T06:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Simple Raster Calculator Problem</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-raster-calculator-problem/m-p/1112674#M11491</link>
      <description>&lt;P&gt;Sir, i am applying your method of negative values to no data, it works, but the range of values to the positive side is increasing every time from 0 to some value higher than the original positive value of the raster file.&lt;/P&gt;</description>
      <pubDate>Sun, 31 Oct 2021 07:47:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-raster-calculator-problem/m-p/1112674#M11491</guid>
      <dc:creator>ALI78671</dc:creator>
      <dc:date>2021-10-31T07:47:57Z</dc:date>
    </item>
  </channel>
</rss>

