Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a point shapefile with several thousands of points in it.

I've split the points up into spatial groups using a vectorgrid and pointcount.

I wish to create a mean coordinate for each group of points. However, where there are more than 200 points in each group, I wish to add two new points that are evenly distributed amongst the group.

Is it possible to create two or more new points using the 'mean coordinates' tool in QGIS?

Further issues i'm having with this method:

  • How do I get my new point (generated by the mean coordinate) to 'snap' ontop of a pre-existing point

  • Groups are created based on their pointcount. Where I have two groups of points that are spatially apart, yet with the same pointcount, each point is placed in the same group - is there a way to alter this - perhaps with a weighted mean?

Any suggestions are greatly appreciated, thanks.

share|improve this question
up vote 0 down vote accepted

A script in WhiteboxGIS solves the problem of creating multiple mean coordinates and can be found in this thread: How to calculate mean coordinates from big point datasets?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.