Raster Calculator (Spatial Analyst)

License Level:BasicStandardAdvanced

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

ArcGIS for Desktop Basic: Requires Spatial Analyst
ArcGIS for Desktop Standard: Requires Spatial Analyst
ArcGIS for Desktop Advanced: Requires Spatial Analyst
4/10/2014