Experimental
Filters polygon features below a minimum area threshold.
vector gis filter polygon legacy-port
| Name | Description | Required | Default |
|---|---|---|---|
input | Input polygon vector layer. | Required | polygons.shp |
threshold | Minimum polygon area to retain, in layer coordinate units squared. | Required | 1000.0 |
output | Output vector path. | Required | — |
Removes polygons smaller than the specified area threshold.
wbe.filter_vector_features_by_area(input='polygons.shp', output='filtered_polygons.shp', threshold=1000.0)