1

I am new in QGIS. Here is my problem :

I have two layers of points. In these two layers, my points have different degrees or size :

  1. For the layer 1, the point "a" has a size of 3, and the point "b" has a size of 8. The color of these two points is red.

  2. For the layer 2, the point "a" has a size of 5, and the point "b" has a size of 2. The color of these two points is green.

Problem : When I overlap these two layers, then if I place the layer 1 first, we won't be able to the see point "b" of the layer 2. Conversely, if I place the layer 2 first, we won't be able to the see point "a" of the layer 1.

To fix the problem, I tried to go on : "Propriété de la couche" -> "Symbologie" -> "Rendu de couche" -> "Entité" and I choose "Multiplier", to make points translucent, but the results are not satisfying me.

Is there a way to overlap these layers so that we place the points whose size is the smallest, above the points of larger size, despite their belonging to two different layers?

4
  • what do u call "size" ? is it "real" size (like in meters ...) or is it the "symbol size" parameter u use in your symbology ? is this information somewhere in your attribute table ? – Snaileater Apr 8 '20 at 8:58
  • Yes @snaileater I use some infos on my attributes to establish a scale of representation, thanks to the symbology parameters – nicolax9777 Apr 8 '20 at 9:26
  • 1
    You may consider splitting the points in multiple layers (by size) or on the contrary to merge them all into a single layer. In both case the data remains in the original layers, you would only load it twice + filter, or merge them using a virtual layer – JGH Apr 13 '20 at 10:14
  • @JGH yes thanks I understood ! – nicolax9777 Apr 13 '20 at 11:11
0

There's a tiny option button next to the size parameter in the symbology tab. You can choose "Edit..." and pick the attribute which will give the point the size you want.

In french it's called 'Definition de donnée imposée', click 'Editer...' and choose your "size" attribute in the 'Constructeur de chaine d'expression'.

4
  • I already did that but my point is to overlap my two layers so that smaller ones can be in front of the bigger ones, despite the layers – nicolax9777 Apr 10 '20 at 8:16
  • If your symbology is a simple point, you can make it transparent and the small ones will be seen through the big ones. – LeoC Apr 10 '20 at 8:28
  • That's exactly what I have already done, and trying to do it another way, because if I do it for 4 layers then we are not able to distinguish colors anymore... :( – nicolax9777 Apr 13 '20 at 11:09
  • Have your tried "déplacement de point" or "groupe de point" option when generating geometry? it's not exactly what you want but it can help seeing overlapping points. An other trick could be to use Labels as points and give each label a rule based priority. – LeoC Apr 13 '20 at 12:22

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.