Strata proportion from DHM#

Algorithm ID: hedgetools:strataproportion

This tool takes a polygon vector layer representing hedges and a Digital Height Model (DHM) to compute the proportion of vegetation strata within the hedges. The strata bounds are user-defined.

Optionally, it can output a polygon vector layer where geometries correspond to each stratum.

Warning

Outputting the strata as a polygon vector layer doubles the processing time.

Parameters#

Label

Name

Type

Description

Input polygon layer

INPUT

[vector: polygon]

Polygon vector layer representing the hedges.

Input height raster (DHM)

RASTER

[raster]

Digital Height Model representing the height of objects above ground.

Height band

BAND

[raster band]
Default: 1

Height band of the DHM raster in case of multiband.

Boundary for each height category

BINS

[string]
Default: 0.3, 2, 7

Bounds for each strata. The first and last bounds are automatically appended with 0 and maximum height. For example, with the default values, the resulting strata bounds will be: [0:0.3[, [0.3:2[, [2:7[, [7:+[.

Output category as feature

SPATIAL

[boolean]
Default: False

If enabled, a spatial output will be created.

Output strata layer

OUTPUT

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

Output polygon vector layer.

Output category as feature (polygon)

OUTPUT_SPATIAL

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

Output polygon vector layer.

Outputs#

Label

Name

Type

Description

Output strata layer

OUTPUT

[vector: polygon]

Polygon vector layer with new fields summarizing strata metrics per hedge:

  • nb_strata: Number of strata within the hedge.
  • dom_strata: Strata covering the largest area within the hedge.
  • [bound_min:bound_max[: Occupation proportion of this strata within the hedge.

Output category as feature (polygon)

OUTPUT_SPATIAL

[vector: polygon]

MultiPolygon vector layer of strata. Each strata within a hedge becomes one multipolygon. The layer includes:

  • id_strata: Index of the strata (e.g., 2 for the second strata).
  • pid: Polygon ID of the corresponding hedge.
  • strata: Height range of the strata.
  • overlap: Proportion of the hedge area occupied by this strata.