[postgis-users] median center instead of st_centroid

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Thu Mar 12 06:56:04 PDT 2015


Hi,
I used st_centroid on a multipoint table to get the mean center.
I would like to compare the result on the median center
http://en.wikipedia.org/wiki/Center_of_population#Mean_center

Is there already an operator in postgis that does that?

Otherwise I would like to write one, but I don't have much experience 
doing that, so any tips on how to do that well would be appreciated
Thanks in advace for your help!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20150312/cac1315d/attachment.html>


More information about the postgis-users mailing list