Extract Longest Flow Path
Feature Description
This feature traces the longest flow path by inputting an eight-direction flow direction raster dataset and regional area dataset, obtaining the longest drainage path within each region.

Parameter Description
| Parameter | Default | Parameter Description | Parameter Type |
|---|---|---|---|
| Flow Direction Data | Select datasource and dataset containing flow direction raster | DatasetGrid | |
| Region Area Data | Specified regional area dataset | DatasetVector | |
| Region ID Field | Unique identifier field for regional areas (e.g. SmID) | String | |
| Target Datasource | Datasource storing result dataset | Datasource | |
| Result Dataset Name | Specified name for result dataset | String |
Output
| Parameter | Parameter Description | Parameter Type |
|---|---|---|
| Result Drainage Line Dataset | Result drainage line dataset | DatasetVector |
- The "CatchmentID" field will be created in the result line dataset, enabling one-to-one correspondence between drainage lines and region area objects.