champaganeca

Zonal Statistics - Output all records in original shapefile

Discussion created by champaganeca on May 17, 2011
I would like to compute the zonal statistics using a shapfile but I would like the resultant dbf table to contain all the zones in the shapefile regardless of whether there is data in the underlying raster or not. I don't want to use the "use no data" option, because some zones will contain a mixture of nodata and data pixels, and I want statistics to be computed on any data that is available, but I also want the table to display zones where all of the pixels in the underlying raster are "no data". I can't seem to find a way to do this other than joining the output dbf back to the original zone shapefile and then exporting, but I have over 2000 raster layers on which to compute statistics, so a simpler solution would be ideal.

Thanks,

cc

Outcomes