Skip to content

Obtain the polygon at a specific distance from a geometric entity

Use the ST_Point(1,1) function to construct a geometric entity. Use the ST_Buffer function to obtain the polygon at a specific distance from the geometric entity.

SQL
|
SELECT
  ST_Buffer(ST_Point(1,1),1) as "Polygon"