st_distance


Description

args: gg1, gg2, use_spheroid - For geometry type returns the 2D Cartesian distance between two geometries in projected units (based on spatial reference system). For geography type defaults to return minimum geodesic distance between two geographies in meters.

Parameters

Name Type Mode
geom1 USER-DEFINED IN
geom2 USER-DEFINED IN
$1 USER-DEFINED IN
$2 USER-DEFINED IN
$3 boolean IN
$1 USER-DEFINED IN
$2 USER-DEFINED IN
$1 text IN
$2 text IN