HOW TO

Clip or extract an area of a raster image using polygon features in ArcGIS Pro

Last Published: August 28, 2023

Summary

In ArcGIS Pro, certain areas of a raster dataset can be clipped for better spatial analysis and data visualization. This article provides two workflows to clip or extract areas populated by polygon features in a raster dataset.

Raster image containing polygon features.png

Procedure

Use Raster Functions to apply the Clip function to the raster

  1. Open the ArcGIS Pro project.
  2. Create polygon features on the area of the raster image that must be clipped. Refer to ArcGIS Pro: Create polygon features for instructions.
  3. Use the Clip raster function to clip the polygons from the raster image.
    1. Navigate to the top ribbon, click the Imagery tab, and in the Analysis group click Raster Functions to open the Raster Functions pane. Search and select the Clip function.
    2. In the Clip Properties pane, for Raster, click the drop-down menu and select the raster data to be clipped.
    3. For Clipping Type, click the drop-down menu and select Inside.
    4. For Clipping Geometry/Raster, click the drop-down menu and select the polygon feature layer.
    5. Check the Use input features for clipping geometry check box.
    6. Click Create new layer.
Configuration of raster clip properties.png

Use the Erase and Extract by Mask tool

  1. Open the ArcGIS Pro project.
  2. Create polygon features on the area of the raster image that must be clipped. Refer to ArcGIS Pro: Create polygon features for instructions.
  3. Create a new feature class with a rectangular polygon to cover the extent of the raster data containing the original polygon feature. Refer to ArcGIS Pro: Create a stand-alone feature class for further instructions.
New polygon feature layer covering raster image with polygons.png
  1. Erase the polygon features from the rectangular polygon.
    1. Navigate to the Analysis tab and click Tools to open the Geoprocessing pane.
    2. In the Geoprocessing pane, search for and select the Erase tool.
    3. For Input Features, click the drop-down and select the rectangular polygon covering the extent of the raster data.
    4. For Erase Features, click the drop-down and select the polygon feature layer on the raster data.
    5. Click Run.
View of the polygon feature layer after using the Erase tool.png
  1. Extract the raster data.
    1. Navigate to the Analysis tab and click Tools to open the Geoprocessing pane.
    2. In the Geoprocessing pane, search for and select the Extract by Mask tool.
    3. For Input Raster, click the drop-down menu and select the desired raster data to be clipped.
    4. For Input raster or feature mask data, click the drop-down menu and select the output layer from Step 4.
    5. Leave the other parameters as default. Click Run.

The raster image belows shows the clipped polygon features area.

Area of clipped raster image using polygon features.png

Article ID: 000031013

Software:
  • ArcGIS Pro 3 1
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 9x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options