AnsweredAssumed Answered

Spatial Analyst - calculate median raster values within polygons

Question asked by leah.hutchins on Apr 6, 2010
Latest reply on Jun 20, 2012 by MBoucher21
Hi Everyone,

I have a floating point elevation raster and a polygon shapefile representing vegetation classes. All I need to do is calculate the median elevation within each vegetation polygon. I thought the Zonal Statistics tool in Spatial Analyst would do this, but when i add my two layers, it removes the 'median' option from the 'Statistics type' field.

Is there a way to accurately calculate the median raster value based on polygons? Does my elevation raster have to be an integer for this to work?

I'm sorry if this has been addressed before, I'm still getting used to the new forum layout...

Thanks in advance!