Skip to contents

Returns the closest point on the first geometry to the second geometry.

Usage

ST_ClosestPoint(geom1, geom2)

Arguments

geom1, geom2

GEOMETRY

Value

GEOMETRY

Provided by

The spatial extension (LOAD spatial;).