How is the raster calculator used in ArcGIS Pro?

How is the raster calculator used in ArcGIS Pro?

Like other geoprocessing tools, the Raster Calculator tool can be used in ModelBuilder, allowing the power of Map Algebra to be more easily integrated into your workflows. The Raster Calculator tool is not intended to be used in scripting environments and is not available in the standard Spatial Analyst ArcPy module.

What kind of algebra is used in raster calculator?

Map Algebra is a simple and powerful algebra with which you can execute all Spatial Analyst tools, operators, and functions to perform geographic analysis. The Map Algebra used in Raster Calculator has a syntax, or a set of rules, that must be followed to create a valid expression.

Can a raster calculator be used in a compression environment?

Certain Raster storage environments may apply to this tool when output is in a raster format other than Esri Grid. For the Raster Statistics environments, only the Calculate Statistics check box is supported. For the Compression environments, only the type of Compression is supported.

How is a map algebra expression created in ArcGIS?

There are four main areas in the tool dialog box that are used to create a Map Algebra expression: The input Layers and variables list identifies the input that can be used in the Map Algebra expression. If you are using the tool standing alone, the list will contain the layers in the table of contents.

How to build expressions in raster calculator tool?

When building expressions in the Raster Calculator tool, clicking and double-clicking on the various layers, variables, buttons, and tool names available in the dialog box will help you to avoid syntax errors that may otherwise be made while typing.

How are variables connected to the raster calculator?

Variables are connected to the Raster Calculator tool when they are selected from the list of variables. All variables are automatically listed in the Variable list inside the tool. When a dataset or variable is used in the expression, a link between the variable and the tool will be created.

Do you need to cast input data as a raster object?

The only differences are the following: You do not need to put the output raster name or the = sign in the expression because the output name is specified in the Output raster parameter. You do not need to cast input data as a Raster object when using operators.