Delaunay Triangulation
Triangles joining a set of points so that no point falls inside any triangle's circumcircle.
Pitfall. Some functions triangulate the vertices of each geometry on its own; collect the points into one geometry first for one triangulation of the whole layer.
Pitfall. Four or more points on one circle have more than one valid triangulation, so engines can return different triangles covering the same area.
Pitfall. Triangles in a geographic CRS are built in degrees.
| Also called | Delaunay triangles, TIN, Create TIN, triangulated irregular network, triangulation |
|---|---|
| Group | vector/geometry |
| Checks | geometry.valid |
| Pitfalls | 3 listed above |
| Columbus tool | Not stated |
| Notes | Not stated |
| Status | active |
| Broader | Not stated |
| Narrower | Not stated |
| Related |
Parameters
| Name | Type | Required | Default | Values | Note |
|---|---|---|---|---|---|
tolerance | length | no | 0 | Not stated | Points closer together than this (in the CRS's units) are snapped together first. |
Inputs and outputs
| Direction | Name | Type | Geometry | Note |
|---|---|---|---|---|
| Input | layer | vector | point | Not stated |
| Output | output | vector | polygon | Not stated |
In each engine
| Engine | Tool | Parameters | Differences |
|---|---|---|---|
apache-sedona | sedona.sql.ST_DelaunayTriangles |
|
|
geopandas | geopandas.GeoSeries.delaunay_triangles |
|
|
grass | v.delaunay |
|
|
postgis | st_delaunaytriangles |
|
|
qgis | native:delaunaytriangulation |
|
|
sf | sf::st_triangulate |
|
|
shapely | shapely.delaunay_triangles |
|
|
terra | terra::delaunay |
|
|
turf-js | turf.tin |
|
|