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='http://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 Published: 5/5/2016
Article ID: 000002301
Software: ArcGIS-ArcInfo 8.0.2, 8.0.1 ArcInfo Workstation 7.2.1, 7.1.2, 7.1.1, 7.0.4