4 - Preprocess Categrozie Wooded Area#
Algorithm ID: hedgetools:preprocesscwa
This tool prepares a tree cover vector layer obtained from Generate Tree Cover for the Categorize Wooded Area algorithm.
Since vector layers created from rasters can be very large, This tool will:
Simplify geometries.
Remove holes inside polygons and eliminate small geometries.
Repair invalid geometries.
Parameters#
Label |
Name |
Type |
Description |
|---|---|---|---|
Input tree cover layer |
|
[vector: polygon] |
Polygon vector layer. |
Area threshold for geometry deletion (square meters) |
|
[numeric: double] |
Geometries smaller than this value will be deleted. |
Shift tolerance for simplification (meters) |
|
[numeric: double] |
Vertices that do not move the polygon boundary beyond this threshold will be removed during simplification. |
Area threshold for filling polygon holes (square meters) |
|
[numeric: double] |
Holes smaller than this value will be filled. |
Output preprocessed tree cover layer |
|
[vector: polygon] |
Output polygon vector layer. |
Warning
Polygons with many holes can cause issues when splitting them in either Topological Polygons or in the Data - Transformation module. This may result in incorrect solutions or failures during the splitting process.
Outputs#
Label |
Name |
Type |
Description |
|---|---|---|---|
Output preprocessed tree cover layer |
|
[vector: polygon] |
Preprocessed tree cover vector layer. |