Convex Hull
The smallest convex polygon that contains each feature.
Pitfall. Engines differ on whether they hull each feature or the whole layer; for one hull around everything, dissolve first.
Pitfall. The hull of a single point or of collinear points is a point or a line, not a polygon.
| Also called | Minimum Bounding Geometry (convex hull), convex polygon, hull |
|---|---|
| Group | vector/geometry |
| Checks | geometry.valid |
| Pitfalls | 2 listed above |
| Columbus tool | Not stated |
| Notes | Not stated |
| Status | active |
| Broader | Not stated |
| Narrower | Not stated |
| Related |
Parameters
Not stated
Inputs and outputs
| Direction | Name | Type | Geometry | Note |
|---|---|---|---|---|
| Input | layer | vector | Not stated | Not stated |
| Output | output | vector | polygon | Not stated |
In each engine
| Engine | Tool | Parameters | Differences |
|---|---|---|---|
apache-sedona | sedona.sql.ST_ConvexHull |
|
|
gdal | gdal vector convex-hull |
| None noted |
geopandas | geopandas.GeoSeries.convex_hull | Not stated |
|
postgis | st_convexhull |
| None noted |
qgis | native:convexhull |
| None noted |
sf | sf::st_convex_hull |
| None noted |
shapely | shapely.convex_hull |
| None noted |
terra | terra::hull |
|
|
whiteboxtools | MinimumConvexHull |
|
Preset: {"features":true} |