Problem: PROJECTGRID with the NINE or SEVENTEEN option creates an output grid larger than the input grid
An output grid created by PROJECTGRID with the NINE or SEVENTEEN options can be substantially larger than the input grid.
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.
- Project the source grid.
Grid: grd_project = projectgrid (grd_source, prj_file.prj, #, nine)
- Set the analysis window for resampling.
Grid: setwindow grd_project
Grid: setcell grd_project
- Resample the projected grid using the same cell size for the output. Cell values will not change when you use the same cell size.
Grid: grd_resamp = resample (grd_project)