PROBLEM

PROJECTGRID with the NINE or SEVENTEEN option creates an output grid larger than the input grid

Last Published: April 25, 2020

Description

An output grid created by PROJECTGRID with the NINE or SEVENTEEN options can be substantially larger than the input grid.

Cause

This is a known problem with the internal grid compression scheme for these outputs.

This problem doesn't occur with PROJECT and PROJECTGRID with the FULL option.

Solution or Workaround

Resample the output grid to the same cell size. This reduces the size of the final result.

  1. Project the source grid.

    Code:
    Grid: grd_project = projectgrid (grd_source, prj_file.prj, #, nine)

  2. Set the analysis window for resampling.

    Code:
    Grid: setwindow grd_project
    Grid: setcell grd_project

  3. Resample the projected grid using the same cell size for the output. Cell values will not change when you use the same cell size.

    Code:
    Grid: grd_resamp = resample (grd_project)

Article ID:000003253

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