v.random
How GRASS runs Random Points in Polygons: v.random.
| Engine | GRASS |
|---|---|
| Tool name | v.random |
| Interface | cli |
| Implements | Random Points in Polygons |
| Preset | {"flag_a":true} |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
output | string | yes | Not stated | Not stated | output vector |
npoints | integer | yes | Not stated | Not stated | Not stated |
restrict | string | no | Not stated | Not stated | vector name |
layer | string | no | -1 | Not stated | layer_all name |
cats | string | no | Not stated | Not stated | cats name |
where | string | no | Not stated | Not stated | sql_query name |
zmin | float | no | 0 | Not stated | Not stated |
zmax | float | no | 0 | Not stated | Not stated |
seed | integer | no | Not stated | Not stated | Not stated |
column | string | no | Not stated | Not stated | dbcolumn name |
column_type | string | no | double precision | integer, double precision | Not stated |
flag_z | boolean | no | Not stated | Not stated | flag -z |
flag_a | boolean | no | Not stated | Not stated | flag -a |
flag_b | boolean | no | Not stated | Not stated | flag -b |
flag_overwrite | boolean | no | Not stated | Not stated | flag --overwrite |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
layer | restrict | Not stated |
output | output | Not stated |
count | npoints | Not stated |
seed | seed | Not stated |
Differences from the operation
- npoints is the total for the region or the restricting areas unless flag a puts that many in each area; this mapping sets a.
Harvested by the grass harvester from engine version
8.5.0. Names can change when an engine is harvested again.