v.vect.stats
How GRASS runs Count Points In Polygon: v.vect.stats.
| Engine | GRASS |
|---|---|
| Tool name | v.vect.stats |
| Interface | cli |
| Implements | Count Points In Polygon |
| Documentation | Not stated |
| Effects | modifies input: no, network: no |
| Notes | Not stated |
| Status | active |
Parameters
| Name | Type | Required | Default | Choices | Note |
|---|---|---|---|---|---|
points | string | yes | Not stated | Not stated | vector name |
areas | string | yes | Not stated | Not stated | vector name |
type | string | no | point | point, centroid | multiple values |
points_layer | string | no | 1 | Not stated | layer name |
points_cats | string | no | Not stated | Not stated | cats name |
points_where | string | no | Not stated | Not stated | sql_query name |
areas_layer | string | no | 1 | Not stated | layer name |
areas_cats | string | no | Not stated | Not stated | cats name |
areas_where | string | no | Not stated | Not stated | sql_query name |
method | string | no | Not stated | sum, average, median, mode, minimum, min_cat, maximum, max_cat, range, stddev, variance, diversity | Not stated |
points_column | string | no | Not stated | Not stated | dbcolumn name |
count_column | string | no | Not stated | Not stated | dbcolumn name |
stats_column | string | no | Not stated | Not stated | dbcolumn name |
separator | string | no | Not stated | Not stated | separator name |
format | string | yes | plain | plain, csv, json | Not stated |
flag_p | boolean | no | Not stated | Not stated | flag -p |
How it maps to the operation
| Operation parameter | Parameter here | Note |
|---|---|---|
polygons | areas | Not stated |
points | points | Not stated |
field | count_column | Not stated |
Differences from the operation
- Writes the count into the areas map's own attribute table; there is no separate output. method and stats_column add other statistics of a points column.
Harvested by the grass harvester from engine version
8.5.0. Names can change when an engine is harvested again.