I'm currently mapping out around 10 layers worth of polygons all in a polygon feature as shown in the image below.

enter image description here

I'm now trying to create a heatmap for each layer to show where lies the highest density of the polygons. However, to my understanding it only works with points. My question is how do I convert a multi-polygon feature into coloured centroids for each layer. I've tried the centroid feature but it only creates one colour for all years whereas I want one colour for each layer.

  • 1
    Which software are you using?
    – Padmanabha
    Sep 5 at 3:45
  • I'm using QGIS. Sep 5 at 4:24
  • 1
    (Looks like one layer with 12 symbol categories)
    – BERA
    Sep 5 at 5:27

1 Answer 1


Here are tools that can help with this task and proposed workflow:

  1. Multipart to singleparts
  2. Split vector layer
  3. Centroids TIP: Pay attention to the option Create centroid for each part.

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.