<?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: simple map algebra in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-map-algebra/m-p/589052#M8564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm having trouble getting the raster calculator to work in ArcMap 10.3 with spatial anlayst extension. I'm using the raster calculator to do something simple like add or subtract 100 from each cell in the raster. I use the following expression Float ("raster") - 100.0 The tool runs fine, but the results are strange. A DN in the original raster of 47 returns a value of -36. A DN of 26 returns a -48. I've also tried dividing two rasters (using Float), when I do that I get all 1's. &lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran a quick test with raster calculator (see attached screen-captures) to subtract and divide, and it seems to be working fine for me. Input data I was using is an integer raster (.TIF) and the output is a floating point raster (.TIF). If you can consistently reproduce this issue with different data, I would suggest you to contact Support so that we can take a further look at it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]12181[/ATTACH] [ATTACH=CONFIG]12182[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]12183[/ATTACH] [ATTACH=CONFIG]12184[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 19:49:32 GMT</pubDate>
    <dc:creator>PrasantaBhattarai</dc:creator>
    <dc:date>2012-02-23T19:49:32Z</dc:date>
    <item>
      <title>simple map algebra</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-map-algebra/m-p/589048#M8560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having trouble getting the raster calculator to work in ArcMap 10.3 with spatial anlayst extension. I'm using the raster calculator to do something simple like add or subtract 100 from each cell in the raster. I use the following expression Float ("raster") - 100.0 The tool runs fine, but the results are strange. A DN in the original raster of 47 returns a value of -36. A DN of 26 returns a -48. I've also tried dividing two rasters (using Float), when I do that I get all 1's. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please advise.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 02:40:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-map-algebra/m-p/589048#M8560</guid>
      <dc:creator>JeffClark2</dc:creator>
      <dc:date>2012-02-20T02:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: simple map algebra</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-map-algebra/m-p/589049#M8561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; ArcMap 10.3 with spatial anlayst extension. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to clarify, do you mean 10.0 SP 3?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 03:01:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-map-algebra/m-p/589049#M8561</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2012-02-21T03:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: simple map algebra</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-map-algebra/m-p/589050#M8562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I'm Sorry ArcGIS 10.0 (Info Level) with SP3. Had same problem with SP2. Some additional points 1. the NDVI function off the Image Analysis window works fine. And if I convert the raster to a float through the tool box and then perform simple math using the toolboxes (not the Raster Calculator) it works fine. Seems like there is something wrong with the raster calculator.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 13:53:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-map-algebra/m-p/589050#M8562</guid>
      <dc:creator>JeffClark2</dc:creator>
      <dc:date>2012-02-22T13:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: simple map algebra</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-map-algebra/m-p/589051#M8563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like something you should report! If you get a NIM, please add it to this thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am wondering whether the issue may be data format related... is "raster" not a grid? The calculator may be doing a bad data translation on the direct read of the raster (a new capability in 10.0, in 9.3 it would convert to Esri Grid format (EGF) first).&amp;nbsp; Kind of weird that the tools would work when map algebra doesn't -- the tools are the same now under the hood.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something to try is convert your raster to EGF (using Copy Raster) and try Raster Calculator with that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 14:16:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-map-algebra/m-p/589051#M8563</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2012-02-22T14:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: simple map algebra</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-map-algebra/m-p/589052#M8564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm having trouble getting the raster calculator to work in ArcMap 10.3 with spatial anlayst extension. I'm using the raster calculator to do something simple like add or subtract 100 from each cell in the raster. I use the following expression Float ("raster") - 100.0 The tool runs fine, but the results are strange. A DN in the original raster of 47 returns a value of -36. A DN of 26 returns a -48. I've also tried dividing two rasters (using Float), when I do that I get all 1's. &lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran a quick test with raster calculator (see attached screen-captures) to subtract and divide, and it seems to be working fine for me. Input data I was using is an integer raster (.TIF) and the output is a floating point raster (.TIF). If you can consistently reproduce this issue with different data, I would suggest you to contact Support so that we can take a further look at it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]12181[/ATTACH] [ATTACH=CONFIG]12182[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]12183[/ATTACH] [ATTACH=CONFIG]12184[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 19:49:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/simple-map-algebra/m-p/589052#M8564</guid>
      <dc:creator>PrasantaBhattarai</dc:creator>
      <dc:date>2012-02-23T19:49:32Z</dc:date>
    </item>
  </channel>
</rss>

