1

I am wondering about the option of highlighting one field in the Identify Results panel by linking the styling applied to the layer, as you can see below.

enter image description here

I would like to have that cell highlighted in colour, which would depend on the value inside.

Is that possible at all?

I found some link here:

https://www.cadlinecommunity.co.uk/hc/en-us/articles/360013744878-QGIS-Change-Identify-Results-Colour#:~:text=By%20default%2C%20when%20you%20use,of%20your%20choice%20%E2%80%93%20e.g.%20purple.

but the website doesn't respond at all

I found something also here:

QGIS 2.2 Identify tool highlight settings

but it looks like it applies to the things highlighted in the panel by myself.

I need something auto-highlighted.

1 Answer 1

2

As far as i know, you can't set conditions on Highlight or Selection color, it's either all yellow, all red, all blue... depending on the color you choose in the settings

You can set an attribute form with a specific style that reproduce your classification

Attribute form

For example, if the field id_gri has a value over 1000, i set a blue color and under 1000, a green color. Then, with the identify tool set to open the form each time a single entity is selected, I get a window with the corresponding color.

Identify window

3
  • What version of QGIS do you have? I cannot see the style section in the 3.12 version.
    – Geographos
    Commented Feb 23, 2022 at 11:00
  • 3.16.9, the style section appears on a container (created with the green + button)
    – Mr_Yum
    Commented Feb 23, 2022 at 13:07
  • That explains everything then. I will accept your answer because I believe it's correct. Thank you for your effort.
    – Geographos
    Commented Feb 23, 2022 at 13:17

Your Answer

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

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