Skip to main content
Calculates and returns the length value representing the maximum distance between any two points across the input geometries. This function is an alias for ST_LongestDistance. ST_MaxDistance

Signatures

Parameters

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

Return type

A numeric value.

Example