Skip to main content

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​

PortTypeTakes
intableone edge
pointstableone edge

Parameters​

ParameterKindDefaultChoices
operationmenu"count"count, sum, mean, min, max
columncolumn""
asstring""

Outputs​

PortType
outtable

Details​

  • Category: Geometry
  • Operator: aggregate-within

Older projects​

Projects saved before documents used operator classes. These convert to aggregate-within when they open: AggregateOp.