QGIS plugin to detect missing or redundant categories in categorized renderers.
In categorized symbology, new attribute values do not automatically appear as categories. This plugin checks all vector layers in the current project on demand and reports:
- Missing categories: values present in features but not defined in the renderer
- Empty/redundant categories: defined in the renderer but not used by any feature
- Trigger via menu “Check Missing Categories” or the toolbar icon.
- Runs a one-time analysis across all project layers.
- Only considers vector layers with a categorized renderer and a valid classification field.
- Compares actual feature values with renderer categories.
- List-type category values are normalized to tuples for reliable comparison.
- Report includes: + Totals (missing/empty categories, affected layers) + Per-layer details in a three-column layout + Tip to fix: Layer Properties → Symbology → “Classify”
- Click the menu entry or toolbar icon.
- If everything is consistent: a success message confirms all layers are fully classified.
- If issues are found: a warning shows totals and per-layer details.
- If category values include lists (e.g., from multi-field classification), an additional warning explains the situation; values are handled correctly.
Analyzed layers must:
- Be vector layers
- Use a categorized renderer
- Have a valid classification field
- Have at least one defined category
- Contain at least one valid (non-NULL, non-empty) feature value
Excluded: raster layers and other renderer types (single symbol, graduated, rule-based, etc.).
- Output limit: per-layer value list is capped at 200 characters (counts remain accurate).
- Renaming attribute values is not detected as a rename: the old value appears as “empty,” the new value as “missing.”
- 0.6 Initial release