I need only 1 centroid point for the whole layer (more than one polygon) instead of 1 centroid point per feature that you get with the menu -> Vector -> Geometry tools -> polygon centroid tool. Its position doesn't have to be based on area or weight of any kind.

  • 2
    Make union -> take centroid.
    – user30184
    Jan 25, 2019 at 15:24

1 Answer 1


With a virtual Layer you can do it like this (same as user30184 described in his comment):

select st_centroid(st_union(geometry)) from my_layer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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