Supported in: Batch, Streaming
Given a valid GeoJSON input string, return a GeoJSON string that is the convex hull for the geometry. The convex hull is the smallest convex polygon containing the geometry.
Expression categories: Geospatial
Output type: Geometry
Argument values:
geometry
geometry | Output |
---|---|
{"type":"Polygon","coordinates":[[[0.0,0.0],[2.0,0.0],[2.0,1.0],[1.0,1.0],[1.0,2.0],[0.0,2.0],[0.0,0.0]]]} | {"type":"Polygon", "coordinates":[[[0.0, 0.0], [0.0, 2.0], [1.0, 2.0], [2.0, 1.0], [2.0, 0.0], [0.0, 0.0]]]} |
null | null |
Argument values:
geometry
geometry | Output |
---|---|
{"type":"Polygon","coordinates":[[[0.0,0.0],[1.0,0.0],[0.0,1.0],[0.0,0.0]]]} | {"type":"Polygon","coordinates":[[[0.0, 0.0], [0.0, 1.0], [1.0, 0.0], [0.0, 0.0]]]} |
Argument values:
geometry
geometry | Output |
---|---|
{"type":"MultiPolygon","coordinates":[[[[0.0,0.0],[1.0,0.0],[1.0,1.0],[0.0,1.0],[0.0,0.0]]],[[[2.0,0.0],[3.0,0.0],[3.0,1.0],[2.0,1.0],[2.0,0.0]]]]} | {"type":"Polygon", "coordinates":[[[0.0, 0.0], [0.0, 1.0], [3.0, 1.0], [3.0, 0.0],[0.0, 0.0]]]} |
Argument values:
geometry
geometry | Output |
---|---|
{"type":"MultiPoint","coordinates":[[0.0,0.0],[0.0,1.0],[2.0,0.0], [2.0,1.0]]} | {"type":"Polygon","coordinates":[[[0.0, 0.0], [0.0, 1.0], [2.0, 1.0], [2.0, 0.0], [0.0, 0.0]]]} |