Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a polygon shapefile and I want to generate a table of a count for each pixel value in each polygon. My main goal is to find out what pixel is most abundant in each polygon. I am using ArcMap 10.

share|improve this question
up vote 5 down vote accepted

Focusing on your main goal, simply compute a zonal majority of the value grid, using the polygons for the zones.

If you still want a count of each unique value within each polygon, provide the polygons with unique identifiers, convert them to a grid (having the same origin and cellsize as the value grid), and combine the two.

These operations require the Spatial Analyst extension.

share|improve this answer

The best tool I tried is "Thematic raster summery" implemented in Hawth tool . The result is a dbf file which is opened in excel. In this file, rows are your polygons and values inside columns represent the number of each pixels for a unique raster gridcode. Good luck.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.