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

here is my problem:

I have a raster layer containing the elevation info. and another gridded layer (shapefile type). What I want to do is to calculate the mean elevation within each grid to have a single representative value.

Does anyone know how to handle this? Thx in advance for any suggestion .

share|improve this question
up vote 2 down vote accepted

In ArcGIS, solving this problem involves becoming familiar with the "zonal statistics" tool.

share|improve this answer
It works....perfectly!! thanks a lot.~ – Li Yu Oct 29 '12 at 18:04

You can achieve this using the v.rast.stats module in GRASS GIS

There is also a faster version of it on the GRASS AddOns page

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.