st_closestpoint(geom1 geometry, geom2 geometry)


Description

args: geom1, geom2 - 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
geom1 geometry IN
geom2 geometry IN

Definition