k nearest neighbors vs how close those neighbors are to their k nearest
neighbors. Values substantially less than 1 imply that the record is an inlier, while values greater than 1 imply that
the record is an outlier.
ST_LocalOutlierFactor has a useSphere parameter rather than a useSpheroid parameter. This function thus uses a spherical model of the earth rather than an ellipsoidal model when calculating distance.
Signatures
Parameters
The input geometry.
The k value.
The use sphere value.
Return type
A numeric value.

