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.
Solved! Go to Solution.
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
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
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
I tried again using he correct zone field and it worked.
THANKS VERY MUCH!
Davis
Is there any way to do this when the raster data isn't integer type? I have a kriged raster, so the values are not integers.