This tool can be used to create a longitudinal profile plot for a set of vector points (`points`). A longitudinal stream profile is a plot of elevation against downstream distance. Most long profiles use distance from channel head as the distance measure. This tool, however, uses the distance to the outlet cell, or mouth, as the distance measure.

The tool outputs an interactive SVG line graph embedded in an HTML document (`output_html_file`). The user input a D8 pointer (d8_pointer) image (flow direction), a vector points file (`points`), and a digital elevation model (`dem`). The pointer image is used to traverse the flow path issuing from each initiation point in the vector file; this pointer file should only be created using the D8 algorithm (d8_pointer).

By default, the pointer raster is assumed to use the clockwise indexing method used by WhiteboxTools. If the pointer file contains ESRI flow direction values instead, the `esri_pointer` parameter must be specified.

## See Also

long_profile, profile, d8_pointer

## Function Signature

`def long_profile_from_points(self, d8_pointer: Raster, points: Vector, dem: Raster, output_html_file: str, esri_pointer: bool = False) -> None: ...`

## Project Links

WbW Homepage User Manual Support WbW