[GIS] QGIS combining categorized values

qgisqgis-2.18symbology

I want to combine categorized symbol data for the sake of symbology. For example: Let's say I classified a data column of a shapefile and it gave me 20 different values. Ten commercial building types and ten residential building types. In Arcgis I could very easily combine that to two symbols, one for residential and one for commercial.

Running QGIS 2.18, MacOS Sierra 10.12.2

Best Answer

The way to go is to use Rule-based symbology (as stated at the end of previous answer)

You may have to adjust the setting to fit your needs, the expression in the picture assume that you use numerical value for classification and you will need to create another rule for residential building.

enter image description here

enter image description here