3 Commits

Author SHA1 Message Date
Nyall Dawson
183e86f5b3 [api] Add method to test if labeling as non-default blend modes 2025-05-21 07:19:45 +10:00
Nyall Dawson
7b56629478 Sipify 2025-03-27 14:00:26 +10:00
Nyall Dawson
14f625f59f [API] Add framework for raster labeling
Allows raster pixels to be labeled with the value taken from a raster
band.

Labels are registered with the labeling engine, so participate in
label conflict resolution and overlap avoidance

Options include

- Selection of band to take values from
- Using QgsNumericFormat to customise the number format for the labels
- Uses text renderer, so supports buffers, shadows, etc
- Label priority
- Scale dependant visibility
- Optional pixel size dependent visibilty, ie show only when pixels are
> 4mm in size
- Z index control, overlap avoidance mode

Fixes #14408
2024-12-18 19:12:29 +10:00