Name

Synopsis

Description

Computes the approximate geometric median of a MultiPoint geometry
using the Weiszfeld algorithm. The geometric median provides a
centrality measure that is less sensitive to outlier points than
the centroid.

The algorithm will iterate until the distance change between
successive iterations is less than the supplied tolerance
parameter. If this condition has not been met after max_iterations
iterations, the function will produce an error and exit, unless fail_if_not_converged
is set to false.

If a tolerance value is not provided, a default tolerance value
will be calculated based on the extent of the input geometry.

M value of points, if present, is interpreted as their relative weight.