Network distance to forest#
Algorithm ID: hedgetools:networkdistancetoforest
This tool calculates the distance between a hedge sub-network and the nearest forest (input layer). The tool first reconstructs the sub-networks. A sub-network is a cluster of connected arcs, so multiple arcs can belong to the same sub-network if they are connected.
Next, the distance is computed between each node of the hedges within the sub-networks and the forests. The distance results are recorded at the level of each node (as a new attribute), including the unique identifier of the nearest forest. In the arcs layer, a unique identifier of the sub-network to which each arc belongs is also recorded. The forest layer can be any polygon vector layer.
Parameters#
Label |
Name |
Type |
Description |
|---|---|---|---|
Input polygon layer |
|
[vector: polygon] |
Polygon vector layer representing the hedges. Used to create connection points to forests, as hedge arcs may not necessarily intersect the forest polygons. |
Input arc layer |
|
[vector: line] |
Line vector layer representing the hedge median axis. |
Input node layer |
|
[vector: point] |
Point vector layer of hedge extremities. |
Input forest layer |
|
[vector: polygon] |
Polygon vector layer representing forests. |
Forest id field |
|
[field: any] |
Field containing the unique identifier of each forest polygon. |
Spatial threshold (meters) |
|
[numeric: double] |
Distance threshold used to consider hedges without a physical connection as connected. |
Override network construction from attributes |
|
[boolean] |
If toggled, will not use the |
Output network distance layer |
|
[vector: line] |
Output line vector layer. |
Output network node layer |
|
[vector: point] |
Output point vector layer. |
Outputs#
Label |
Name |
Type |
Description |
|---|---|---|---|
Output network distance layer |
|
[vector: line] |
Line vector layer with two new fields describing the nerworks :
|
Output network node layer |
|
[vector: point] |
Point vector layer with two new fields: |