Skip To Content

Global functions

Available with Spatial Analyst license.

Overview

ArcGIS Pro now has a new type of raster function called global functions. Global functions provide you with the ability to perform processing at a specific resolution and extent. By default, global functions process rasters at the source resolution and full extent. This means that applying a global function may take some time, depending on the size of the outputs. You need to exercise prudence when using global functions, as applying them on inputs that are large, such as mosaic datasets, may result in long processing times.

Global functions are distinguishable from regular raster functions in many different ways. All global functions have a hammer icon Global Function to distinguish it from other raster functions. When you open a global function, or a raster function template that contains a global function, a notification will be displayed at the top of the function page indicating that these functions may take some time to complete. When editing the parameters of a global function in the Raster Function Editor or using a global function in a raster function template, the global function node has an icon on it that distinguishes it from regular raster functions.

It is recommended that when using global functions, you process data using the distributed raster analysis tools. This allows you to process data in a distributed fashion and allows processing time by global functions to be minimized.

List of global raster functions

Function nameDescription

Corridor function

Calculates the sum of accumulative costs for two input accumulative cost rasters.

This function is in the Distance category.

Cost Allocation function

Calculates, for each cell, its least-cost source based on the least accumulative cost over a cost surface.

This function is in the Distance category.

Cost Back Link function

Defines the neighbor that is the next cell on the least-accumulative cost path to the least-cost source.

This function is in the Distance category.

Cost Distance function

Calculates the least-accumulative cost distance for each cell from or to the least-cost source over a cost surface.

This function is in the Distance category.

Cost Path function

Calculates the least-cost path from a source to a destination.

This function is in the Distance category.

Euclidean Allocation function

Calculates, for each cell, the nearest source based on Euclidean distance.

This function is in the Distance category.

Euclidean Direction function

Calculates, for each cell, the direction, in degrees, to the nearest source.

This function is in the Distance category.

Euclidean Distance function

Calculates, for each cell, the Euclidean distance to the closest source.

This function is in the Distance category.

Fill function

Fills sinks and peaks in an elevation surface raster to remove small imperfections in the data.

This function is in the Hydrology category.

Flow Accumulation function

Creates a raster layer of accumulated flow into each cell. A weight factor can optionally be applied.

This function is in the Hydrology category.

Flow Direction function

Creates a raster layer of flow direction from each cell to its steepest downslope neighbor.

This function is in the Hydrology category.

Flow Distance function

Computes the minimum downslope horizontal or vertical distance to cell(s) on a stream or river into which they flow.

This function is in the Hydrology category.

Kernel Density function

Calculates a magnitude-per-unit area from point or polyline features, using a kernel function to fit a smoothly tapered surface to each point or polyline.

This function is in the Analysis category.

Least Cost Path function

Calculates the least-cost path from a source to a destination. The least accumulative cost distance is calculated for each cell over a cost surface, to the nearest source. This produces an output raster that records the least-cost path, or paths, from selected locations to the closest source cells defined within the accumulative cost surface, in terms of cost distance.

This function is in the Distance category.

Nibble function

Replaces selected cells of a raster with the value of their nearest neighbor. This is useful for editing areas of a raster where the data may be erroneous.

This function is in the Data Management category.

Path Distance function

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.

This function is in the Distance category.

Path Distance Allocation function

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.

This function is in the Distance category.

Path Distance Back Link function

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.

This function is in the Distance category.

Region Group function

Records, for each cell in the output, the identity of the connected region to which that cell belongs. A unique number is assigned to each region.

This function is in the Data Management category.

Stream Link function

Assigns unique values to sections of a raster linear network between intersections.

This function is in the Hydrology category.

Viewshed function

Determines the raster surface locations visible to a set of observer features using geodesic methods.

This function is in the Surface category.

Watershed function

Determines the contributing area above a set of cells in a raster.

This function is in the Hydrology category.

Zonal Statistics function

Calculates statistics on values of a raster within the zones of another dataset.

This function is in the Statistical category.

Geoprocessing environment settings

Geoprocessing environment settings for global functions are controlled at the application level. Setting processing environments in ArcGIS Pro can be done by clicking the Environments button on the Analysis tab. See Analysis environments and Spatial Analyst for additional details on environment settings.

Related topics