89418 Commits

Author SHA1 Message Date
Alexander Bruy
53e174f05e
Merge pull request #59949 from nyalldawson/grass7im
Fix grass imagery tests on newer GRASS versions
2024-12-18 18:56:38 +00:00
qgis-bot
c95d63c175 auto sipify 🍺 2024-12-18 09:15:18 +00:00
Nyall Dawson
851e36013c Show labeling in raster layer properties dialog 2024-12-18 19:12:29 +10:00
Nyall Dawson
e5379a7b5c Remove a lot of hardcoded tab indexes 2024-12-18 19:12:29 +10:00
Nyall Dawson
6408267d95 Address review 2024-12-18 19:12:29 +10:00
Nyall Dawson
986a859baf Fix clang-tidy warning 2024-12-18 19:12:29 +10:00
Nyall Dawson
de90261dea Add test mask 2024-12-18 19:12:29 +10:00
Nyall Dawson
a3f4b849f1 Support raster labels for resampled values across neighboring pixels 2024-12-18 19:12:29 +10:00
Nyall Dawson
c2d933579d Move resampling method enum to Qgis, promote to enum class 2024-12-18 19:12:29 +10:00
Nyall Dawson
2bf6d34a60 Style 2024-12-18 19:12:29 +10:00
Nyall Dawson
87ec3b2211 Fix clang tidy warning 2024-12-18 19:12:29 +10:00
Nyall Dawson
17066b14cb Add test masks 2024-12-18 19:12:29 +10:00
Nyall Dawson
88908b7380 Stablise transform for test 2024-12-18 19:12:29 +10:00
Nyall Dawson
30867e3af0 Only write labelsEnabled attribute when labels are enabled
Keeps XML minimized when not required
2024-12-18 19:12:29 +10:00
Nyall Dawson
8d0aa9f39f Remove unused 2024-12-18 19:12:29 +10:00
Nyall Dawson
d9d501a3d8 Fix see also link 2024-12-18 19:12:29 +10:00
Nyall Dawson
6d95a84097 Fix build 2024-12-18 19:12:29 +10:00
Nyall Dawson
ebfa425804 Add missing moc 2024-12-18 19:12:29 +10:00
Nyall Dawson
667ba086e3 Fix mode for script 2024-12-18 19:12:29 +10:00
Nyall Dawson
c33b8b276f Fix documentation 2024-12-18 19:12:29 +10:00
Nyall Dawson
b392630dc4 Fix default settings are not shown in widget 2024-12-18 19:12:29 +10:00
Nyall Dawson
4d97c7192f Add GUI for configuring raster labeling 2024-12-18 19:12:29 +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
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
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