PROBLEM

Misaligned cell structure of output and input grids from GRID functions

Last Published: April 25, 2020

Description

Output grids created from input grids with misaligned cell structure will not align with all input grids. Two methods are described to resolve the problem.

Cause

Not all input grids have aligned cell structure.

Solution or Workaround



  • Use the {snap_grid} option of SETWINDOW in Grid to align the cell structure of all input grids.

    Code:
    SETWINDOW clip_grd ingrid1 ingrid2_snp = ingrid2

    This method will create a new grid from ingrid2 that is snapped to the cell alignment of ingrid1 and has the extent of clip_grd.
  • Use GRIDSHIFT at the GRID or Arc prompts.

Article ID:000002119

Software:
  • ArcMap 8 x
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic