arcgisscripting.ExecuteError: ERROR 999999: Error executing function. Too many unique values Failed to execute (ZonalStatisticsAsTable).

1046
4
Jump to solution
08-30-2022 02:04 AM
YilanWei
Emerging Contributor

arcgisscripting.ExecuteError: ERROR 999999: Error executing function.
Too many unique values
Failed to execute (ZonalStatisticsAsTable).

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

zonal.png

you can change the number of unique values to use with this setting


... sort of retired...

View solution in original post

4 Replies
DanPatterson
MVP Esteemed Contributor

Zonal Statistics as Table (Spatial Analyst)—ArcGIS Pro | Documentation

how many unique values are there in the raster table?


... sort of retired...
0 Kudos
YilanWei
Emerging Contributor

The shp file that I am using to zone with has 238235 elements. The raster file that is to be zonal statistic and find the maximum is a flow accumulation file of Yangtze River Basin made by 30 meter resolution SRTM DEM. Thank you Dan for asking.

0 Kudos
DanPatterson
MVP Esteemed Contributor

zonal.png

you can change the number of unique values to use with this setting


... sort of retired...
YilanWei
Emerging Contributor

Thanks a lot Dan! It works.

Yilan

0 Kudos