[QGIS-Developer] Rule-based Symbology Categories

Catania, Luke A ERDC-RDE-GRL-VA CIV Luke.A.Catania at erdc.dren.mil
Wed Aug 28 20:33:23 PDT 2024


I have a layer that contains multiple polygons, and each polygon has one or more buffers around it.  I am creating a rule and categories under the rule and when I click to test the expression of the category it returns what I expect that there are two features that satisfy the expression, yet nothing is displayed.  If I just create it as a rule using the same expression, it works fine.

What I want to see in the QGIS layer panel is below and I use the rule based symbology to color the buildings and buffers differently.

Main Layer
- Building1
      - Buffer 1
      - Buffer 2
- Building 2
      - Buffer 1
      - Buffer 2


I am actually trying to do this in code, but I wanted to see how I needed to implement it first, so I am setting  it first in the layer properties.

Luke Catania
US Army ERDC-GRL
JCMS Site Planning Developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240829/bab81568/attachment.htm>


More information about the QGIS-Developer mailing list