<?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 Raste Calculator in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/raste-calculator/m-p/205664#M7035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been working the following expression in the raster calculator:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Con(("%Prob_horz%" &amp;gt; 0) &amp;amp; ("%Prob_horz%" &amp;lt;= 75), .25,&amp;nbsp; Con("%Prob_horz%" == 95, .20, 0))) / Float(Lookup("%Prob_horz%", "Count")) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'm trying to do is to assign different probabilities to cells in a ring buffer raster that I have. However this expression fails to include cells that are outside of the ring buffer. I created a new expression which I provide below. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Con(("%raster1%"&amp;gt; 0) &amp;amp; ("%raster1%" &amp;lt;= 75), .25,&amp;nbsp; Con("%raster1%" == 95, .20), Con("%raster1%" &amp;gt; 95,.05))) / Float(Lookup("%raster1%", "Count")) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With this one I am trying to give the cells that are outside of the ring buffers a probability of .05. However when I add my last Con statement I get an error that I cannot seem to fix. I have attached an image of my error. Could anyone please help me solve this. I need to finish this project by the end of the day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; [ATTACH=CONFIG]15968[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2012 17:49:46 GMT</pubDate>
    <dc:creator>ElenaSava</dc:creator>
    <dc:date>2012-07-11T17:49:46Z</dc:date>
    <item>
      <title>Raste Calculator</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/raste-calculator/m-p/205664#M7035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been working the following expression in the raster calculator:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Con(("%Prob_horz%" &amp;gt; 0) &amp;amp; ("%Prob_horz%" &amp;lt;= 75), .25,&amp;nbsp; Con("%Prob_horz%" == 95, .20, 0))) / Float(Lookup("%Prob_horz%", "Count")) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'm trying to do is to assign different probabilities to cells in a ring buffer raster that I have. However this expression fails to include cells that are outside of the ring buffer. I created a new expression which I provide below. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Con(("%raster1%"&amp;gt; 0) &amp;amp; ("%raster1%" &amp;lt;= 75), .25,&amp;nbsp; Con("%raster1%" == 95, .20), Con("%raster1%" &amp;gt; 95,.05))) / Float(Lookup("%raster1%", "Count")) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With this one I am trying to give the cells that are outside of the ring buffers a probability of .05. However when I add my last Con statement I get an error that I cannot seem to fix. I have attached an image of my error. Could anyone please help me solve this. I need to finish this project by the end of the day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; [ATTACH=CONFIG]15968[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 17:49:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/raste-calculator/m-p/205664#M7035</guid>
      <dc:creator>ElenaSava</dc:creator>
      <dc:date>2012-07-11T17:49:46Z</dc:date>
    </item>
  </channel>
</rss>

