This tool can be used to measure the length of each link in a stream network. The user must input a stream link ID raster (streams_id_raster), created using the stream_link_identifier tool, and D8 pointer raster (d8_pointer). The flow pointer raster is used to traverse the stream network and should only be created using the d8_pointer algorithm. Stream cells are designated in the stream link ID raster as all non-zero, positive values. Background cells will be assigned the NoData value in the output image, unless zero_background=True, in which case non-stream cells will be assigned zero values in the output.

See Also

stream_link_identifier, d8_pointer, stream_link_slope

Function Signature

def stream_link_length(self, d8_pointer: Raster, streams_id_raster: Raster, esri_pointer: bool = False, zero_background: bool = False) -> Raster: ...

Project Links

WbW Homepage User Manual Support WbW