[postgis-tickets] [PostGIS] #3954: Make ST_GeometricMedian aware of point weights

PostGIS trac at osgeo.org
Tue Dec 26 06:07:50 PST 2017


#3954: Make ST_GeometricMedian aware of point weights
----------------------+---------------------------
  Reporter:  komzpa   |      Owner:  pramsey
      Type:  patch    |     Status:  closed
  Priority:  medium   |  Milestone:  PostGIS 2.5.0
 Component:  postgis  |    Version:  trunk
Resolution:  fixed    |   Keywords:
----------------------+---------------------------
Changes (by komzpa):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"16188" 16188]:
 {{{
 #!CommitTicketReference repository="" revision="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
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3954#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list