<?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: Why the count does not match in Histogram and Attribute table ? in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750756#M10870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had the same kind of problem: when I build a histogram from the Spatial Analyst Toolbar, if I sum the frequency of the data which produce the histogram, the result doesn't match the total number of the cell of the raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It happens for large rasters (in my case over 3 millions cells, it is a Digital Terrain Model of a watershed).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use the &lt;/SPAN&gt;&lt;STRONG&gt;Zonal Histogram tool&lt;/STRONG&gt;&lt;SPAN&gt; (available at ArcToolBox &amp;gt; Spatial Analayst Tools &amp;gt; Zonal) the count matches perfectly. So this problem is only of the Spatial Analyst Toolbar Histogram tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the computation depends on some kind of sampling related to the map scale and the screen resolution, as is possible to notice from the image below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]14102[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The histogram on the left is obtained at a 1:100,000 scale, the one on center at a 1:25,000 scale, the one on the right with the Zonal Histogram tool; of the course they are all obtained from the same dataset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This seem confirmed from what we can read from In the &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;What's new in ArcGIS 10.1&lt;/STRONG&gt;&lt;SPAN&gt; document, at page 120: �??&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;The interactive tools from the Spatial Analyst toolbar have been updated to operate on the data within the extent of your ArcMap window and at the screen resolution&lt;/SPAN&gt;&lt;SPAN&gt;�?�.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think anyway ESRI should address this problem in ArcGIS 10 or, at least, declare this limit on help or documentation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope in the Service Pack 5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Roberto Rossi&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.formazione.cirgeo.unipd.it/"&gt;CIRGEO, Padua University&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2012 16:45:06 GMT</pubDate>
    <dc:creator>RobertoRossi</dc:creator>
    <dc:date>2012-05-04T16:45:06Z</dc:date>
    <item>
      <title>Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750746#M10860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everybody&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I worked on Spatial analyst .. " Histogram"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I have a question Why the count does not match in Histogram and Attribute table ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see attached image &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Weird, isn't it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PLZ help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 17:30:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750746#M10860</guid>
      <dc:creator>MOHAMMEDHABBOUB</dc:creator>
      <dc:date>2011-09-22T17:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750747#M10861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;grid tables give cell count which multiplied by the square of the cell width gives area...histogram, IMS...yields area...check in any event&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 20:03:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750747#M10861</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2011-09-22T20:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750748#M10862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, It doesn't make sense.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The cell width is 25 so the area is 25*25=625&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the Count in attribute table is 671722 but in Histogram is 466834&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;466834 + 625 =467459 not 671722&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So Why?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 02:32:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750748#M10862</guid>
      <dc:creator>MOHAMMEDHABBOUB</dc:creator>
      <dc:date>2011-09-23T02:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750749#M10863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is even stranger is the class/value shown with identify (4) doesn't match that within the raster table (6).&amp;nbsp; In any event, you would multiply the cell area by the count to get area (which wouldn't help in your case anyway)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 09:46:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750749#M10863</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2011-09-23T09:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750750#M10864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try rebuilding the raster attribute table.&amp;nbsp; Some operations (tools) do not automatically update the count field.&amp;nbsp; For example, if you clip a raster, the result will have count values that reflect the original counts.&amp;nbsp; Maybe your table is out of sync with the data.&amp;nbsp; Just a thought.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 19:01:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750750#M10864</guid>
      <dc:creator>EricRice</dc:creator>
      <dc:date>2011-09-23T19:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750751#M10865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just realized that is the landuse raster from the Spatial Analyst tutorial data.&amp;nbsp; I'm guessing you didn't do anything to it yet that would require a rebuild of the table?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2011 19:04:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750751#M10865</guid>
      <dc:creator>EricRice</dc:creator>
      <dc:date>2011-09-23T19:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750752#M10866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's right Eric, this is from Spatial Analysis Tutorial and I did nothing to the raster yet... so there is no point in rebuilding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So? is it a bug? or what?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 03:03:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750752#M10866</guid>
      <dc:creator>MOHAMMEDHABBOUB</dc:creator>
      <dc:date>2011-09-25T03:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750753#M10867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;did you try rebuilding to see if the original file is in error?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Sep 2011 10:21:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750753#M10867</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2011-09-25T10:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750754#M10868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your screenshot indicates you are using an old version of the software.&amp;nbsp; I can't reproduce this issue.&amp;nbsp; Can you upgrade?&amp;nbsp; It looks like a bug in an older product.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 15:41:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750754#M10868</guid>
      <dc:creator>EricRice</dc:creator>
      <dc:date>2011-09-26T15:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750755#M10869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I will try to upgrade&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 18:54:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750755#M10869</guid>
      <dc:creator>MOHAMMEDHABBOUB</dc:creator>
      <dc:date>2011-09-27T18:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750756#M10870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had the same kind of problem: when I build a histogram from the Spatial Analyst Toolbar, if I sum the frequency of the data which produce the histogram, the result doesn't match the total number of the cell of the raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It happens for large rasters (in my case over 3 millions cells, it is a Digital Terrain Model of a watershed).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use the &lt;/SPAN&gt;&lt;STRONG&gt;Zonal Histogram tool&lt;/STRONG&gt;&lt;SPAN&gt; (available at ArcToolBox &amp;gt; Spatial Analayst Tools &amp;gt; Zonal) the count matches perfectly. So this problem is only of the Spatial Analyst Toolbar Histogram tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the computation depends on some kind of sampling related to the map scale and the screen resolution, as is possible to notice from the image below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]14102[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The histogram on the left is obtained at a 1:100,000 scale, the one on center at a 1:25,000 scale, the one on the right with the Zonal Histogram tool; of the course they are all obtained from the same dataset.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This seem confirmed from what we can read from In the &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;What's new in ArcGIS 10.1&lt;/STRONG&gt;&lt;SPAN&gt; document, at page 120: �??&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;The interactive tools from the Spatial Analyst toolbar have been updated to operate on the data within the extent of your ArcMap window and at the screen resolution&lt;/SPAN&gt;&lt;SPAN&gt;�?�.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think anyway ESRI should address this problem in ArcGIS 10 or, at least, declare this limit on help or documentation. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope in the Service Pack 5.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Roberto Rossi&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.formazione.cirgeo.unipd.it/"&gt;CIRGEO, Padua University&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 16:45:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750756#M10870</guid>
      <dc:creator>RobertoRossi</dc:creator>
      <dc:date>2012-05-04T16:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why the count does not match in Histogram and Attribute table ?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750757#M10871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a note that the Webhelp for ArcGIS 10.0 has been updated with the improved behaviour introduced in SP4: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Working_with_the_Spatial_Analyst_toolbar/005900000008000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Working_with_the_Spatial_Analyst_toolbar/005900000008000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;juan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 18:53:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/why-the-count-does-not-match-in-histogram-and/m-p/750757#M10871</guid>
      <dc:creator>JuanLaguna</dc:creator>
      <dc:date>2012-05-07T18:53:21Z</dc:date>
    </item>
  </channel>
</rss>

