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

Help

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

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 through Python.

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

Module components

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

ComponentsDescription

Spatial Analyst components

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

Raster Functions

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

ArcPy Classes

Raster

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

Spatial Analyst components
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