Grid Cell Layer
A square column per row, of a cell size in meters, raised by a per-row elevation.
Syntax
{ "id": "n1", "op": "grid-cell", "name": "grid-cell", "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('grid-cell/cellSize').
Inputs
| Port | Type | Takes |
|---|---|---|
in | table | one edge |
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
position | expr | "P" | |
elevation | expr | "" | |
color | expr | "" | |
lineColorChannel | expr | "" | |
lineWidth | expr | "" | |
ramp | menu | "viridis" | 37 choices |
cellSize | float | 1000 | |
coverage | float | 1 | |
elevationScale | float | 1 | |
extruded | toggle | true | |
cellColor | color | [255,170,60] | |
filled | toggle | true | |
wireframe | toggle | false | |
flatShading | toggle | false | |
stroked | toggle | false | |
lineColor | color | [255,255,255] | |
lineWidthScale | float | 1 | |
lineWidthUnits | menu | "meters" | meters, pixels |
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:
grid-cell
Older projects
Projects saved before documents used operator classes. These convert to grid-cell when they open: GridCellLayerOp.