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
| Port | Type | Takes |
|---|---|---|
in | table | one edge |
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
position | expr | "P" | |
weight | expr | "" | |
cellSize | float | 1000 | |
aggregation | menu | "SUM" | SUM, MEAN, MIN, MAX |
contours | text | "[{\"threshold\":1,\"color\":[255,255,255],\"strokeWidth\":1}]" | |
zOffset | float | 0.005 | |
opacity | float | 1 | |
blend | menu | "normal" | normal, additive, subtractive |
depthTest | toggle | true | |
depthWrite | toggle | true | |
extensions | field | [] |
Outputs
| Port | Type |
|---|---|
out | layer |
Details
- Category: Layers
- Operator:
contour
Older projects
Projects saved before documents used operator classes. These convert to contour when they open: ContourLayerOp.