ArcGIS Spatial Analyst

What’s New for Spatial Analyst and Raster Analysis in ArcGIS Pro 2.5

Do you use Spatial Analyst extension for performing raster analysis?  With the release of ArcGIS Pro 2.5, we have made significant changes in the areas of distance analysis, multidimensional raster analysis, and zonal analysis. There is also whole host of improvements across many other areas.  If you are comfortable in ArcPy, there is an exciting new way to perform custom raster analysis.  Also in ArcPy, many new functions are available for analyzing, visualizing, and managing raster data using Python.

We will have many more blog posts coming that go into much more detail on some of these changes, and they will be linked to below.

Where do I get it?

ArcGIS Pro 2.5 was released of in February 6 of this year.

For a quick summary of all the changes that have been made for these releases, have a look at the What’s New topic (and video!) here:

You can download and install the latest version of ArcGIS Desktop 10.8 and ArcGIS Enterprise 10.8 with the links provided.

What’s changed for Spatial Analyst?

Here are the main categories of the changes.

  1. Distortion free distance analysis
  2. Multidimensional raster analysis
  3. Multiband raster analysis
  4. Zonal analysis
  5. General tool and function enhancements
  6. Iterating over raster cells using ArcPy
  7. Modifying raster cell values using ArcPy
  8. Enhanced multidimensional raster processing with ArcPy
  9. Additional raster functions available in ArcPy

 

1.  Distortion Free Distance Analysis

With ArcGIS Pro 2.5, Spatial Analyst sees a significant change in distance analysis capabilities.  First and foremost, a new algorithm for cost-based distance analysis provides more accurate and precise results than before.  By avoiding the distortion in output that was caused by the previously-used network model of cell connectivity, several benefits are achieved:

As part of making this improved capability available, the distance toolset has been reorganized into fewer but more capable tools.  The Corridor tool is carried over as-is. The new tools are:

Rest assured, all the tools that existed in the previous release are still available; they have simply been moved into a new sub-toolset.  We have a help topic that well covers the migration from legacy to distortion free distance tools.

To complement the new GP tools, two new raster functions are available in the Distance group:

Updates have been made to the following existing raster functions:

Related blog:

 

In ArcMap 10.8, the Distance toolset remains basically the same as before.  The only exception is that the Cost Path and Cost Path As Polyline tools have been updated with a new parameter which provides the option to make those tools treat the input backlink raster as a flow direction raster instead.

 

2.  Multidimensional Raster Analysis

As part of the increased focus on multidimensional analysis in the ArcGIS platform, a number of tools in various toolsets have been updated to directly support multidimensional raster data. There is also a new pathway for accessing multidimensional analytical tools directly from the ArcGIS Pro interface.

In the Multidimensional Analysis toolset, the following tools have improvements:

In the Extraction toolset, the Sample tool has several new parameters to process multidimensional data.  When processing this type of data, the tool has options to specify the following:

In the Zonal toolset, the Zonal Statistics tool, the Zonal Statistics as Table tool, and the Zonal Statistics raster function now have the Process as multidimensional parameter available, which allows you to calculate various statistics on each slice of a multidimensional value raster.

 In ArcGIS Pro, for the Raster Layer tab, the new Multidimensional tab is enabled when a multidimensional raster layer or a multidimensional mosaic layer is selected in the Contents pane. It provides tools and functionality for working with multidimensional raster data.

 

3.  Multiband Raster Analysis

Not to be confused with multidimensional rasters, multiband rasters are raster datasets that are composed of two or more raster bands, or layers, where each band is a measure of a single characteristic. The following tools have changes pertaining to how multiband raster data is handled. 

 

4.  Zonal Analysis

In response to an often-requested capability, the Zonal Statistics as Table tool now processes overlapping polygon zones. The statistics for each zone are calculates separately.

 

5.  General tool and function enhancements

In addition to the changes described above, some new other new tools and tool enhancements are available.

 

6.  Iterating over raster cells using ArcPy

With ArcGIS Pro 2.5, a powerful new capability to perform custom raster analysis is available to you in ArcPy.  Two classes are introduced that allow you iterate over rasters programmatically.

The RasterCellIterator class in the Spatial Analyst module allows you to visit each cell location in a raster. The iterator makes it easy to inspect cell values at each location, as well as neighboring locations. While iterating over a raster, you can read and write cell values.

The RasterInfo class in the ArcPy classes describes a set of raster properties that facilitate the creation of a new raster dataset using the Raster object. This class has several methods and properties available.

Related blogs:

 

7. Modifying raster cell values using ArcPy

The Raster object now allows you to read cell values using a [row, column] index notation (also known as neighborhood notation).  In addition to reading values, you can also assign a new value to a particular raster cell, thereby modifying the Raster object. Once the values of raster cells have been modified through an assignment, you can persist these changes by calling the save() method on the Raster object.

 

8. Enhanced multidimensional raster processing using ArcPy

The Raster object has more capabilities for processing multidimensional rasters.  The additional properties and methods are:

 

9. Additional raster functions available in ArcPy

In the Spatial Analyst module, many new ArcPy functions are available for analyzing, visualizing, and managing raster data using Python.  To keep things organized, they are grouped into functional categories, which you can see from Overview page.

 

New resources

Do you have our Spatial Analyst resources blog post bookmarked?

Not only does it include a list of links to informative content, we also work to keep it updated as new resources become available.  For example, here is some of the material that was recently added:

 

Summary

That about covers what’s changed since the last release.  Once you’ve downloaded and installed the latest versions of the software, give it a try.  We hope you will enjoy the improvements and enhancements.

About the author

Juan is a Product Engineer and Documentation Lead on the Spatial Analyst team. He has been working with raster analysis using Esri software since the good old days of ARC/INFO Workstation on UNIX machines.

Next Article

Then & Now Swipe Map

Read this article