AnsweredAssumed Answered

Zonal Statistics as a Table 2

Question asked by kwchung2 on Jun 7, 2018
Latest reply on Jun 12, 2018 by kwchung2

We've successfully executed zonal statistics as a table 2 (from the spatial analyst supplemental tools) on one of our map files to extract a mean NDVI value from 250 m buffers - with some polygons overlapping each other. This map file is rather large and holds a lot of data - since we have used it to do testing on different processing in the past. Due to this, we decided to start over and only import and run necessary steps to extract the data we want. In both files we started with the exact same tifs and shapefiles before further processing. Trying to run the tool on this new map file no longer works. It runs as if it were the same as the original zonal statistics tool. I've double checked that the geoprocessing environment is the same.

 

Looking at the script the tool looks like it tries to run the code that allows for overlapping polygons and if it can't then it runs the normal version. I script is a little dense so I'm not 100% sure that this is true. I've attached the python script for reference. Does anyone have any ideas as to why for this new file it runs the exception/normal zonal statistics tool but for my older/larger file it runs correctly? 

Outcomes