ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcGIS Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

What is Map Algebra?

Available with Spatial Analyst license.

Map Algebra is a simple and powerful algebra with which you can execute all Spatial Analyst tools, operators, and functions to perform geographic analysis. Map Algebra is available through the Spatial Analyst module; an extension of the ArcPy Python site package. As Map Algebra has been integrated in Python, all the functionality of Python and ArcPy and its extensions (modules, classes, functions, and properties) is available to you.

Spatial Analyst tools are accessed through an algebraic format. That is, an object whose name is identified to the left of an equal sign is created based on a tool or operator stated to the right of the equal sign.

from arcpy.sa import *
outRas = Slope("indem")

The above statement calculates the slope for each cell in the indem dataset and creates a Raster object called outRas to store the results. Specific information on importing the Spatial Analyst module to utilize Map Algebra can be found at Importing the Spatial Analyst module.

Map Algebra within Python is composed of tools, operators, functions, and classes. For more information on the syntax rules of Map Algebra, refer to the following resources:

  • Overview of the rules for Map Algebra
  • Working with raster objects
  • The Raster object
  • An overview of Spatial Analyst classes
  • Building complex statements
Legacy:

Map Algebra in ArcGIS 10 is very similar in use and syntax to Map Algebra used in prior releases of ArcGIS. Any differences are to take advantage of the integrated Python environment, providing a more powerful modeling experience.

  • Comparing Map Algebra between ArcGIS versions 9.x and 10)

Related Topics

  • What is the Spatial Analyst extension?
  • A quick tour of using Map Algebra
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal