ArcGIS Desktop – Zonal Statistics Not Working Properly

arcgis-desktopspatial-analystzonal statistics

I have two rasters, one that describes different zones of the world and a second one which is the input raster that has continuous values for a variable.

I am using the Zonal Statistics tool to compute the sum of the values in the input raster aggregated at the level of the Zone Raster. Nevertheless, it is not working properly.

From my reading of the Esri forum and other posts the usual problem is that the input cells do not have any centers within a zone.

However, this is not the case in my problem. As you can see in the picture below, the different zones defined by my feature zone raster have this gray border and my input raster contains values that are being showcased in a yellow to blue scale.

The black zones are the ones computed by using the Zonal Statistics tool as a sum of all the values of each cell within the zone. Clearly, the tool is missing many different features that have a lot of cells inside.

Fig 1.

I am new to ArcGIS Desktop and at this point I am only using point and click commands.

Best Answer

You should use zonal statistics from Spatial Analyst tools. With this tool you define 2 inputs:

  1. Raster or Shapefile containing the zone
  2. Raster with the values.

Simple tutorial:

https://youtu.be/HO1jNZitQBI

Related Question