Why do COSTALLOCATION, COSTDISTANCE and COSTBACKLINK fail when using floating point grid as the source grid?

Last Published: April 25, 2020


If a floating point grid is used as the <source_grid> for COSTALLOCATION, COSTDISTANCE and COSTBACKLINK, an error message similar to the following will appear:

"Grid: costalloc = COSTALLOCATION(srcgrd_flt, costgrd)
Source_grid SRCGRD must be of integer type to be used for allocation values.
Cost Distance mapping Failed
AML MESSAGE - Stopping execution of AML file due to ERROR condition"

The Workstation documentation indicates that the <source_grid> can be integer or floating point for COSTALLOCATION, COSTDISTANCE and COSTBACKLINK. This is not correct.

Floating point grids are not supported as input for the source grid.


Article ID:000006423

  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options