How to create an attribute for a polygon based on raster value?

476
4
Jump to solution
01-31-2017 10:56 AM
Highlighted
New Contributor II

Hello, I am guessing this is a simple one, but what I would like to do is overlay a collection of polygons on a raster, and add an attribute to the polygons based on the pixel values within polygon.  I.e. the polygon now includes an attribute describing the maximum/minimum/mean etc pixel value within the polygon.

Thank you

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
MVP Honored Contributor

You can use Zonal Statistics as Table and join it back to the original polygons. If it's an integer type, you could also Build Raster Attribute Table of the result of Zonal Statistics, and join that.

View solution in original post

4 Replies
Highlighted
Honored Contributor
Highlighted
New Contributor II

Hi Jayanta, using the zonal statistics results in a raster, I would like to produce (or retain) the original shapefile, with a new attribute which documents the largest or smallest value within the polygon.  Hoping to find a simple way to do it but perhaps there is not a quick way!  Thanks!

Reply
0 Kudos
Highlighted
MVP Honored Contributor

You can use Zonal Statistics as Table and join it back to the original polygons. If it's an integer type, you could also Build Raster Attribute Table of the result of Zonal Statistics, and join that.

View solution in original post

Highlighted
New Contributor II

That seems to have worked, thank you!

Reply
0 Kudos