Skip to main content
Returns the LineString geometry representing the maximum distance between any two points from the input geometries. ST_LongestLine

Signatures

Parameters

geom1
Geometry
required
The geom1 value.
geom2
Geometry
required
The geom2 value.

Return type

The resulting geometry.

Example