HOW TO

Minimize the extents of a grid.

Last Published: April 25, 2020

Summary

This script will reset the extents of a grid to fit just the 'data' areas. NODATA cells will be minimized outside the data area.

Procedure



  1. Copy the following script to an ASCII text editor. Save the file in your local workspace as CROP.AML.

    CROP.AML:
    <a href='http://support.esri.com/en/knowledgebase/techarticles/detail/15552' target='_blank'>[O] CROP.AML</a>

  2. The CROP.AML requires an input grid and an output grid. Run it in GRID like this:

    Code:
    Grid: &RUN CROP.AML mygrid newgrid

Article ID:000002301

Software:
  • Legacy Products
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic