ArcGIS Pro

Setting a Geoprocessing Extent Just Got Better in ArcGIS Pro 3.3

Approximate Reading Time: 5 minutes

ArcGIS Pro 3.2 introduced a redesigned processing extent control that improved its usability and consistency when defining an extent for geoprocessing workflows. Now in ArcGIS Pro 3.3 we’ve taken it even further with new capabilities to make the extent control better than ever.

The processing extent control from ArcGIS Pro 1.0 to 3.3
The extent control in ArcGIS Pro 1.0 - 3.1 (left), 3.2 (middle) and 3.3 (right).

Set a Processing Extent

Before diving into the enhancements, let’s get a refresher on the processing extent and when you might want to use it. A processing extent defines a rectangular area of interest for geoprocessing tools, where only the features or raster cells that intersect the specified area are processed by the tool. Specifying a processing extent is a common best practice when performing spatial analysis to achieve optimal performance and get results inside a project’s study area.

Representation of a processing extent defined by the extent control.
Visual representation of a processing extent defined by the extent control.

You can set a processing extent in the following three places:

  1. As a parameter in tools like Make Raster Layer, Generate Tessellation, Create Random Points, etc.
  2. In the project environments for all the tools you run in your project using the geoprocessing environments settings.
  3. As an environment for the individual tools you run using the Environments tab.

New Extent Options in ArcGIS Pro 3.3

The new options to specify the extent in ArcGIS Pro 3.3 include:

Keep reading to learn more about how to use these new options to set a processing extent!

Example: Calculate the distance from grocery stores within a specified area

Access to nutritious and affordable food is important to maintaining a healthy life. One measure of accessibility to healthy food sources is by distance from food stores (USDA, accessed April 2024).

Using the point locations of grocery stores in North Carolina, find the distance to a store within a specified area.

Grocery stores in NC
Grocery stores in North Carolina

On the Geoprocessing pane, open the Distance Accumulation tool, which we’ll use to create a raster dataset of the distance per cell from each grocery store.

Set the following Parameters:

(1) Set the Input Raster or Feature Sources to the grocery stores dataset.

(2) Specify the Output Distance Accumulation Raster with a name and location.

Note: You can leave the other parameters with their default values.

(3) By default, the output accumulation raster will cover the extent of the input raster or features. Rather than calculating the distance for the entire state, open the Environments tab on the tool to set a Processing Extent that will only apply to this specific tool run.

Distance Accumulation
The Distance Accumulation tool’s Parameters and Environments tabs

Draw Exent

Use Draw Extent Draw Extent to interactively draw a rectangle on the map around your area of interest.

Clicking Draw Extent Draw Extent adds a new layer to the map and creates a feature class in your default geodatabase to store the extent you will draw. An edit session will start, and a rectangle drawing tool will activate. Click on the map to place the first corner of the extent rectangle, then a second click will complete the drawing and automatically save the edits. Since the drawn extent is saved in your default geodatabase, you can close your project and still be able access the same extent or use it in other projects.

Note: The feature class name may not match the new layer name. Refer to the layer properties to determine the feature class name and location.

Draw Extent example
Sketch an extent using the Draw Extent option

Tip: When the drawing tool is active, you can right-click on the map to see more options! Including the options to specify the absolute X, Y, and Z values, the length and width of the rectangle, or finish or cancel your drawing.

Extent of a Layer

If you would like to focus on a specific location, such as a county or census tract, you could choose a layer from the Extent of a Layer  menu  Layer. New in ArcGIS Pro 3.3, you can now choose between 3 different options on each layer to get the extent from the following:

Get the extent from a layer
Choose between 3 new options to get the extent from a layer.

Note: When using visible or selected features of a layer, the extent will still be a rectangular bounding box that covers the selected or visible features. It will not be an irregular polygon shape matching the exact geometry of the features (it is not like a clipping mask).

Clipboard

The processing extent control now has a Clipboard menu  clipboard  that you can use to copy or paste the X and Y Extent and the Extent Coordinate System to your clipboard.

Clipboard menu
Use the Clipboard menu to copy or paste the coordinates and coordinate system

The copied and pasted extents use the same formatting as the ArcPy Extent object: {XMin} {YMin} {XMax} {YMax} {spatial_reference}. Making it easy to copy and paste between the geoprocessing tool UI and a Python script!

For example, copy then paste the following X and Y Extent for Wake County, NC with the Extent Coordinate System set to NAD 1983 State Plane North Carolina in the extent control:

2001461.67515977 643847.543927014 2221711.15347558 846859.356425396 PROJCS[“NAD_1983_StatePlane_North_Carolina_FIPS_3200_Feet”,GEOGCS[“GCS_North_American_1983”,DATUM[“D_North_American_1983”, SPHEROID[“GRS_1980”,6378137.0,298.257222101]],PRIMEM[“Greenwich”,0.0],UNIT[“Degree”,0.0174532925199433]], PROJECTION[“Lambert_Conformal_Conic”],  PARAMETER[“False_Easting”,2000000.002616666],PARAMETER[“False_Northing”,0.0],PARAMETER[“Central_Meridian”,-79.0],PARAMETER[“Standard_Parallel_1”,34.33333333333334], PARAMETER[“Standard_Parallel_2”,36.16666666666666],PARAMETER[“Latitude_Of_Origin”,33.75],UNIT[“Foot_US”,0.3048006096012192]]

Result

Run the tool using the pasted extent.

The output is a raster dataset of the distance (in feet) from each grocery store within the specified extent.

output raster
The output raster for the Distance Accumulation tool

Note: The processing extent is always a rectangular area. You can use the Mask (Environment setting) if you would like the output to contain only the cells that fall within the county boundary.

Summary

In ArcGIS Pro 3.3, the processing extent control has more options that can simplify your workflows and provide seamless transition between running tools in the user interface and Python scripts. Use the new options to interactively draw the extent, set the extent using a selection on a layer or from the features visible on the map, or copy and paste the extent using the clipboard.

About the author

Margaret is a Product Engineer on the Geoprocessing team. Her passion for GIS began with her interest in human-environmental relationships, and her graduate studies utilized spatial analysis to study the growing impact of flood-induced cascading disasters caused by sea level rise. Margaret leverages her foundation in research methodologies and spatial analysis techniques in her role at Esri, where she creates written content and demonstrations on technical concepts and functions in ArcGIS Pro. She also contributes to refining and redesigning geoprocessing tools and functions with additional capabilities and improved usability. In her personal life, Margaret is a loving cat parent to three cats, and enjoys swimming and snowboarding.

Connect:
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments

Next Article

Your Guide to 3D GIS at UC 2024

Read this article