Skip to main content
Returns a struct containing the center point and radius of the smallest circle that contains a geometry. ST_MinimumBoundingRadius

Signatures

ST_MinimumBoundingRadius(geom: Geometry)

Parameters

geom
Geometry
required
The input geometry.

Return type

A struct containing the result fields.

Example

SELECT ST_MinimumBoundingRadius(ST_GeomFromText('POLYGON((1 1,0 0, -1 1, 1 1))'))
{POINT (0 1), 1.0}