This tool outputs a vector polygon layer from two or more intersecting line features contained in one or more input vector line files. Each space enclosed by the intersecting line set is converted to polygon added to the output layer. This tool should not be confused with the lines_to_polygons tool, which can be used to convert a vector file of polylines into a set of polygons, simply by closing each line feature. The lines_to_polygons tool does not deal with line intersection in the same way that the polygonize tool does.

## See Also

lines_to_polygons

## Function Signature

`def polygonize(self, input_layers: List[Vector]) -> Vector: ...`

## Project Links

WbW Homepage User Manual Support WbW