ERROR
In ArcGIS Spatial Analyst, Zonal Statistics on a feature Zone input may generate an error if the extent of the feature data is within a cell of the Value raster input.If the Zone item is an integer, an error message similar to the following may occur:
Executing (ZonalStatistics_1): ZonalStatistics zone_shp
item_int val_grd E:\data\zstat_max MAXIMUM DATA
An error was encountered while executing ZonalStatistics.
("esriGeoAnalyst.GridEngine") Grid has no VAT
Failed to execute (ZonalStatistics_1).
Executing (ZonalStatistics_2): ZonalStatistics zone_shp
item_text val_grd E:\data\zstat_max MAXIMUM DATA
An error was encountered while executing ZonalStatistics.
("esriGeoAnalyst.GridEngine") Error in opening or reading VAT
Failed to execute (ZonalStatistics_2)./PRE}
With default tool behavior, this type of input does not suit analysis with a Zonal operation.
If the entire zonal input dataset falls within one cell of the Value raster, then determining statistics for that zone, such as maximum or variety, would be meaningless.
To demonstrate this, consider a case where the cell size of the 4 by 4 cell zone input is 1, and the value input is one cell of resolution 6. Resampling the value input to that of the zone input results in a 6 by 6 cell raster with each cell having the same value, as demonstrated here:
Zone input: Value input:
9 9 9 9 9 9
1 1 2 2 9 9 9 9 9 9
1 1 2 2 9 9 9 9 9 9
3 3 4 4 9 9 9 9 9 9
3 3 4 4 9 9 9 9 9 9
9 9 9 9 9 9
Zonal Majority: Zonal Maximum: Zonal Variety:
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ 9 9 9 9 ~ ~ 9 9 9 9 ~ ~ 1 1 1 1 ~
~ 9 9 9 9 ~ ~ 9 9 9 9 ~ ~ 1 1 1 1 ~
~ 9 9 9 9 ~ ~ 9 9 9 9 ~ ~ 1 1 1 1 ~
~ 9 9 9 9 ~ ~ 9 9 9 9 ~ ~ 1 1 1 1 ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Note:
'~' represents NoData
Article ID:000008520
Get help from ArcGIS experts
Download the Esri Support App