Skip to contents

Returns the shortest line between two geometries.

Usage

ST_ShortestLine(geom1, geom2)

Arguments

geom1, geom2

GEOMETRY

Value

GEOMETRY

Provided by

The spatial extension (LOAD spatial;).