The Calculate Density tool creates a density raster map from point or line features by spreading known quantities of a phenomenon (represented as attributes of the points or lines) across the map or scene.
The outputs are hosted imagery layers.
Learn more about how Kernel Density works
Examples
Uses include analyzing density of housing or occurrences of crime for community planning purposes and exploring how roads or utility lines influence wildlife habitat.
Usage notes
Calculate Density includes configurations for input layers, analysis settings, and the result layer.
Input layers
The Input layers group includes the following parameters:
Input point or line features is the input point or line layer that will be used to calculate density. For feature inputs, a count of features is displayed below the layer name. The count includes all features in the layer, except features that have been removed using a filter. Environment settings, such as Processing extent, are not reflected in the feature count.
Population field specifies the number of incidents at each location.
If the default value of None is used, each location will be assumed to represent a single count.
Input barrier features specifies the dataset that defines the barriers. The barriers can be a feature layer of polyline or polygon features. You can choose a layer using the Layer button, or you can create a sketch layer to use as the input using the Draw input features button. For feature inputs, a count of features is displayed below the layer name. The count includes all features in the layer, except features that have been removed using a filter. Environment settings, such as Processing extent, are not reflected in the feature count.
Analysis settings
The Analysis settings group includes the following parameters:
Output cell size is the cell size of the output raster.
The available units are feet, international feet, international yards, miles, statute miles, meters, and kilometers.
Search distance is the distance that will be searched to find point or line features when calculating density values.
The available units are feet, international feet, international yards, miles, statute miles, meters, and kilometers.
Area units specifies the output area unit. Density is count divided by area, and this parameter specifies the unit of the area in the density calculation.
The available area units are square miles, square feet, square meters, and square kilometers.
Result layer
The Result layer group includes the following parameters:
Output raster name is the name of the output density raster layer that will be created and added to the map or scene.
The name must be unique. If a layer with the same name already exists in your organization, the tool will fail and you will be prompted to use a different name.
- Output layer type specifies the type of raster output that will be created. The output can be either a tiled imagery layer or a dynamic imagery layer.
- Save in folder specifies the name of a folder in My content where the result will be saved.
Limitation
The Draw input features button is not available in Scene Viewer.
Environments
Analysis environment settings are additional parameters that affect a tool's results. You can access the tool's analysis environment settings from the Environment settings parameter group.
This tool honors the following analysis environments:
- Output coordinate system
- Geographic transformations
- Processing extent
Note:
The default processing extent is Full extent. This default is different from Map Viewer Classic in which Use current map extent is enabled by default.
- Snap raster
- Cell size
- Mask
Credits
This tool consumes credits.
Use Estimate credits to calculate the number of credits that will be required to run the tool. For more information, see Understand credits for spatial analysis.
Outputs
The output is a raster layer that contains the calculated density values.
Usage requirements
This tool requires the following user type and configurations:
- Professional or Professional Plus user type
- Publisher, Facilitator, or Administrator role, or an equivalent custom role with the Imagery Analysis privilege
References
- Silverman, B. W. Density Estimation for Statistics and Data Analysis. New York: Chapman and Hall, 1986.
Resources
Use the following resources to learn more:
- How Kernel Density works
- Calculate Density in ArcGIS REST API
- calculate_density in ArcGIS API for Python
- Calculate Density in ArcGIS Pro with the Raster Analysis extension
- Kernel Density in ArcGIS Pro with the Spatial Analyst extension