Label | Explanation | Data Type |

Input stream raster | An input stream raster that represents a linear stream network. | Raster Layer |

Input surface raster | The input raster representing a continuous surface. | Raster Layer |

Input flow direction raster (Optional) | The input raster that shows the direction of flow out of each cell. When a flow direction raster is provided, the down slope direction(s) will be limited to those defined by the input flow directions. The flow direction raster can be created using the Flow Direction tool. The flow direction raster can be created using the D8, Multiple Flow Direction (MFD), or D-Infinity method. Use the Input flow direction type parameter to specify the method used when the flow direction raster was created. | Raster Layer |

Distance type (Optional) | Determines if the vertical or horizontal component of flow distance is calculated. - Vertical — The flow distance calculations represent the vertical component of flow distance, following the flow path, from each cell in the domain to cell(s) on the stream into which they flow. This is the default.
- Horizontal — The flow distance calculations represent the horizontal component of flow distance, following the flow path, from each cell in the domain to cell(s) on the stream into which they flow.
| String |

Input flow direction type (Optional) | Specifies the input flow direction raster type. - D8 — The input flow direction raster is of type D8. This is the default.
- MFD — The input flow direction raster is of type Multi Flow Direction (MFD).
- DINF — The input flow direction raster is of type D-Infinity (DINF).
| String |

Statistics type (Optional) | Determines the statistics type used to compute flow distance over multiple flow paths. If there is only a single flow path from each cell to a cell on the stream, all statistics types produce the same result. - Minimum —Where multiple flow paths exist, minimum flow distance in computed. This is the default.
- Weighted Mean —Where multiple flow paths exist, a weighted mean of flow distance is computed. Flow proportion from a cell to its downstream neighboring cells are used as weights for computing weighted mean.
- Maximum —When multiple flow paths exist, maximum flow distance is computed.
| String |

### Return Value

Label | Explanation | Data Type |

Output raster | The output flow distance raster. | Raster |