Experimental
Generates random points uniformly within input polygon geometries.
vector sampling random
| Name | Description | Required | Default |
|---|---|---|---|
input | Input polygon layer. | Required | polygons.shp |
num_points | Number of random points to create. | Required | 100 |
seed | Optional RNG seed for reproducibility. | Optional | — |
output | Output vector path. | Required | — |
Generates random sample points inside polygon boundaries.
wbe.random_points_in_polygon(input='polygons.shp', num_points=100, output='random_points.shp')