<?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: raster calculator issues!! in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/raster-calculator-issues/m-p/509163#M40000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Stephanie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcGIS 10 the syntax you are using is no longer valid. You can no longer assign results to a new raster with "=" and you no longer need brackets "[]" around your raster names. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Con(IsNull("mosaic"), FocalStatistics("mosaic", NbrRectangle(3, 3, "CELL"), "MEAN"), "mosaic")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will need to define your output raster in the dialog at the bottom of the raster calculator.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2012 17:38:40 GMT</pubDate>
    <dc:creator>JeffreyEvans</dc:creator>
    <dc:date>2012-03-23T17:38:40Z</dc:date>
    <item>
      <title>raster calculator issues!!</title>
      <link>https://community.esri.com/t5/python-questions/raster-calculator-issues/m-p/509161#M39998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;--------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Raster Calculator issues &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried every suggestion I've come across to use Raster Calculator to fill my 'NoData' holes in mosaic-ed Raster DEM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using ArcMap 10 and the equation I've been told to use is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Filled_DEM = Con(isnull(["mosaic"]),FocalMean(["mosaic"], rectangle,4,4),["mosaic"])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ive tried changing around the capitalization, spacing, and even read somewhere that in ArcMap 10 focal stats. no longer works so I used :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Filled_DEM = Con(IsNull(["mosaic"]),FocalStatistics(["mosaic"], NbrRectangle(3,3),"MEAN"),["mosaic"])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and STILL nothing. can someone please help me - I've sat for hours trying to figure this out and I feel as though I've run out of options!!! Thanks!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephanie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 03:20:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-calculator-issues/m-p/509161#M39998</guid>
      <dc:creator>StephanieHooper</dc:creator>
      <dc:date>2012-03-22T03:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: raster calculator issues!!</title>
      <link>https://community.esri.com/t5/python-questions/raster-calculator-issues/m-p/509162#M39999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Stephanie&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just move this thread to the correct place (I hope). You posted it in the &lt;/SPAN&gt;&lt;STRONG&gt;CityEngine Python &lt;/STRONG&gt;&lt;SPAN&gt;section.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope you get help here .. ! Good luck !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 14:04:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-calculator-issues/m-p/509162#M39999</guid>
      <dc:creator>MatthiasBuehler1</dc:creator>
      <dc:date>2012-03-23T14:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: raster calculator issues!!</title>
      <link>https://community.esri.com/t5/python-questions/raster-calculator-issues/m-p/509163#M40000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Stephanie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcGIS 10 the syntax you are using is no longer valid. You can no longer assign results to a new raster with "=" and you no longer need brackets "[]" around your raster names. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Con(IsNull("mosaic"), FocalStatistics("mosaic", NbrRectangle(3, 3, "CELL"), "MEAN"), "mosaic")&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will need to define your output raster in the dialog at the bottom of the raster calculator.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 17:38:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/raster-calculator-issues/m-p/509163#M40000</guid>
      <dc:creator>JeffreyEvans</dc:creator>
      <dc:date>2012-03-23T17:38:40Z</dc:date>
    </item>
  </channel>
</rss>

