I have got a layer with distance vectors between polygons. This layer has a rule based style where I can check each polygon to show only the vectors with contact to the polygon. Each vector has as an attribute the start and the endpoint (name of polygon)
I want to add a rule based labeling which should depend on the chosen stylename. Is there a function like "$get_active_stylename" which can be used as a variable?
The layerstyle Looks like this
There are some sub rules.
The polygons are buildings. So I want to chose building 86 and the label hase to be rulebased to building 86. The problem is that building 86 can be the start or the end of the vector.