Line to Polygon
Each line as the polygon it outlines, closed if it is open, as turf.lineToPolygon. Other features pass through.
Syntax
{ "id": "n1", "op": "line-to-polygon", "name": "line-to-polygon", "x": 0, "y": 0, "params": {} }
An edge into it ends at "targetPort": "in"; one out of it starts at "sourcePort": "out".
Inputs
| Port | Type | Takes |
|---|---|---|
in | table | one edge |
Parameters
This operator has no parameters.
Outputs
| Port | Type |
|---|---|
out | table |
Details
- Category: Geometry
- Operator:
line-to-polygon
Older projects
Projects saved before documents used operator classes. These convert to line-to-polygon when they open: LineToPolygonOp.