Euclidean distance to forest#

Algorithm ID: hedgetools:euclideandistancetoforest

This tool computes the euclidean distance between points and the closest forest polygon, then writes the results to fields in the point vector layer. The unique identifier of the closest forest is also recorded. The forest layer can be any polygon vector layer.

Parameters#

Label

Name

Type

Description

Input node layer

INPUT_NODE

[vector: point]

Point vector layer used as the source for distance computation.

Input forest layer

INPUT_FOREST

[vector: polygon]

Polygon vector layer representing forests.

Forest id field

ID_FIELD

[field: any]

Field containing the unique identifier of each forest polygon.

Output node layer

OUTPUT_NODE

[vector: point]
Default: [Create temporary layer]

Output node vector layer.

Outputs#

Label

Name

Type

Description

Output node layer

OUTPUT_NODE

[vector: point]

Node vector layer with two new fields: forest_id (ID of closest forest) and forest_dist (distance to closest forest).