How To: Minimize the extents of a grid.
This script will reset the extents of a grid to fit just the 'data' areas. NODATA cells will be minimized outside the data area.
- Copy the following script to an ASCII text editor. Save the file in your local workspace as CROP.AML.
<a href='https://support.esri.com/en/knowledgebase/techarticles/detail/15552' target='_blank'>[O] CROP.AML</a>
- The CROP.AML requires an input grid and an output grid. Run it in GRID like this:
Grid: &RUN CROP.AML mygrid newgrid
Last Modified: 5/5/2016
Article ID: 000002301
Software: ArcGIS - ArcInfo 8.0.1, 8.0.2 ArcInfo Workstation 7.0.4, 7.1.1, 7.1.2, 7.2.1