ST_MinimumBoundingRadius — Returns the center point and radius of the smallest circle that contains a geometry.
(geometry, double precision) ST_MinimumBoundingRadius(
geometry geom)
;
Computes the center point and radius of the smallest circle that contains a geometry. Returns a record with fields:
center
- center point of the circle
radius
- radius of the circle
Use with ST_Collect to get the minimum bounding circle of a set of geometries.
To compute two points lying on the mimimum circle (the "maximum diameter") use ST_LongestLine.
2.3.0 버전부터 사용할 수 있습니다.