Frequently asked question

What is the syntax for the MAKESTACK command in the Raster Calculator?

Answer

The syntax depends on the version of ArcGIS.

In the examples below, "Stack1" represents the name of the output grid stack. "[Grid1]", "[Grid2]", and "[Grid3]" represent the input grids to be stacked.
In ArcGIS 8.1.2 (Build 671), the MAKESTACK command syntax is:

Code:
MAKESTACK Stack1 [Grid1] [Grid2] [Grid3]

In ArcGIS 8.2 (Build 700), a keyword "LIST" must be used, similar to Workstation. The keyword "FILE" is not supported in the Raster Calculator.

Code:
MAKESTACK Stack1 LIST [Grid1] [Grid2] [Grid3]


Note:
MAKESTACK is not supported in the Raster Calculator of ArcGIS 8.1 (Build 642) or ArcGIS 8.1.1 (Build 649). If MAKESTACK is necessary, it must be run at the Grid: prompt in ArcInfo Workstation. An ArcInfo license is required for this operation.

Article ID:000005337

Software:
  • ArcMap 8 x
  • ArcMap 9 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