<?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 Zonal Histogram: different results with zones as rows or fields in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/zonal-histogram-different-results-with-zones-as/m-p/1276947#M67782</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using ArcGIS Pro 3.1.1 (and had the same issues on 3.1.0).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a little confused by my results from the Zonal Histogram tool. Initially, I ran the tool with the "Zones as Rows" option, and the output table had several objects where all values were 0. I double-checked to make sure the raster existed beneath each object (it did). Then, I tried to run the tool with "Zones as Fields." I have copied the data into excel to easily compare the results from both tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Summers_Haleigh_0-1681137662065.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67580i98F16C7F4768D07D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Summers_Haleigh_0-1681137662065.png" alt="Summers_Haleigh_0-1681137662065.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For context, I am identifying soil types under terraces, and hope to calculate the percentage of a certain soil type under each terrace. Having the results in the "Zones as Rows" format is ideal for me to move to the next step in my calculation. However, I am worried the results are incorrect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Summers_Haleigh_1-1681137863890.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67581iAC85553422E8BAA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Summers_Haleigh_1-1681137863890.png" alt="Summers_Haleigh_1-1681137863890.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Reading through the Zonal Histogram tool documentation, I don't understand why the results would be different between the two. The raster layer initially had four possible classes, but only three are in this area, so I understand the difference in the number of classes between the two options. However, I didn't think that would change the number of cells classified as specific values. Am I missing something?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Apr 2023 14:54:05 GMT</pubDate>
    <dc:creator>Summers_Haleigh</dc:creator>
    <dc:date>2023-04-10T14:54:05Z</dc:date>
    <item>
      <title>Zonal Histogram: different results with zones as rows or fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/zonal-histogram-different-results-with-zones-as/m-p/1276947#M67782</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using ArcGIS Pro 3.1.1 (and had the same issues on 3.1.0).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am a little confused by my results from the Zonal Histogram tool. Initially, I ran the tool with the "Zones as Rows" option, and the output table had several objects where all values were 0. I double-checked to make sure the raster existed beneath each object (it did). Then, I tried to run the tool with "Zones as Fields." I have copied the data into excel to easily compare the results from both tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Summers_Haleigh_0-1681137662065.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67580i98F16C7F4768D07D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Summers_Haleigh_0-1681137662065.png" alt="Summers_Haleigh_0-1681137662065.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For context, I am identifying soil types under terraces, and hope to calculate the percentage of a certain soil type under each terrace. Having the results in the "Zones as Rows" format is ideal for me to move to the next step in my calculation. However, I am worried the results are incorrect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Summers_Haleigh_1-1681137863890.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/67581iAC85553422E8BAA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Summers_Haleigh_1-1681137863890.png" alt="Summers_Haleigh_1-1681137863890.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Reading through the Zonal Histogram tool documentation, I don't understand why the results would be different between the two. The raster layer initially had four possible classes, but only three are in this area, so I understand the difference in the number of classes between the two options. However, I didn't think that would change the number of cells classified as specific values. Am I missing something?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 14:54:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/zonal-histogram-different-results-with-zones-as/m-p/1276947#M67782</guid>
      <dc:creator>Summers_Haleigh</dc:creator>
      <dc:date>2023-04-10T14:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Zonal Histogram: different results with zones as rows or fields</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/zonal-histogram-different-results-with-zones-as/m-p/1391771#M79877</link>
      <description>&lt;P&gt;I experienced something similar; when using a vector as zone file, it gave me really weird output. But when I rasterized my vector file first to match my raster file, and used that rasterized zones file as zone input file it worked perfectly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 13:06:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/zonal-histogram-different-results-with-zones-as/m-p/1391771#M79877</guid>
      <dc:creator>TijsLips</dc:creator>
      <dc:date>2024-03-06T13:06:55Z</dc:date>
    </item>
  </channel>
</rss>

