Skip to main content
Computes the Delaunay Triangles of the vertices of the input geometry. SQL reference: ST_DelaunayTriangles

Signature

Parameters

ColumnOrName
required
Input geometry
Optional[Union[ColumnOrName, float]]
default:"None"
Distance within which input vertices are snapped together before triangulating. Default is 0.
Optional[Union[ColumnOrName, int]]
default:"None"
Selects the output type: 0 (default) for a GeometryCollection of triangular Polygons, or 1 for a MultiLineString of the triangulation’s edges.

Returns

ColumnOrName
Delaunay triangles of the input geometry