The latest updates to the ArcGIS platform are now available! If you are a user of the Spatial Analyst extension, or do Raster Analysis in general, read on for all the details on what’s new and what’s changed.
Where do I get it?
We released ArcGIS Pro 2.3 and ArcMap Desktop 10.7 and Enterprise 10.7 in January of this year. Just in time for UC2019, we’ve also released the follow on versions of ArcGIS Pro 2.4, ArcGIS Desktop 10.7.1 and ArcGIS Enterprise 10.7.1, with updates and even more new functionality. You can click on those links to download and install the software right now.
For a quick summary of all the changes that have been made for these releases, have a look at their respective What’s New topics:
- What’s New in ArcGIS Pro 2.3 (video)
- What’s New in ArcGIS Pro 2.4 (video)
- What’s New in ArcMap 10.7.1
- What’s New in ArcGIS Enterprise 10.7.1 Portal (video)
What’s changed?
Here are the main categories of the changes.
- New and updated geoprocessing tools in ArcGIS Pro and ArcMap.
- New and updatead Raster Functions available in Pro.
- Updates to the Raster Object and new ArcPy Functions in the Spatial Analyst module.
- Updates to the Raster Analysis toolbox.
- Raster Analysis through the Map Viewer.
- Raster Analysis in the ArcGIS REST API.
The specific version and platform that new functionality was first introduced at will be identified.
1. Geoprocessing with the Spatial Analyst extension
Many geoprocessing tools have been updated for the Spatial Analyst extension for ArcGIS Pro 2.3 and 2.4, as well as for ArcMap 10.7 and 10.7.1. We have a new toolset with some tools for multidimensional analysis in Pro2.4. Also, a new environment was introduced in Pro 2.3 and ArcMap 10.7 that gives more control over how cell size is managed during projection.
New environment for controlling cell size during projection
In Pro 2.3 and ArcMap 10.7, a new analysis environment setting, Cell Size Projection Method was introduced, and is available for the majority of Spatial Analyst tools. This setting gives you control over how the output raster cell size will be calculated when datasets are projected during analysis. The default method is equivalent to the method used in previous releases, so there won’t be any change in your results unless you choose one of the other two methods. As for the new options, one method is geared to preserve the resolution, so that the same number of square cells are preserved in the projected extent as are in the original extent. In the other new method, the center of the original extent is projected to the output coordinate system and used to calculate an average output cell size.
The following links give more details on this environment:
- Cell Size Projection Method environment (2.3 | 10.7)
- How the Cell Size Projection Method environment setting works (2.3 | 10.7)
- How the analysis window is determined in Spatial Analyst (2.3 | 10.7)
- Introducing the new resolution preserving cell size projection method (Blog)
Distance toolset
In Pro 2.4 and ArcMap 10.7.1, a new Euclidean Back Direction tool calculates the direction to the neighboring cell along the shortest path back to the closest source, while avoiding barriers. The Euclidean tools, Euclidean Allocation, Euclidean Direction, and Euclidean Distance, have two new parameters to support calculating direction around barriers. The new parameters are input_barriers and out_back_direction_raster. The Cost Path As Polyline tool has been expanded to use the new back direction raster, being output from the Euclidean tools, as input, so that paths can be created around barriers.
Extraction toolset
In the extraction toolset for Pro 2.3 and ArcMap 10.7, the following tools have been re-engineered for better performance: Extract Multi Values to Points, Extract Values to Points, and Sample. The interpolation methods have also been improved for these tools. The Sample tool now supports image services on multidimensional data.
Generalization toolset
The Expand and Shrink tools in Pro 2.4 each have a new parameter giving you a choice of method to perform the operation. The default Morphological option returns the same result as in previous releases. The Distance option uses a distance-based method that also supports parallel processing for improved performance on large inputs.
Hydrology toolset
The Flow Distance tool in Pro 2.3 and ArcMap 10.7 has a new parameter, statistics_type, that determines the statistics type used to compute flow distance over multiple flow paths.
Multidimensional Analysis toolset
A new Multidimensional Analysis toolset is now available in ArcGIS Pro 2.4. It contains two new geoprocessing tools with which you can aggregate your data over time and calculate anomalies in your variables. The Aggregate Multidimensional Raster tool generates a CRF multidimensional raster dataset by aggregating existing multidimensional dataset variables along a dimension. The Generate Multidimensional Anomaly tool computes the anomaly for each slice in a multidimensional raster to generate a multidimensional dataset.
Neighborhood toolset
The Focal Statistics tool in Pro 2.3 and ArcMap 10.7 now supports the Parallel Processing Factor environment, allowing multiple processors to be used when calculating statistics of the output raster for improved performance.
In Pro 2.4 and ArcMap 10.7.1, this tool has a new Percentile statistics type available. With this option selected, a new parameter percentile_value is available, which allows you to specify the which percentile you wish to calculate. The value range is from 0 to 100, with a default of 90. The Median statistic option now supports floating point input rasters, and for increased accuracy, the output will always be floating point.
Segmentation and Classification toolset
The Export Training Data For Deep Learning tool in Pro 2.4 has two new parameters to help generate image chips for deep learning workflows. The in_mask_polygons parameter allows you to limit the area where image chips will be generated, and rotation_angle specifies the angle to use for data augmentation. Additionally, Labeled Tiles is now a supported metadata format.
- Note: The Deep Learning Model to ECD tool has been deprecated at Pro 2.3 and ArcMap 10.7. The functionality has been replaced by that of the Export Training Data For Deep Learning tool.
Surface toolset
The Contour tool in Pro 2.3 and ArcMap 10.7 has improved performance for most polygon and polyline output.
The Contour and Contour List tools in Pro 2.4 and ArcMap 10.7.1 now support multicore processing with the Parallel Processing Factor environment.
2. Raster Functions available in Pro with the Spatial Analyst extension license
Raster Functions are a great way to quickly perform raster operations on your data. In ArcGIS Pro 2.3 and 2.4, several new Global raster functions are available, and enhancements have been made to many Local raster functions. Listed below are links to those functions, and indication of what version of Pro that capability appears. On each of the help function pages, you’ll see it noted if a Spatial Analyst or Image Analyst is required.
Data Management
- Region Group—Determines, for each input cell, the identity of the connected region to which that cell belongs. (2.3)
- Expand—Increases the size of selected zones. (2.4)
- Shrink—Reduces the size of selected zones. (2.4)
Distance analysis
- Corridor—Calculates the sum of accumulative costs for two input accumulative cost rasters. (2.3)
- Path Distance—Calculates, for each cell, the least accumulative cost distance from or to the least-cost source, while accounting for surface distance along with horizontal and vertical cost factors. (2.3)
- Path Distance Allocation—Calculates the least-cost source for each cell based on the least accumulative cost over a cost surface, while accounting for surface distance along with horizontal and vertical cost factors. (2.3)
- Path Distance Back Link—Defines the neighbor that is the next cell on the least accumulative cost path to the least-cost source, while accounting for surface distance along with horizontal and vertical cost factors. (2.3)
- Euclidean Back Direction—Calculates , for each cell, the direction, in degrees, to the neighboring cell along the shortest path back to the closest source while avoiding barriers. (2.4)
- The Euclidean Allocation, Euclidean Direction, and Euclidean Distance functions have been updated to now support input barriers. (2.4)
Hydrology analysis
- Flow Distance has a new parameter, Statistics Type, that determines the statistics type used to compute flow distance over multiple flow paths. (2.3)
- Flow Length—Creates a raster layer of upstream or downstream distance along the flow path. (2.4)
- Sink—Creates a raster layer identifying all sinks or areas of internal drainage. (2.4)
- Snap Pour Point—Snaps pour points to the cell of highest flow accumulation within a specified distance. (2.4)
- Stream Order—Assigns a numeric order to segments of a raster representing branches of a linear network. (2.4)
Neighborhood analysis
- The Focal Statistics function introduced in Pro 2.3 calculates, for each input cell location, a statistic of the values within a specified neighborhood around it.
- In Pro 2.4, this function has been enhanced in several ways:
- There is a new statistic type, Percentile. When this type is selected, another parameter appears, Percentile Value, that allows you to specify the percentile to calculate. The range is 0 to 100, inclusive, and can be a decimal value. The default is 90, which will calculate the 90th percentile value for each neighborhood.
- The Median statistic now accepts floating-point input, and the result is now always floating point.
- There is a new option to load and save a custom kernel file for use with the Irregular and Weight neighborhoods.
Reclassification
- Lookup—Creates a raster by looking up values found in another field in the table of the input raster. (2.3)
Multidimensional data support in raster functions
In Pro 2.4, most local raster functions now support multidimensional rasters as input. The exceptions are the global raster functions, and a few functions that do not have a raster as the primary input.
3. ArcPy Spatial Analyst module
In ArcGIS Pro 2.4, the ArcPy Spatial Analyst module has been extended to support multidimensional data.
The Raster object in ArcPy Classes has new capabilities for managing and processing multidimensional data in the Python environment.
- The raster object has a new Boolean parameter, is_multidimensional, that you can use to specify that the input raster is to be treated as multidimensional.
- The mdinfo property returns multidimensional information about the raster dataset, including variable names and dimension names, as well as sub-components of each.
- The slices property returns attribute information of each slice, including its variable name, dimension names, and dimension values returned as a list of dictionaries.
- The variable and variableNames properties return information on the variables and their dimensions in the multidimensional raster dataset.
Several new Functions are available in the Spatial Analyst ArcPy module for creating raster objects that support multidimensional data.
- The Anomaly function creates a raster object that contains the anomaly pixel values of the input multidimensional raster, based on a time dimension interval and the anomaly calculation method.
- The Apply function creates a raster object by applying a raster function or function chain to one or more input rasters.
- The Foreach function creates a raster object by applying a raster function or a customized function template to every slice in the input multidimensional raster.
- The Subset function creates a raster object that is a subset of the input multidimensional raster based on selected variables and dimension intervals.
4. Raster Analysis tools with ArcGIS Enterprise
When signed in to an Enterprise portal that is configured for raster analysis, the following toolsets have new and enhanced functionality available.
Hydrology toolset
- The Flow Distance tool has a new parameter, statisticsType, that determines the statistics type used to compute flow distance over multiple flow paths. (2.3)
Use Proximity toolset
- The new Cost Path As Polyline tool calculates the least-cost path from a source to a destination as a line feature. (2.4)
- The Determine Travel Cost Path As Polyline tool has a new parameter, destinationField, that can be used to obtain values for the destination locations. (2.4)
- The Calculate Distance tool has three new parameters, distanceMethod, inputBarrierRasterOrFeatures, and outputBackDirectionName. (2.4)
5. Raster Analysis in the Map Viewer with ArcGIS Enterprise
10.7 release
Two new tools are exposed in Map Viewer through the Enterprise portal:
- Classify Pixels Using Deep Learning—Runs a trained deep learning model on an input raster to produce a classified raster, with each valid pixel having a class label assigned.
- Detect Objects Using Deep Learning—Runs a trained deep learning model on an input raster to produce a feature class containing the objects it finds. The features can be bounding boxes or polygons around the objects found, or points at the centers of the objects.
The Raster function editor is a visual programming interface for building imagery and raster analysis processing chains. The workflows can be saved as raster function templates (RFTs), which can automate your image analyses and processes. You can create and modify RFTs in the function editor panel. The Raster function editor is exposed in Map Viewer through the Enterprise portal.
10.7.1 release
Enhancements have been made to two existing tools exposed in Map Viewer through the Enterprise portal.
- Calculate Distance has three new parameters:
- Use the Choose raster or feature layer to represent barriers parameter to incorporate barriers into the distance calculations.
- Use the Distance Method parameter to select between planar and a new geodesic method for calculating distance.
- Create an optional Result back direction layer name. This new output along with Euclidean distance can be used in new service tool Cost Path As Polyline to find paths.
- Determine Travel Cost Path As Polyline has a new parameter, Choose field to obtain values for destination, with which you can specify which field of the input to use to obtain values for the destination locations.
- A new service tool is available, Cost Path As Polyline, which can be accessed through the REST API or a geoprocessing tool in ArcGIS Pro when connected to a Portal. This tool can be used to calculate the least-cost path from a source to a destination.
6. Raster Analysis in the ArcGIS REST API
For performing Raster Analysis through a REST API, one new service task was added, and several others have new parameters available.
Tasks that perform hydrologic analysis (10.7)
- For the Flow Distance task, a new parameter, statisticsType, was added.
Tasks that use proximity for performing analysis (10.7.1)
- A new Cost Path As Polyline task was added.
- For the Determine Travel Cost Path As Polyline task, a new parameter destinationField was added.
- For the Calculate Distance task, three new parameters were added, distanceMethod, inputBarrierRasterOrFeatures, and outputBackDirectionName.
Tasks that use deep learning to detect objects (10.7.1)
- For the Export Training for Deep Learning task, four new parameters were added : classValueField, bufferRadius, inputMaskPolygons, and rotationAngle.
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 added recently :
- Getting the most out of Zonal Statistics blog post.
- Propose Wildlife Corridors for Key Species Learn lesson.
- Introducing the new resolution preserving cell size projection method blog post.
- Doing more with Euclidean Distance: Barriers and Paths blog post.
Summary
That’s a quick survey of the new and improved functionality we’ve been working on over the past year. Once you’ve downloaded and installed the latest versions of ArcGIS Pro, Desktop, and Enterprise, try them out, and be sure to explore the new capabilities on offer. As always, please report back any issues you encounter through the Support channels or GeoNet, so we can get started on studying them.
Commenting is not enabled for this article.