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 want to use zonal statistics on Chinese counties (which can be very small) from a fairly coarse (0.5 degree) raster grid. The problem with zonal statistics is that it returns a much smaller number of counties after the feature-to-raster transformation. This means a lot of my counties won't be assigned any data.

Can this be overcome somehow?

For example, I would like for example to have a list of raster cells that lie within each county, along with the cell's value and the share of the cell that lies within the county. This way, I would be able to construct a nice measure.

share|improve this question
Would you be able to do a raster to polygon conversion? If so then you could run an overlay of your county polygons with the raster's polygons. – John Feb 5 '13 at 13:38
up vote 3 down vote accepted

Sounds like the problem is in the Feature to Raster transformation. Try changing the output cell size from the transformation to a finer resolution than the default. For example, the below image shows two outputs from the Feature to Raster tool (The input feature is displayed as hollow red). The default cell size is shown on the left and a fine resolution raster is shown on the right. This way, all of your counties should be accounted for, rather than being pixelated-out.

I see two alternatives:

  1. Do a vector-based analysis using any of the overlay tools.
  2. Use Geospatial Modelling Environments (GME) isectpolypoly (Intersect Polygons With Polygons) which is essentially zonal statistics for feature data (Free from GME).

enter image description here

share|improve this answer

Your Answer


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.