This is likely to give you a more approximate than correct answer. But maybe you can try some kind of clustering (see Medical Image Processing)
What to do if you project all points on the Y axis:
3* 4* 3*
Then project onto the X axis:
2* 2* 2* 2* 2*
Legend: 3 * means 3 people in this coordinate on the axis
Now find the median using weight (weight @location = how many people are in this place along the axis)
If you find the median for both axes, you can take the meeting points as (median X, median).
You can get the correct nearest point if, when calculating the median on one axis, you must also minimize the distance by calculating the median of the other axis. This last case is more complicated.
Adrian
source share