[QGIS-Developer] [Qgis-user] Make selected features dominant in view
Richard Duivenvoorde
rdmailings at duif.net
Thu Feb 13 02:06:40 PST 2020
Forwarded from user list:
Actual question: "Why are selected features not always painted on top"?
Question to dev's: is the 'control feature rendering' heavy in resources?
Else: would it be possible to always render the selection on top, in the
same way as shown below?
Is it worth a feature request? Or does it slow down painting to much?
Regards,
Richard Duivenvoorde
On 13/02/2020 10.46, SEGGIE Graeme wrote:
> Brilliant, thanks Richard - that works perfectly. As you say would be good if was default, but not too onerous and perhaps speeds up rendering to not have it doing so for every layer etc.
>
> Graeme.
>
>
> Hi Graeme,
>
> I do not know an answer, but I checked and it's not that selected items always would end up on top...
>
> This sounds very reasonable though... and helpfull :-) If it is not already there, it would make a nice Feature Request!
>
> There is in the Layer Properties/Symbology/Layer Rendering an option to 'Control feature rendering order' ...
> Ok, so you can make an an expression like:
>
> is_selected( $currentfeature )
>
> which then makes your selected features draw last (on top).
> You could at least try that.
> I'm wondering if that would/could not be default painting behaviour?
>
> Regards,
>
> Richard Duivenvoorde
>
> On 12/02/2020 17.34, SEGGIE Graeme wrote:
>> Is there a way to have selected features dominate in the map view? I
>> mean when selected not all selected features of a layer show as yellow
>> (default) if there are other features in the same layer above them in
>> the drawing order. In Arc – anything selected is always shown as such,
>> which is a lot handier for tracking things down spatially, quickly. Am
>> wondering if there is a preference that sets this, which I have not
>> done. I know I can create a sub-layer with filtering as an
>> alternative to do this, but that seems like more work than it should be.
>>
>> Graeme
More information about the QGIS-Developer
mailing list