Opened 7 years ago

Closed 7 years ago

#3954 closed patch (fixed)

Make ST_GeometricMedian aware of point weights

Reported by: komzpa Owned by: pramsey
Priority: medium Milestone: PostGIS 2.5.0
Component: postgis Version: master
Keywords: Cc:

Description

Change History (1)

comment:1 by komzpa, 7 years ago

Resolution: fixed
Status: newclosed

In 16188:

Weight-aware ST_GeometricMedian

Weight is to be supplied as M ordinate of individual points in MultiPoint.

Bring lwgeom_median.c cunit test coverage to 100%.

ST_GeometricMedian(fail_if_not_converged=false, max_iter=0)
might give you weighted centroid, but that's not a promise.

Closes #3954
Closes https://github.com/postgis/postgis/pull/176

Note: See TracTickets for help on using tickets.