Selected objects in QGIS are not visible as selected (i.e. not visible with standard colour yellow) if they are covered by overlaying objects.

This is the case for objects in underlaying layers as well as for underlaying objects within the same layer.

Is there another approach than rule-based symbology to make underlaying selected objects visible? I want to preserve the categorized symbology.

I am using QGIS, version 3.4.15.

1 Answer 1


You can solve this problem using the option Control feature rendering order.

In Symbology, using or not the option Categorised, select the option Layer Rendering > Control feature rendering order.

enter image description here

Here you can use a simple expression to control the order of rendering and to make the selected feature rendered on top of all the others.

This is the expression to use:

if (is_selected( ) , 100, 0)

enter image description here

Now you will see the selected feature on top of all the others.

enter image description here

  • 1
    You can just use: "if (is_selected( ) , 100, 0)" in case you don't want to influence the rendering order except for selected features. Mar 13, 2020 at 16:07
  • Good point. I will correct with your suggestion. Thanks.
    – Val P
    Mar 13, 2020 at 16:09

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.