Label | Explanation | Data Type |

Input Raster or Feature Sources | The input source locations. This is an image service or feature service identifying the cells or locations from or to which the allocation for every output cell location is calculated. For an image service, the input type can be integer or floating point. For a feature service, the input type can be point, line or polygon. | Raster Layer; Feature Layer |

Output Distance Allocation Raster Name | The name of the output distance allocation raster service. | String |

Input Raster or Feature Barriers (Optional) | The dataset that defines the barriers. The barriers can be defined by an integer or a floating-point image service, or by a feature service. For a feature service, the input type can be point, line or polygon. For an image service barrier, the barrier must have a valid value, including zero, and the areas that are not barriers must be NoData. | Raster Layer; Feature Layer |

Input Surface Raster (Optional) | An image service defining the elevation values at each cell location. The values are used to calculate the actual surface distance covered when passing between cells. | Raster Layer |

Input Cost Raster (Optional) | An image service defining the impedance or cost to move planimetrically through each cell. The value at each cell location represents the cost-per-unit distance for moving through the cell. Each cell location value is multiplied by the cell resolution while also compensating for diagonal movement to obtain the total cost of passing through the cell. The values of the cost raster can be integer or floating point, but they cannot be negative or zero (you cannot have a negative or zero cost). | Raster Layer |

Input Vertical Raster (Optional) | An image service defining the z-values for each cell location. The values are used for calculating the slope used to identify the vertical factor incurred when moving from one cell to another. | Raster Layer |

Vertical Factor (Optional) | Specifies the relationship between the vertical cost factor and the vertical relative moving angle (VRMA). There are several factors with modifiers that identify a defined vertical factor graph. The graphs are used to identify the vertical factor used in calculating the total cost of moving into a neighboring cell. In the descriptions below, vertical factor (VF) defines the vertical difficulty encountered in moving from one cell to the next, and vertical relative moving angle (VRMA) identifies the slope angle between the FROM or processing cell and the TO cell. The Vertical Factor options are as follows: - Binary—If the VRMA is greater than the low-cut angle and less than the high-cut angle, the VF is set to the value associated with the zero factor; otherwise, it is infinity.
- Linear—The VF is a linear function of the VRMA.
- Symmetric Linear—The VF is a linear function of the VRMA in either the negative or positive side of the VRMA, and the two linear functions are symmetrical with respect to the VF (y) axis.
- Inverse Linear—The VF is an inverse linear function of the VRMA.
- Symmetric Inverse Linear—The VF is an inverse linear function of the VRMA in either the negative or positive side of the VRMA, and the two linear functions are symmetrical with respect to the VF (y) axis.
- Cos—The VF is the cosine-based function of the VRMA.
- Sec—The VF is the secant-based function of the VRMA.
- Cos-Sec—The VF is the cosine-based function of the VRMA when the VRMA is negative and is the secant-based function of the VRMA when the VRMA is not negative.
- Sec-Cos—The VF is the secant-based function of the VRMA when the VRMA is negative and is the cosine-based function of the VRMA when the VRMA is not negative.
- Hiking Time— Defines the relationship between the vertical cost factor and the vertical relative moving angle through the reciprocal of Tobler's function, which results in hiking time in hours.
- Bidirectional Hiking Time—Defines the relationship between the vertical cost factor and the vertical relative moving angle through a bidirectional hiking function.
Modifiers to the vertical keywords are as follows: - Zero factor—The vertical factor used when the VRMA is zero. This factor positions the y-intercept of the specified function. By definition, the zero factor is not applicable to any of the trigonometric vertical functions (COS, SEC, COS-SEC, or SEC-COS). The y-intercept is defined by these functions.
- Low Cut angle—The VRMA angle below which the VF will be set to infinity.
- High Cut angle—The VRMA angle above which the VF will be set to infinity.
- Slope—The slope of the straight line used with the Linear and Inverse Linear vertical factor keywords. The slope is specified as a fraction of rise over run (for example, 45 percent slope is 1/45, which is input as 0.02222).
| Vertical Factor |

Input Horizontal Raster (Optional) | An image service defining the horizontal direction at each cell. The values on the raster must be integers ranging from 0 to 360, with 0 degrees being north, or toward the top of the screen, and increasing clockwise. Flat areas should be given a value of -1. The values at each location will be used in conjunction with the Horizontal Factor parameter to determine the horizontal cost incurred when moving from a cell to its neighbors. | Raster Layer |

Horizontal Factor (Optional) | Specifies the relationship between the horizontal cost factor and the horizontal relative moving angle (HRMA). There are several factors with modifiers that identify a defined horizontal factor graph. The graphs are used to identify the horizontal factor used in calculating the total cost of moving into a neighboring cell. In the descriptions below, horizontal factor (HF) defines the horizontal difficulty encountered when moving from one cell to the next, and horizontal relative moving angle (HRMA) identifies the angle between the horizontal direction from a cell and the moving direction. The Horizontal Factor options are as follows: - Binary—If the HRMA is less than the cut angle, the HF is set to the value associated with the zero factor; otherwise, it is infinity.
- Forward—Only forward movement is allowed. The HRMA must be greater than or equal to 0 and less than 90 degrees (0 <= HRMA < 90). If the HRMA is greater than 0 and less than 45 degrees, the HF for the cell is set to the value associated with the zero factor. If the HRMA is greater than or equal to 45 degrees, the side value modifier value is used. The HF for any HRMA equal to or greater than 90 degrees is set to infinity.
- Linear—The HF is a linear function of the HRMA.
- Inverse Linear—The HF is an inverse linear function of the HRMA.
Modifiers to the horizontal factors are as follows: - Zero factor—The horizontal factor to be used when the HRMA is zero. This factor positions the y-intercept for any of the horizontal factor functions.
- Cut angle—The HRMA angle beyond which the HF will be set to infinity.
- Slope—The slope of the straight line used with the Linear and Inverse Linear horizontal factor keywords. The slope is specified as a fraction of rise over run (for example, 45 percent slope is 1/45, which is input as 0.02222).
- Side value—The HF when the HRMA is greater than or equal to 45 degrees and less than 90 degrees when the Forward horizontal factor keyword is specified.
| Horizontal Factor |

Output Distance Accumulation Raster Name (Optional) | The output distance accumulation raster name. The distance accumulation raster contains the accumulative distance for each cell from, or to, the least-cost source. | String |

Output Back Direction Raster Name (Optional) | The output back direction raster name. The back direction raster contains calculated directions in degrees. The direction identifies the next cell along the optimal path back to the least accumulative cost source while avoiding barriers. The range of values is from 0 degrees to 360 degrees. The value 0 is reserved for the source cells. Due east (right) is 90 degrees, and the values increase clockwise (180 is south, 270 is west, and 360 is north). The output raster is of type float. | String |

Output Source Direction Raster Name (Optional) | The output source direction raster name. The source direction raster identifies the direction of the least accumulated cost source cell as an azimuth in degrees. The range of values is from 0 degrees to 360 degrees. The value 0 is reserved for the source cells. Due east (right) is 90 degrees, and the values increase clockwise (180 is south, 270 is west, and 360 is north). The output raster is of type float. | String |

Output Source Location Raster Name (Optional) | The output source location raster name. The source location raster is a multiband output. The first band contains a row index, and the second band contains a column index. These indexes identify the location of the source cell that is the least accumulated cost distance away. | String |

Source Field (Optional) | The field used to assign values to the source locations. It must be of type integer. | Field |

Initial Accumulation (Optional) | The initial accumulative cost that will be used to begin the cost calculation. Allows for the specification of the fixed cost associated with a source. Instead of starting at a cost of zero, the cost algorithm will begin with the value set by Initial accumulation. The values must be zero or greater. The default is 0. | Double; Field |

Maximum Accumulation (Optional) | The maximum accumulation for the traveler for a source. The cost calculations continue for each source until the specified accumulation is reached. The values must be greater than zero. The default accumulation is to the edge of the output raster. | Double; Field |

Cost Multiplier (Optional) | The multiplier that will be applied to the cost values. This allows for control of the mode of travel or the magnitude at a source. The greater the multiplier, the greater the cost to move through each cell. The values must be greater than zero. The default is 1. | Double; Field |

Travel Direction (Optional) | Specifies the direction of the traveler when applying horizontal and vertical factors. If you select the String option, you can choose between from and to options, which will be applied to all sources. If you select the Field option, you can select the field from the source data that determines the direction to use for each source. The field must contain the text string FROM_SOURCE or TO_SOURCE. - Travel from source—The horizontal factor and vertical factor will be applied beginning at the input source and travel out to the nonsource cells. This is the default.
- Travel to source—The horizontal factor and vertical factor will be applied beginning at each nonsource cell and travel back to the input source.
| String; Field |

Distance Method (Optional) | Specifies whether the distance will be calculated using a planar (flat earth) or a geodesic (ellipsoid) method. - Planar—The distance calculation will be performed on a projected flat plane using a 2D Cartesian coordinate system. This is the default.
- Geodesic—The distance calculation will be performed on the ellipsoid. Regardless of input or output projection, the results will not change.
| String |

### Derived Output

Label | Explanation | Data Type |

Output Distance Allocation Raster | The output distance allocation raster. | Raster |

Output Distance Accumulation Raster | The output distance accumulation raster. | Raster |

Output Back Direction Raster | The output back direction raster. | Raster |

Output Source Direction Raster | The output source direction raster. | Raster |

Output Source Location Raster | The output source location raster. | Raster |