Raster values based on polygon boundary

793
3
01-05-2014 03:32 AM
surendarmohan
New Contributor
How do I obtain mean of DN values of a underlying raster layer only for such pixels that fall below a polygon boundary?
0 Kudos
3 Replies
GeraldineEGGERMONT
New Contributor II
Hi,
I'm not sure I understand your question, but try this:
- convert your polygon feature class to a raster using Feature to Raster
- Use this raster as a zone raster in the Zonal Statistics tool, with "MEAN" as statistics type.

Does this help?

Geraldine
0 Kudos
DuncanHornby
MVP Notable Contributor
If its the boundary and not the area (entire polygon) you are after then use the Feature to Line tool to convert your polygon to a polyline then use the Polyline to Raster tool (make sure snap raster environment is set to your raster) to convert the line to a raster representation of your polyline and then you can use the Zonal Statistics tool.
0 Kudos
surendarmohan
New Contributor
Thanks.  Got it!
0 Kudos