This tool calculates the area of vector polygons, adding the result to the vector's attribute table (AREA field). The area calculation will account for any holes contained within polygons. The vector should be in a projected coordinate system.

To calculate the area of raster polygons, use the raster_area tool instead.

## See Also

raster_area

## Function Signature

`def polygon_area(self, input: Vector) -> Vector: ...`

## Project Links

WbW Homepage User Manual Support WbW