ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

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
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

What is the Spatial Analyst module

Available with Spatial Analyst license.

  • Module components

The Spatial Analyst module is a Python module for analyzing raster data with the functionality provided by the ArcGIS Spatial Analyst extension. It provides access to all the geoprocessing tools available in the Spatial Analyst toolbox as well as other helper functions and classes that allow you to more easily automate your workflows using Python.

The module has three major components: Classes, Operators, and Functions.

Module components

The functional components of Spatial Analyst, and some other useful components, are identified below.

Spatial Analyst components

ComponentsDescription

Classes

Spatial Analyst classes are primarily used for defining parameters for Spatial Analyst tools that may have varying numbers of arguments depending on the parameter type selected (for example, the neighborhood type) or when the number of entries in the parameters can vary depending on the specific situation (for example, a reclass table). By using classes for parameters, you can access and programmatically change any of the individual entries in the parameter.

Operators

Spatial Analyst Map Algebra supports a series of operators. The operators can be grouped into Arithmetic, Bitwise, Boolean, and Relational categories. The available operators and their categories are listed below.

Functions

Functions are available to apply environment settings to an existing raster.

ArcPy Functions

FunctionsDescription

Raster functions

The ArcPy raster functions primarily convert Rasters to NumPy arrays and NumPy arrays to rasters.

ArcPy Classes

ClassesDescription

Raster

The Raster ArcPy class creates a raster object that can be used in Python scripting or in a Map Algebra expression.

Related topics

  • A quick tour of ArcPy
  • An overview of Spatial Analyst classes
  • An overview of the Map Algebra Operators
  • An overview of the Spatial Analyst Toolbox
  • A quick tour of Spatial Analyst

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS Platform

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

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2019 Esri. | Privacy | Legal