st_closestpoint(geography, geography, use_spheroid boolean DEFAULT true)


Description

args: geom1, geom2, use_spheroid = true - Returns the 2D point on g1 that is closest to g2. This is the first point of the shortest line from one geometry to the other.

Parameters

Name Type Mode
geography IN
geography IN
use_spheroid boolean IN

Definition