89501 Commits

Author SHA1 Message Date
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
Nyall Dawson
fce6cee155 Improve docs 2024-12-18 19:12:29 +10:00
Nyall Dawson
3fac23e635 Cleanup construction of QgsLabelingGui to make it more accessible for subclassing 2024-12-18 19:12:29 +10:00
Nyall Dawson
f708cbd948 Remove duplicate map canvas member in subclass, use base class member instead 2024-12-18 19:12:29 +10:00
Nyall Dawson
1c3d2ae06a Expose method as protected 2024-12-18 19:12:29 +10:00
qgis-bot
b7f78e8c73 auto sipify 🍺 2024-12-18 08:10:21 +00:00
Jean Felder
8c4ffe565a qgs3dmapcanvaswidget: Display a message to report export success state
With this change, the messagebar is used to show a message if the
export operation failed or succeeded.
2024-12-18 09:07:28 +01:00
Jean Felder
fe4ca94c7e qgs3dmapcanvaswidget: Give a proper name to QgsMap3DExportWidget 2024-12-18 09:07:28 +01:00
Jean Felder
30a9e93d6b qgsmap3dexportwidget: Return export scene operation success state 2024-12-18 09:07:28 +01:00
Jean Felder
1c48cfd07f qgs3dmapscene: : Return export operation success state 2024-12-18 09:07:28 +01:00
Jean Felder
04738f5331 qgs3dsceneexporter: Return save operation success state 2024-12-18 09:07:28 +01:00
Jean Felder
1600555ce3 qgs3dsceneexporter: Do not try to save if mObjects is empty 2024-12-18 09:07:28 +01:00
Alessandro Pasotti
95a36c91e1
Merge pull request #59952 from nirvn/calendar_form_fix
[ui][themes] Fix calendar view when constraints are not met
2024-12-18 08:52:34 +01:00
Yoann Quenach de Quivillic
c11bb42cf3 Fix #59914 2024-12-18 08:40:08 +01:00
Nyall Dawson
a1863a430f Skip test on Geos >= 3.11
Broken due to https://github.com/libgeos/geos/issues/1037
2024-12-18 16:45:29 +10:00
Mathieu Pellerin
f3cd1851e7 [ui][themes] Fix calendar view when constraints are not met 2024-12-18 12:05:43 +07:00
Nyall Dawson
c1809728ff
Fix regex 2024-12-18 15:04:49 +10:00
qgis-bot
6318e14b62 auto sipify 🍺 2024-12-18 03:23:57 +00:00
Nyall Dawson
72e1b82509 Remove dead code 2024-12-18 13:21:06 +10:00
Nyall Dawson
75c8e3e2c4 Fix memory leaks in classification methods, use unique_ptrs 2024-12-18 13:21:06 +10:00
Nyall Dawson
787f8072d1
Enable test which passes now 2024-12-18 13:20:52 +10:00
Nyall Dawson
176dadfaff
Run test on qt 6 2024-12-18 13:20:52 +10:00
Nyall Dawson
d3df8c13cb
Only run i.smap , i.maxlik tests on older GRASS
Newer ones have the raster paths hardcoded into
the signature file, and we can't handle that currently
in the test suite
2024-12-18 13:20:52 +10:00
Nyall Dawson
6aa594dcb6
Allow skipping tests by grass version 2024-12-18 13:20:52 +10:00
Nyall Dawson
67a67c30e9
Resync grass plugin algorithm test base file 2024-12-18 13:20:52 +10:00
Nyall Dawson
49f9cfb358
Adapt some grass tests to account for formats used in newer GRASS versions 2024-12-18 13:20:52 +10:00
Nyall Dawson
b4f6d2e907 Run test on qt6 2024-12-18 11:19:30 +10:00
Nyall Dawson
06291f790c Disable broken test for automatic transaction groups on GDAL >= 3.5
This functionality is broken on newer GDAL versions, due
to incorrect assumptions at time of development.

See https://github.com/qgis/QGIS/pull/59797#issuecomment-2544133498

Parties interested in seeing this test resurrected are welcome
to submit fixes.
2024-12-18 11:19:30 +10:00
Alexander Bruy
464b63d47c fix build 2024-12-18 06:19:39 +10:00
Alexander Bruy
cb4822c073 fix condition 2024-12-18 06:19:39 +10:00
Alexander Bruy
3602d5891b address review comments 2024-12-18 06:19:39 +10:00
Alexander Bruy
d587f8c9a6 simplify conditions 2024-12-18 06:19:39 +10:00
Alexander Bruy
ac894db086 add option to ignore empty metadata fields 2024-12-18 06:19:39 +10:00
Alexander Bruy
446d345818 add native set metadata fields algorithm 2024-12-18 06:19:39 +10:00
Alexander Bruy
67f8475646 add native update layer metadata algorithm 2024-12-18 06:19:39 +10:00
Alexander Bruy
98d55e3018 add native add history metadata algorithm 2024-12-18 06:19:39 +10:00
Harrissou Sant-anna
53e777fd97 Typo fix 2024-12-18 06:17:52 +10:00
Harrissou Sant-anna
a15b9a159b Add help button to labeling rules dialogs 2024-12-18 06:17:52 +10:00
Matthias Kuhn
103990eabb Fix TOC 2024-12-18 06:17:33 +10:00
Matthias Kuhn
7c38163473 Document building with qt6 for macos 2024-12-18 06:17:33 +10:00
Gijs Nijholt
3139f3daaf Adds a 'system-ui' font-family to the oauth2 verification finished page. See https://css-tricks.com/snippets/css/system-font-stack/ for details on this. 2024-12-18 06:15:55 +10:00
Alexander Bruy
d1232ebe5a
Merge pull request #59928 from agiudiceandrea/patch-42
[Modeler] Fix algorithms help URL (Followup #59922)
2024-12-17 17:33:10 +00:00
Alexander Bruy
98e89dcbb3
Merge pull request #59931 from nyalldawson/fix_test_close
Avoid unclosed file warning in test
2024-12-17 10:46:19 +00:00
Julien Cabieces
3e0b74418d
Merge pull request #59926 from nyalldawson/thin_xml
Don't write unnecessary attribute to XML when saving point cloud layers
2024-12-17 11:17:30 +01:00
Julien Cabieces
e6134fd0a7
Merge pull request #59806 from GispoCoding/53696_keep_id_of_largest_feature
[digitizing] Split features: always give largest geometry to original feature
2024-12-17 11:15:22 +01:00
qgis-bot
5349b26a06 auto sipify 🍺 2024-12-17 09:52:52 +00:00
Julien Cabieces
62c6b91437
Merge pull request #59834 from troopa81/sip_deprecated
[PyQGIS] Add message to /Deprecated/ annotations
2024-12-17 10:50:02 +01:00
Nyall Dawson
2e83b6b424
Avoid unclosed file warning in test
Maybe will help with test fragility
2024-12-17 18:23:28 +10:00
Nyall Dawson
73c740c767 Fix leak in point cloud exporter 2024-12-17 18:17:51 +10:00
Nyall Dawson
527d5113a1 Fix leak 2024-12-17 18:17:51 +10:00