Geospatial · Build and fix geometry
Poly Build
Connects ordered points into a line or polygon, or wraps them in a hull or bounding box, optionally one shape per group. For example, GPS points into route lines.
Also known as: Points to line, convex hull
How it works
Group by makes one shape per distinct value; empty collapses the whole input into one feature. Pick the Point geometry column. Output type is Line, Polygon (closed), Convex hull, Bounding box or Concave hull. Line and Polygon connect the points in the Order by column's order, or sorted by the point geometry itself when it is empty, so set it whenever the order matters, and Polygon closes the ring by repeating the first point. The hulls and the box take the group's points as a set. Concave hull has a Detail between 0 and 1, 0.5 by default, where lower hugs the points more tightly. For lines, Extend by prolongs the line past its ends in the units of the coordinate system (degrees on lon/lat; Reproject first for metres), at Both ends, Start only or End only. The shape lands in Output column, geom by default.
Inputs and outputs
Inputs
data— Table
Outputs
data— Table
Settings
The Attributes panel of Poly Build, as in the app: the controls work, but nothing runs — there is no data behind it.
The same settings, as the Assistant writes them
{
geometryColumn: string
groupByColumn: string (optional)
sequenceColumn: string (optional)
outputType: "line"|"polygon"|"convex-hull"|"bbox"|"concave-hull"
concaveRatio: number (0-1, concave-hull only)
extendBy: number (line only, 0 = off)
extendEnds: "both"|"start"|"end"
outputColumn: string
}extendBy prolongs the line past its end vertices along the direction of its end segments, in CRS UNITS (degrees on a lon/lat CRS) — reproject first if you mean metres
Example
GPS fixes into one route per vehicle: point geometry column geom, group by vehicle_id, order by fix_time, output type Line.