Summarize Raster Within

Summarize Raster Within tool


This tool summarizes the values of a raster within the zones of another dataset.

Some example application of this tool includes the following:

If Use current map extent is checked, only those features in the input layer and the layer to be summarized that are visible within the current map extent will be analyzed. If unchecked, all features in both the input layer and the layer to be summarized will be analyzed, even if they are outside the current map extent.

Choose area layer to summarize a raster layer within defined boundaries


The input that defines the boundaries of the zones, or areas, that will be summarized.

The input can be an integer raster or feature data. For rasters, the zones are defined by all locations in the input that have the same cell value. For features, the zones can be overlapping. The areas do not have to be contiguous.

Choose field to define the boundaries


The field that contains the values that define each zone.

It can be an integer or a string field of the zone dataset.

Choose raster layer to summarize


The raster that contains the values on which to calculate a statistic.

It can be either integer or floating point. However, when it is floating-point type, the options for calculating majority, minority, and variety will not be available.

Choose statistic to calculate


Specifies the statistic type to be calculated.

The input can be one of the following: Average, Majority, Maximum, Median, Minimum, Minority, Percentile, Range, Standard deviation, Sum, or Variety. The default is Average.

Percentile value


The percentile to calculate. The default is 90, indicating the 90th percentile.

The value can range from 0 to 100. The result of specifying the 0th percentile is essentially equivalent to that of the minimum statistic, and the 100th percentile is equivalent to maximum. A value of 50 will produce essentially the same result as the median statistic.

This parameter is only supported if the Choose statistic to calculate parameter is set to Percentile.

Ignore missing values in calculation


Specifies whether missing values are ignored in the analysis.

  • Checked—The analysis will include the cells that have a value in the input value raster within any particular zone to determine the output value for that zone. NoData cells in the value raster will be ignored in the statistic calculation. This is the default.
  • Unchecked—The analysis will result in NoData if there are any NoData values for the cells of the value raster within a particular zone.

Process as multidimensional


Specifies how the input multidimensional image services will be processed if they are multidimensional.

  • Checked—The statistics will be calculated from the current slice of the input multidimensional dataset. This is the default.
  • Unchecked—The statistics will be calculated for all dimensions of the input multidimensional dataset.

Result layer name


The name of the layer that will be created in My Content and added to the map. The default name is based on the tool name and the input layer name. If the layer already exists, you will be prompted to provide another name.

You can specify the name of a folder in My Content where the result will be saved using the Save result in drop-down box. If you have the privileges to create both tiled and dynamic imagery layers, you can specify which layer type to generate in the output using the Save result as drop-down box.