Shape#

Algorithm ID: hedgetools:shapemetrics

This tool takes a polygon vector layer representing the hedge and computes:

  • elongation: Indicates the degree of stretching of a polygon. However, this indicator is not very reliable for complex shapes (e.g., U-shaped polygons). Values range between 0 (highly stretched) and 1 (less stretched).

  • compactness: Indicates the density of a polygon. Values range between 0 (not compact) and 1 (highly compact).

  • convexity: Indicates the regularity of the polygon’s outline, its sphericity. Values range between 0 (non-convex) and 1 (convex).

Parameters#

Label

Name

Type

Description

Input polygon layer

INPUT

[vector: polygon]

Polygon vector layer representing the hedge.

Output shape layer

OUTPUT

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

Output polygon vector layer.

Outputs#

Label

Name

Type

Description

Output shape layer

OUTPUT

[vector: polygon]

Polygon vector layer with three new fields: elongation, compactness, and convexity.