Skip to main content

Hexagon Layer

Rows binned into hexagons, colored and raised by per-row weights deck sums per bin.

Syntax​

{ "id": "n1", "op": "hexagon", "name": "hexagon", "x": 0, "y": 0, "params": {} }

An edge into it ends at "targetPort": "in"; one out of it starts at "sourcePort": "out"; a parameter is set in params (leave out the ones at their default), driven by an edge to par:radius, or read elsewhere as ch('hexagon/radius').

Inputs​

PortTypeTakes
intableone edge

Parameters​

ParameterKindDefaultChoices
positionexpr"P"
colorWeightexpr""
elevationWeightexpr""
radiusfloat1000
colorAggregationmenu"SUM"SUM, MEAN, MIN, MAX, COUNT
upperPercentilefloat100
lowerPercentilefloat0
colorScaleTypemenu"quantize"quantize, linear, quantile, ordinal
colorDomainstring""
colorRangemenu""``, viridis, magma, turbo, cividis
extrudedtogglefalse
elevationAggregationmenu"SUM"SUM, MEAN, MIN, MAX, COUNT
elevationScalefloat1
elevationScaleTypemenu"linear"linear, quantile
elevationRangestring"0, 1000"
elevationDomainstring""
elevationUpperPercentilefloat100
elevationLowerPercentilefloat0
coveragefloat1
rampmenu"viridis"37 choices
opacityfloat1
blendmenu"normal"normal, additive, subtractive
depthTesttoggletrue
depthWritetoggletrue
extensionsfield[]

Outputs​

PortType
outlayer

Details​

  • Category: Layers
  • Operator: hexagon

Older projects​

Projects saved before documents used operator classes. These convert to hexagon when they open: HexagonLayerOp.