Summary
A grid is a raster data storage format native to Esri that represents discrete or continuous data. In some cases, to perform a spatial analysis, a grid layer is clipped to a specific polygon shape to visually segregate and highlight the area, as described in this article and depicted in the image below.
Procedure
In ArcGIS Pro, use the Extract by Mask tool, the Clip Raster tool, or the Clip function to clip the grid layer to a polygon shape.
Use the Extract by Mask tool
- Open the ArcGIS Pro project.
- On the Analysis tab, in the Geoprocessing group, click Tools.
- In the Geoprocessing pane, search for and click the Extract by Mask tool.
- In the Extract by Mask pane, on the Parameters tab, select the raster layer from the Input raster drop-down list. In this example, Grid Layer Test is selected.
- Select the polygon layer from the Input raster or feature mask data drop-down list. In this example, Polygon is selected.
- Specify a name for the output in the Output raster field and click Browse.... to specify the file location.
- Click Run. The new layer is automatically added to the Contents pane.
Use the Clip Raster tool
- Open the ArcGIS Pro project.
- On the Analysis tab, in the Geoprocessing group, click Tools.
- In the Geoprocessing pane, search for and click the Clip Raster tool.
- In the Clip Raster pane, on the Parameters tab, select the raster layer from the Input Raster drop-down list. In this example, Grid Layer Test is selected.
- Select the polygon layer from the Output Extent drop-down list.
- Check the Use Input Features for Clipping Geometry check box.
- Specify a name for the output in the Output Raster Dataset field and click Browse.... to specify the file location.
- Click Run. The new layer is automatically added to the Contents pane.
Use the Clip function
- Open the ArcGIS Pro project.
- On the Analysis tab, in the Raster group, click Raster Functions.
- In the Raster Functions pane, on the System tab, search for and click Clip in the Find Raster Functions search box.
- In the Clip Properties pane, on the Parameters tab, select the feature layer from the Raster drop-down list. In this example, Grid Layer Test is selected.
- Select Outside from the Clipping Type drop-down list.
- Select the polygon layer from the Clipping Geometry / Raster drop-down list.
- Check the Use input features for clipping geometry check box.
- Click Create new layer. The new layer is automatically added to the Contents pane.
The image below shows the grid layer clipped to the polygon shape in ArcGIS Pro.