Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to QGIS and have recently been testing the software as my org plan to migrate from ArcGIS to QGIS in the near future.

I often use the 'Add values', 'Remove values' and the group values feature in ArcGIS (Symobology¬ Categories¬ Unique Values) to display Symbology for selected values.

Is it possible to do this in QGIS?

With categorized selected in the style menu the only options I can see is to add or delete.

share|improve this question

It is not quite as straight-forward as in ArcGIS to group values. The symbology rules actually have options that are more powerful than ArcGIS, as you can have Rule-Based Symbology.

In the Layer Properties window, on the Style tab, change the pull-down from Categorized, to Rule-Based. That will change the window to show different classes with Rules and Labels. enter image description here

Once in this window, you can add different Rule Classes with the "Add Button" enter image description here

This window lets you define the Label for the Class, and then enter the filter, which is essentially an SQL query on your layer. click the "..." button to bring up the query builder. enter image description here

Define your filters here, querying the values you want based on one or multiple attributes.

As I said, it is not as simple as selecting classes in ArcGIS and grouping them together, but I think it is ultimately more powerful.

share|improve this answer
Excellent, thanks for the swift response! – user7688 May 22 '12 at 15:26
@user7688 - If this solves your problem, please consider accepting the answer. – Get Spatial May 22 '12 at 16:02
The rule based renderer got a little make over in upcoming 1.8…. Now has rule grouping and some other tweaks. – Nathan W May 22 '12 at 21:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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