]> granicus.if.org Git - postgis/commit
Weight-aware ST_GeometricMedian
authorDarafei Praliaskouski <me@komzpa.net>
Tue, 26 Dec 2017 14:07:49 +0000 (14:07 +0000)
committerDarafei Praliaskouski <me@komzpa.net>
Tue, 26 Dec 2017 14:07:49 +0000 (14:07 +0000)
commitfb1cf349f63b5efc2f146c76ab4378295bb94676
tree531f9fee68cfc95c10f54ebe813a48c0a13c4e85
parent9d10c2539a664842e4b68325e68e72426605db12
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

git-svn-id: http://svn.osgeo.org/postgis/trunk@16188 b70326c6-7e19-0410-871a-916f4a2858ee
NEWS
doc/reference_measure.xml
liblwgeom/cunit/cu_algorithm.c
liblwgeom/lwgeom_median.c