How do I assign average raster values to polygons within a shapefile

19588
3
Jump to solution
10-06-2016 02:33 PM
DavisTolman
New Contributor III

I have a raster file (elevation) and a shape file (neighborhood polygons).  I would like to sample the raster for each polygon and assign the average raster value to its' respective polygon.  Ideally I would add a new column with the average elevation for each row in the shape file.

1 Solution

Accepted Solutions
ChrisDonohue__GISP
MVP Alum

If you have access to Spatial Analyst, one possibility is to use Zonal Statistics, with the statistics_type (optional) of Mean:

ArcGIS Help (10.2, 10.2.1, and 10.2.2) Zonal Statistics

Chris Donohue, GISP

View solution in original post

0 Kudos
3 Replies
ChrisDonohue__GISP
MVP Alum

If you have access to Spatial Analyst, one possibility is to use Zonal Statistics, with the statistics_type (optional) of Mean:

ArcGIS Help (10.2, 10.2.1, and 10.2.2) Zonal Statistics

Chris Donohue, GISP

0 Kudos
DavisTolman
New Contributor III

Thanks Chris,

I tried this and created a raster with the shape of the subdivisions that

assigned a single average value for the entire raster, not the average for

each separate polygon. Ideally, I would like to extract the average value

for each polygon and add it as a field in the subdivision shapefile. Any

thoughts?

Davis Tolman

0 Kudos
DavisTolman
New Contributor III

I tried again using he correct zone field and it worked.

THANKS VERY MUCH!

Davis

0 Kudos