Skip to content
πŸŽ‰ SedonaDB 0.4.0 is out now! πŸ—ΊοΈ Python DataFrame API, R dplyr, Geography support & GPU-accelerated spatial joins. Read the release blog β†’

ST_MinimumBoundingCircle

Introduction: Returns the smallest circle polygon that contains a geometry.

ST_MinimumBoundingCircle

Format: ST_MinimumBoundingCircle(geom: geometry, [Optional] quadrantSegments:int)

Return type: Geometry

SQL example:

SELECT ST_MinimumBoundingCircle(ST_GeomFromText('POLYGON((1 1,0 0, -1 1, 1 1))'))