跳转至
🎉 SedonaDB 0.4.0 已正式发布!🗺️ 新增 Python DataFrame API、R dplyr 接口、Geography 支持及 GPU 加速空间连接。阅读发布博客 →

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))'))