Select to view content in your preferred language

Zonal Stats as Table fails if more than a few polygons

288
3
07-11-2024 01:42 PM
DougBrowning
MVP Esteemed Contributor

I have tested several polygon layers and two different CRF rasters and I keep getting this message if I select more than 1 polygon.  

DougBrowning_0-1720728908409.png

One set of polygons I had was 2,822 and it stops in 35 seconds with this 999998 error.  Tried the next one that is just 500 polygons and that fails right away also.  Both work perfectly fine, and fast, if I select just one polygon (and set the processing extent or it takes forever) or export the one polygon.  I finally maybe got one running that is 26 polygons now.  

 

Is there some type of vertex limit or something?  I will now have to script it to run one at a time and then combine at the end I guess?

thanks

 

 

0 Kudos
3 Replies
DanPatterson
MVP Esteemed Contributor

How zonal statistics tools work—ArcGIS Pro | Documentation

you might want to give converting the zone features to raster format (taking care about cell size, alignment and processing extent)


... sort of retired...
0 Kudos
David_Brooks
MVP Regular Contributor

Can't say I've had this before. I've run zonal stats as table on a polygon dataset with 1000s of features before too without issue.

One check I'd suggest, is to have the raster as a tiff instead of gdb grid. The other would be to check the feature class for geometric errors. "Check Geometry"


David
..Maps with no limits..
DougBrowning
MVP Esteemed Contributor

Thanks I did plus it came as an export for Living Atlas (HUC10s).  It has been every layer I try so far.

I am running against a CRF if that matters

0 Kudos