How To: Clip a grid to a specific polygon shape
Grids can be clipped to specific polygon shapes. Using an Analysis Mask, the output grid will only contain values within the extent of the specified area. The Spatial Analyst extension is required.
- Add or create the desired polygon shapefile and grid data set to/in a view.
- Make the polygon theme active in the Table of Contents select "Convert to Grid" from the Theme menu. Give the new grid a storage location and name. When prompted add it to the view.
- Go to the Analysis drop down menu and select Properties.
- In the Analysis Properties, set this new grid theme as the Analysis Extent AND the Analysis Mask.
Failing to set this layer as the Analysis Extent will result in an output grid that contains a No Data "ring" extenting to the boundary of input grid.
- Click OK to exit the Analysis Properties Dialog.
- Go back to the Analysis menu and select Map Calculator.
- In the Map Calculator, double click on the grid that you want to clip from the Layers list.
- Click the Evaluate button.
- Examine the new grid in the View. If the output is correct, make it the active theme and then go to the Theme Menu. Select "Save Data Set". Give the new grid a name and storage location.
Last Modified: 1/10/2017
Article ID: 000005438
Software: More Products Legacy Products ArcView GIS 3.0a, 3.1, 3.2, 3.2a, 3.3