# Generate tree cover ```{container} algorithm-id **Algorithm ID**: `hedgetools:generatetreecoverlidar` ``` This tool generates a tree cover raster and vector layer using a classified point cloud layer. The vector layer is generated from the sieved raster if a sieve operation is performed. ## Parameters | Label | Name | Type | Description | |-------|------|------|-------------| | Input point cloud layer | `LAS` | [point cloud] | Classified point cloud layer | | Vegetation category to use | `CATEGORY` | [enumeration]
Default: [1,2] | Vegetation category to use: | | Extent of the study area
Optional | `EXTENT` | [extent] | Input extent from a layer, canvas, or other source to clip the rasters. | | Compute sieved tree cover mask | `SIEVE` | [boolean]
Default: True | If enabled, the tree cover mask is sieved to remove small holes. Recommended to reduce noise in vegetation layers. | | Threshold sieve value (pixel number) | `THRESHOLD_SIEVE` | [numeric: integer]
Default: 100 | Minimum number of pixels for a feature to be kept in the sieved mask. | | Output resolution (meters)
Optional | `RESOLUTION` | [numeric: double]
Default: 1.0 | Change the output raster resolution to the desired value. | | Output tree cover raster | `OUTPUT_TREE_COVER` | [raster]
Default: `[Create temporary layer]` | Output raster. | | Output sieve tree cover raster | `OUTPUT_SIEVE` | [raster]
Default: `[Create temporary layer]` | Output raster. | | Output vector tree cover | `OUTPUT_VECTOR` | [vector: polygon]
Default: `[Create temporary layer]` | Polygon vector layer. | ## Outputs | Label | Name | Type | Description | |-------|------|------|-------------| | Output tree cover raster | `OUTPUT_TREE_COVER` | [raster] | Tree cover raster representing the selected vegetation categeories. | | Output sieve tree cover raster | `OUTPUT_SIEVE` | [raster] | Tree cover raster with small holes removed based on the sieve threshold. | | Output vector tree cover | `OUTPUT_VECTOR` | [vector: polygon] | Vectorized tree cover used in subsequent algorithms. |