Skip to main content
Creates a spherical circle from its center coordinates and radius.

Syntax

Parameters

center_lng indicates the longitude of the center of the circle. center_lat indicates the latitude of the center of the circle. radius indicates the radius of a circle, in meters. A maximum of 9999999 radius is supported.

Return value

Returns the legacy encoded shape as VARCHAR. Use ST_AsText to display it as WKT.

Examples

Text

keyword

ST_CIRCLE,ST,CIRCLE VARCHAR, DOUBLE