# Strata proportion from DHM
```{container} algorithm-id
**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.
```{admonition} Warning
:class: 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: