Hi all,
I have a hexagon tessellation that I am trying to get transform statistics into from a raster below (could turn the raster into polygons, based on area in acres, or pts, based on counts).
The picture below will help explain, but for each tessellation, I want to count the # of total raster cells, as well as the occurence of each value (i.e. 19 pixels, 6 orange, 9 blue, 4 yellow). Percents would be fine, too, but raw counts preferred. I have tried zonal staistics, summarize within, etc. but nothing seems to give me an output what I am looking for. Usually, things are based off mean/median/mode/etc. and is counting the no value/backround raster points. Has anyone done anything similar or have a simple workflow?
I think Zonal Statistics As Table is the tool you want.
I did try that, along with regular zonal statistics. The issue for me is that it doesn't count each thing individually, and in the case of a raster, is still counting 'no data'/background cells, even though they were deleted from the set, I wish it worked because that was what I was hoping to use!
Possibly Tabulate Intersection tool after converting to vector. Then divide 'Area' by the original raster cell size to get Count.
https://pro.arcgis.com/en/pro-app/3.3/tool-reference/analysis/tabulate-intersection.htm