Grid Features
Hexagons, squares or points of one cell size covering a bounding box, as turf.hexGrid, squareGrid and pointGrid make them. Join features to it to bin them.
Syntax
{ "id": "n1", "op": "geo-grid", "name": "geo-grid", "x": 0, "y": 0, "params": {} }
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('geo-grid/cellSize').
Inputs
This operator has no input ports.
Parameters
| Parameter | Kind | Default | Choices |
|---|---|---|---|
shape | menu | "hex" | hex, square, point |
cellSize | float | 1 | |
units | menu | "kilometers" | kilometers, meters, miles, nauticalmiles, feet, degrees |
west | float | -74.05 | |
south | float | 40.68 | |
east | float | -73.9 | |
north | float | 40.82 |
Outputs
| Port | Type |
|---|---|
out | table |
Details
- Category: Geometry
- Operator:
geo-grid
Older projects
Projects saved before documents used operator classes. These convert to geo-grid when they open: HexGridOp, PointGridOp, SquareGridOp.