[Qgis-user] Toggle Attribute

Bernd Vogelgesang bernd.vogelgesang at gmx.de
Sun Nov 22 11:01:53 PST 2020


if you would be so kind to explain the "just" part of your proposal?

On 22.11.20 15:56, Jésahel Benoist wrote:
> Can't you just use layer's actions?
>
> djes
>
> Le dim. 22 nov. 2020 à 08:43, Bernd Vogelgesang <bernd.vogelgesang at gmx.de>
> a écrit :
>
>> I had a similiar use case, see here:
>> https://gis.stackexchange.com/q/322544/8202
>>
>> Unfortunately, I just noticed the answer on my post then right now, so I
>> did not dig any deeper.
>>
>> Basic thing is, that you can establish a "connection" between two layers
>> by an "aggregate" function.
>>
>> But how to use that to change the style on e.g. a hover, is still beyond
>> my capabilities, but I'm prettey sure there  is some clever way to
>> accomplish that. Sadly, I'm not that clever. Maybe something with rule
>> based style?
>>
>> Cheers,
>>
>> Bernd
>>
>> On 21.11.20 11:51, L.W. wrote:
>>> Hi,
>>>
>>> is there a way to have a feature on map and when I press/click/hover on
>>> it that some event is raised?
>>>
>>> Primary I want to toggle an attribute field true/false.
>>>
>>> I than will e.g. display a special symbol(layer) to an other feature.
>>>
>>> Example: Feature A has a foreign key to Feaure B, when B is hovered then
>>> A's symbol should be yellow instead of green.
>>>
>>> Regards
>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>


More information about the Qgis-user mailing list