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.
Procedure
Use Raster Functions to apply the Clip function to the raster
- Open the ArcGIS Pro project.
- Create polygon features on the area of the raster image that must be clipped. Refer to ArcGIS Pro: Create polygon features for instructions.
- Use the Clip raster function to clip the polygons from the raster image.
- 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.
- In the Clip Properties pane, for Raster, click the drop-down menu and select the raster data to be clipped.
- For Clipping Type, click the drop-down menu and select Inside.
- For Clipping Geometry/Raster, click the drop-down menu and select the polygon feature layer.
- Check the Use input features for clipping geometry check box.
- Click Create new layer.
Use the Erase and Extract by Mask tool
- Open the ArcGIS Pro project.
- Create polygon features on the area of the raster image that must be clipped. Refer to ArcGIS Pro: Create polygon features for instructions.
- 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.
- Erase the polygon features from the rectangular polygon.
- Navigate to the Analysis tab and click Tools to open the Geoprocessing pane.
- In the Geoprocessing pane, search for and select the Erase tool.
- For Input Features, click the drop-down and select the rectangular polygon covering the extent of the raster data.
- For Erase Features, click the drop-down and select the polygon feature layer on the raster data.
- Click Run.
- Extract the raster data.
- Navigate to the Analysis tab and click Tools to open the Geoprocessing pane.
- In the Geoprocessing pane, search for and select the Extract by Mask tool.
- For Input Raster, click the drop-down menu and select the desired raster data to be clipped.
- For Input raster or feature mask data, click the drop-down menu and select the output layer from Step 4.
- Leave the other parameters as default. Click Run.
The raster image belows shows the clipped polygon features area.