Raster Calculator (Spatial Analyst)

Summary

Builds and executes a single Map Algebra expression using Python syntax in a calculator-like interface.

Learn more about how Raster Calculator works

Illustration

Raster Calculator tool dialog box
Raster Calculator tool dialog box example

Usage

Syntax

RasterCalculator (expression, output_raster)
ParameterExplanationData Type
expression
NoteNote:

In Python, Map Algebra expressions should be created and executed with the Spatial Analyst module, which is an extension of the ArcPy Python site package.

See Map Algebra in Spatial Analyst to learn about how to perform your analysis in Python.

String
output_raster
NoteNote:

See Creating output from Map Algebra for information on producing output from Map Algebra expressions in Python.

Raster Dataset

Environments

Related Topics

Licensing Information

ArcView: Requires Spatial Analyst
ArcEditor: Requires Spatial Analyst
ArcInfo: Requires Spatial Analyst

6/29/2011