<?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 Con, Focal statistics, MAJORITY not working in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/raster-calculator-con-focal-statistics-majority/m-p/1012265#M35407</link>
    <description>&lt;P&gt;Did you try to specify NODATA in FocalStatistics?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Con(IsNull("%g%"),
    FocalStatistics("%g%",
        NbrRectangle(100, 100, "CELL"),
        "MAJORITY",
        "NODATA"),
        "%g%")&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 24 Dec 2020 12:47:39 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2020-12-24T12:47:39Z</dc:date>
    <item>
      <title>Raster Calculator Con, Focal statistics, MAJORITY not working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/raster-calculator-con-focal-statistics-majority/m-p/1012261#M35406</link>
      <description>&lt;P&gt;Dear arcgis community,&lt;/P&gt;&lt;P&gt;currently I'm working on my thesis. I have a raster with a certain amount of noData that needs to be filled. I'm working with the following raster calculator equation:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeendertBorgers_0-1608809026973.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/2864iE44D355FDF549A59/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeendertBorgers_0-1608809026973.png" alt="LeendertBorgers_0-1608809026973.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This works great if I use MEAN or MAXIMUM but I want MAJORITY. but if i use Majority it starts running the model but it gets stuck on 1% and it won't progress. No error message and I can't stop it or anything and I have to restart my arcGIS Pro. the raster is integer and if I only use the focal statistic tool it does not crash.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 11:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/raster-calculator-con-focal-statistics-majority/m-p/1012261#M35406</guid>
      <dc:creator>LeendertBorgers</dc:creator>
      <dc:date>2020-12-24T11:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Calculator Con, Focal statistics, MAJORITY not working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/raster-calculator-con-focal-statistics-majority/m-p/1012265#M35407</link>
      <description>&lt;P&gt;Did you try to specify NODATA in FocalStatistics?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Con(IsNull("%g%"),
    FocalStatistics("%g%",
        NbrRectangle(100, 100, "CELL"),
        "MAJORITY",
        "NODATA"),
        "%g%")&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 24 Dec 2020 12:47:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/raster-calculator-con-focal-statistics-majority/m-p/1012265#M35407</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-12-24T12:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Calculator Con, Focal statistics, MAJORITY not working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/raster-calculator-con-focal-statistics-majority/m-p/1012310#M35412</link>
      <description>&lt;P&gt;the tool works that way but it doesn't do what I want it to do. I want to fill the NoData cells with data from surrounding cells and majority would be the best option.&amp;nbsp;This way it keeps all the NoData cells.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mean and Maximum work but Majority makes my arcGIS Pro unresponsive and I have to shut it down through windows task manager.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 19:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/raster-calculator-con-focal-statistics-majority/m-p/1012310#M35412</guid>
      <dc:creator>LeendertBorgers</dc:creator>
      <dc:date>2020-12-24T19:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Raster Calculator Con, Focal statistics, MAJORITY not working</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/raster-calculator-con-focal-statistics-majority/m-p/1012312#M35413</link>
      <description>&lt;P&gt;I would report it since I think it is getting into an endless loop trying to count for a majority which ignoring nodata, whereas the mean and other statistics based options would simply return "nan" aka None&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 19:54:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/raster-calculator-con-focal-statistics-majority/m-p/1012312#M35413</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-12-24T19:54:53Z</dc:date>
    </item>
  </channel>
</rss>

