<?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>idea Add options to deal with ties in cell statistics tool when selecting the majority option in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/add-options-to-deal-with-ties-in-cell-statistics/idi-p/936609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cell statistics is an incredibly useful tool.&amp;nbsp; When using the MAJORITY option the default behavior of the tool for dealing with ties (when&amp;nbsp;the two most abundant values are of equal abundance) is to create NoData.&amp;nbsp; This will often result in a map with lots of holes (NoData cells).&amp;nbsp; I would propose adding at least three options for dealing with ties.&amp;nbsp; One option would be FIRST. This would take the first value of the two tied values in the raster stack.&amp;nbsp; Another option would be LAST in which it takes the last raster of the stack with the tied value. A third option would be RANDOM. This would randomly select one of the two tied values. Finally a fourth option would be NEIGHBORHOOD. This option would expand by searching a 3x3 neighborhood and using the MAJORITY&amp;nbsp; cell in that neighborhood.&amp;nbsp; If a tie couldn't be broken using a 3x3 neighborhood then a 5x5 neighborhood would be used, etc. until all cells have a value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2019 20:19:36 GMT</pubDate>
    <dc:creator>ThomasDilts</dc:creator>
    <dc:date>2019-08-09T20:19:36Z</dc:date>
    <item>
      <title>Add options to deal with ties in cell statistics tool when selecting the majority option</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/add-options-to-deal-with-ties-in-cell-statistics/idi-p/936609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cell statistics is an incredibly useful tool.&amp;nbsp; When using the MAJORITY option the default behavior of the tool for dealing with ties (when&amp;nbsp;the two most abundant values are of equal abundance) is to create NoData.&amp;nbsp; This will often result in a map with lots of holes (NoData cells).&amp;nbsp; I would propose adding at least three options for dealing with ties.&amp;nbsp; One option would be FIRST. This would take the first value of the two tied values in the raster stack.&amp;nbsp; Another option would be LAST in which it takes the last raster of the stack with the tied value. A third option would be RANDOM. This would randomly select one of the two tied values. Finally a fourth option would be NEIGHBORHOOD. This option would expand by searching a 3x3 neighborhood and using the MAJORITY&amp;nbsp; cell in that neighborhood.&amp;nbsp; If a tie couldn't be broken using a 3x3 neighborhood then a 5x5 neighborhood would be used, etc. until all cells have a value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 20:19:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/add-options-to-deal-with-ties-in-cell-statistics/idi-p/936609</guid>
      <dc:creator>ThomasDilts</dc:creator>
      <dc:date>2019-08-09T20:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Add options to deal with ties in cell statistics tool when selecting the majority option</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/add-options-to-deal-with-ties-in-cell-statistics/idc-p/936610#M4388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like the idea of a new parameter (NODATA, RANDOM, FIRST, LAST) with NODATA as the default so existing scripts are not broken.&amp;nbsp; I think we have neighborhood covered with existing map algebra workflows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 20:39:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/add-options-to-deal-with-ties-in-cell-statistics/idc-p/936610#M4388</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2019-08-09T20:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Add options to deal with ties in cell statistics tool when selecting the majority option</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/add-options-to-deal-with-ties-in-cell-statistics/idc-p/936611#M4389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can think of how to implement the NEIGHBORHOOD option in Model Builder.&amp;nbsp; FIRST, LAST, and RANDOM are trickier without knowing exactly how the underlying code in the cell statistics tool works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 20:45:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/add-options-to-deal-with-ties-in-cell-statistics/idc-p/936611#M4389</guid>
      <dc:creator>ThomasDilts</dc:creator>
      <dc:date>2019-08-09T20:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add options to deal with ties in cell statistics tool when selecting the majority option</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/add-options-to-deal-with-ties-in-cell-statistics/idc-p/936612#M4390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose that one way that this might get coded is by dropping one raster at a time in the stack and seeing if that breaks the tie.&amp;nbsp; This could be done with python without having to modify the source code of the Cell Statistics tool.&amp;nbsp; But ... I would still prefer if Esri just added these options to the Cell Statistics tool itself&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;(NODATA, RANDOM, FIRST, LAST).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 21:16:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/add-options-to-deal-with-ties-in-cell-statistics/idc-p/936612#M4390</guid>
      <dc:creator>ThomasDilts</dc:creator>
      <dc:date>2019-08-09T21:16:16Z</dc:date>
    </item>
  </channel>
</rss>

