BUG

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

Last Published: April 25, 2020

Description

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.

Workaround



Article ID:000006423

Software:
  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic