I have a vector layer containing several points and I would like to generate the mean coordinates of these points, using QGIS only if possible. I'm looking for something similar to centroids, but for points. Any hint?

  • 1
    Please edit the question to define "centroid" in this context... Is it the center of the bounding rectangle? The center of mass? The visual center of the convex hull? The X/Y of the point closest to one of those (and therefore "inside" the shape)? – Vince May 10 '16 at 10:26
  • I would combine all the points into one MultiPoint and take the centroid of that. Works with OpenJUMP, not yet tried with QGIS. – user30184 May 10 '16 at 10:35
  • Are you wanting to do something similar like this? Clusters of points: Determining the centroid (QGIS) – Joseph May 10 '16 at 11:03
  • Please edit the question in response to comments asking clarification. It's not fair to those who would answer to need to scan comments for critical information. – Vince May 10 '16 at 11:14
  • @Vince: Yeah I'm going to edit it, but I asked the question an hour ago and I'm just checking for answers now. Easy, thanks. – jeremy g May 10 '16 at 11:44

Centroid property is only for polygon layers. If you have a point layer you can calculate the "Mean Coordinates" from Qgis geoalgorithms.


If your points have a common attribute you can run "Vector > Geoprocessing Tools > Convex Hull(s)..."

Input Vector = points
Create convex hulls based on input field = check, use the field with the
                                           common attribute

This will create a polygon for each group of points. Now you can create your generalised points "Vector > Geometry Tools > Polygon Centroids..."

Convex hull creates a minimum area polygon around the points. The centroid of which will then be the generalized centroid for each point cluster.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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