# An overview of the Local tools

In a local function, the value at each location on the output raster is a function of the input values at the location. When computing a local function, you can combine the input rasters, calculate a statistic, or evaluate a criteria for each cell in an output raster based on the values of each cell from multiple input rasters.

The Local tools are divided into the following categories:

• Those that derive statistics between multiple rasters (Local Statistics, Majority, Max, Mean, Med, Min, Minority, Range, Std, Sum, and Variety)
• Those that combine multiple rasters (Combine)
• Those that determine the number of occurrences from an input list meeting a specified criterion (Equal To, Greater Than, and Less Than)
• Those that identify the value from an input list meeting a specified criterion (Popularity and Rank)
• Those that determine the position from an input list meeting a specified criterion (Highest Position, Lowest Position, LPos, and UPos)

The following table lists the available Local tools, provides a brief description of each, and identifies if the tool works in ArcToolbox, Map Algebra, or ArcObjects.

Tool Description ArcToolbox Map Algebra ArcObjects
Cell Statistics Calculates a per-cell statistic from multiple rasters. X

Combine Combines multiple rasters on a cell-by-cell basis within the Analysis window, so a unique output value is assigned to each unique combination of input values. X X X
Equal To Frequency Evaluates the number of times a set of rasters is equal to another raster on a cell-by-cell basis. X

EqualTo Evaluates, on a cell-by-cell basis within the Analysis window, the number of times in an argument list that the input raster values are equal to the value specified by the first argument.

X X
Greater Than Frequency Evaluates the number of times a set of rasters are greater than another raster on a cell-by-cell basis. X

GreaterThan Evaluates, on a cell-by-cell basis within the Analysis window, the number of times in an argument list that the input raster values are greater than the value specified by the first argument.

X X
Highest Position Determines, on a cell-by-cell basis within the Analysis window, the position of the input raster with the maximum value in the argument list. X

X
Less Than Frequency Evaluates the number of times a set of rasters is less than another raster on a cell-by-cell basis. X

LessThan Evaluates, on a cell-by-cell basis within the Analysis window, the number of times in an argument list that the input raster values are less than the value specified by the first argument.

X X
LocalStatistics Calculates the desired statistic on a cell-by-cell basis from multiple input rasters.

X
Lowest Position Determines, on a cell-by-cell basis within the Analysis window, the position of the input raster with the minimum value in the argument list. X

X
LPos Determines, on a cell-by-cell basis within the Analysis window, the position of the input raster with the minimum value in the argument list.

X

Majority Uses multiple input rasters to determine the majority value— that is, the value that appears most often—on a cell-by-cell basis within the Analysis window.

X

Max Uses multiple input rasters to determine the maximum value on a cell-by-cell basis within the Analysis window.

X

Mean Uses multiple input rasters to determine the mean value on a cell-by-cell basis within the Analysis window.

X

Med Uses multiple input rasters to determine the median value on a cell-by-cell basis within the Analysis window.

X

Min Uses multiple input rasters to determine the minimum value on a cell-by-cell basis within the Analysis window.

X

Minority Uses multiple input rasters to determine the minority value— that is, the value that appears least often—on a cell-by-cell basis within the Analysis window.

X

Popularity Determines the value in an argument list that is at a certain level of popularity on a cell-by-cell basis within the Analysis window. The particular level of popularity (the number of occurrences of each value) is specified by the first argument. X X X
Range Uses multiple input grids to determine a range of values on a cell-by-cell basis within the Analysis window.

X

Rank Returns the value in the <'n'>th position in the rank order of the argument list, which is created using the specified multiple input rasters on a cell-by-cell basis within the analysis extent. X X X
Std Uses multiple input rasters to determine the standard deviation on a cell-by-cell basis within the Analysis window.

X

Sum Outputs the sum of all input values on a cell-by-cell basis within the Analysis window.

X

UPos Determines, on a cell-by-cell basis within the Analysis window, the position of the input raster with the maximum value in the argument list.

X

Variety Uses multiple input rasters to determine the variety of the values—that is, the number of unique values—on a cell-by-cell basis within the Analysis window.

X