Skip to main content

Contour Layer

Rows binned into a grid of a cell size in meters, drawn as iso-lines at thresholds or bands between them.

Syntax​

{ "id": "n1", "op": "contour", "name": "contour", "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:cellSize, or read elsewhere as ch('contour/cellSize').

Inputs​

PortTypeTakes
intableone edge

Parameters​

ParameterKindDefaultChoices
positionexpr"P"
weightexpr""
cellSizefloat1000
aggregationmenu"SUM"SUM, MEAN, MIN, MAX
contourstext"[{\"threshold\":1,\"color\":[255,255,255],\"strokeWidth\":1}]"
zOffsetfloat0.005
opacityfloat1
blendmenu"normal"normal, additive, subtractive
depthTesttoggletrue
depthWritetoggletrue
extensionsfield[]

Outputs​

PortType
outlayer

Details​

  • Category: Layers
  • Operator: contour

Older projects​

Projects saved before documents used operator classes. These convert to contour when they open: ContourLayerOp.