Aggregate Within
Each polygon with a count, sum, mean, min or max of the points inside it, as a new column <operation>_<column> (0 for none).
Syntax
{ "id": "n1", "op": "aggregate-within", "name": "aggregate-within", "x": 0, "y": 0, "params": {} }
An edge into it ends at "targetPort": "in"; one out of it starts at "sourcePort": "out".
Inputs
| Port | Type | Takes |
|---|---|---|
in | table | one edge |
points | table | one edge |
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
operation | menu | "count" | count, sum, mean, min, max |
column | column | "" | |
as | string | "" |
Outputs
| Port | Type |
|---|---|
out | table |
Details
- Category: Geometry
- Operator:
aggregate-within
Older projects
Projects saved before documents used operator classes. These convert to aggregate-within when they open: AggregateOp.