Home / Works / Legend Optimized Labelling

Legend Optimized Labelling

QGIS Plugin
6 Seniors Weekly Python · QGIS Plugin API

Overview

Applies optimized legend-style labeling to rule-based symbology layers. Supports pricing and non-pricing modes, configurable decimal places, unit suffixes, and classification fields. Eliminates manual legend label editing for senior map production workflows.

How it works

Options enter mid-process; pricing mode adds a second route before the label is written.

Value field, decimals,unit, mode Rule-based layer Reset base labels fromrule filters Per rule: first matchingfeature with a value Pricing mode? NO PRICE; sale / leaseranges by class Format value; addunit to the label Legend with values,layer repainted yes no

InputStepDecision / optionData storeOutput

Details

About the code

Built for my department. The code stays with the company, so this page describes the tool only.