Label | Explanation | Data Type |

Input polyline features | The input polyline features for which to calculate the statistics in a neighbourhood around each output cell. | Feature Layer |

Field | The field that the specified statistic will be calculated for. It can be any numeric field of the input features. When the statistics type is set to Length, the Field parameter can be set to None. It can be the Shape field if the input features contain z-values. | Field |

Output cell size (Optional) | The cell size of the output raster that will be created. This parameter can be defined by a numeric value or obtained from an existing raster dataset. If the cell size hasn't been explicitly specified as the parameter value, the environment cell size value will be used if specified; otherwise, additional rules will be used to calculate it from the other inputs. See the usage section for more detail. | Analysis Cell Size |

Search radius (Optional) | Search radius to calculate the desired statistic within, in map units. The default radius is five times the output cell size. | Double |

Statistics type (Optional) | Specifies the statistic type to be calculated. - Mean —Calculates the average field value in each neighborhood, weighted by the length. The form of the calculation is: Mean = (sum of (length * field_value)) / (sum_of_length) Only the part of the length that falls within the neighborhood is used.
- Majority —Determines the value having the greatest length of line in the neighborhood.
- Maximum —Determines the largest value in the neighborhood.
- Median —Determines the median value, weighted by the length. Conceptually, all line segments in the neighborhood are sorted by value and placed end-to-end in a straight line. The value of the segment at the midpoint of the straight line is the median.
- Minimum —Calculates smallest value in each neighborhood.
- Minority —The value having the least length of line in the neighborhood.
- Range —The range of values (maximum–minimum).
- Variety —The number of unique values.
- Length — The total line length in the neighborhood. If the value of the field is other than 1, the lengths are multiplied by the item value before adding them together. This option can be used when the field parameter is set to None.
| String |

### Return Value

Label | Explanation | Data Type |

Output raster | The output line statistics raster. | Raster |