ST_LongestLine
Signature
Description
Returns the 2-dimensional longest LINESTRING
between the points of two geometries (geomA
and geomB
).
If geomA
and geomB
are the same, the function will return the longest LINESTRING
between the two farthest vertices in this geometry.
Examples
Cases where geomA
and geomB
are different
Case where geomA
is equal to geomB
See also