93243 Commits

Author SHA1 Message Date
Nyall Dawson
270b91524f Mark internal class as private 2025-09-29 08:16:55 +10:00
Nyall Dawson
97d77a9edf Introduce QgsTextureAtlasGenerator
Generates texture atlases by efficient packing of multiple
input rectangles/images.

Based on the rectPack2D library.
2025-09-29 08:16:55 +10:00
github-actions[bot]
d8195bb589 auto-fix pre-commit issues 2025-09-26 22:51:18 +00:00
Andrea Giudiceandrea
dd647cb16c Fix DB Manager SpatiaLite file filter 2025-09-27 00:50:16 +02:00
sewe2000
33cebb73e3 Fix formatting 2025-09-26 13:00:56 +02:00
sewe2000
e97b2da2a6 Fix a crash during rebuildIndex() operation 2025-09-26 13:00:56 +02:00
Alessandro Pasotti
685eef779f Hide system tables from browser 2025-09-26 10:20:05 +02:00
Alessandro Pasotti
92cbff2dad Fix ISO table name in hidden tables list 2025-09-26 10:20:05 +02:00
Alessandro Pasotti
bee1c0321b Update src/core/qgssqliteutils.cpp 2025-09-26 10:20:05 +02:00
Alessandro Pasotti
6a346bb22b More skip tables and adjust test 2025-09-26 10:20:05 +02:00
Alessandro Pasotti
a989a24055 Add additional QStringLiteral entries to SQLite utils 2025-09-26 10:20:05 +02:00
qgis-bot
befc435fe5 auto sipify 🍺 2025-09-26 08:15:30 +00:00
Andrea Giudiceandrea
422e329240
Merge pull request #63337 from elpaso/bugfix-gh63111-field-calculator-ux-read-only-layers
[ux][field_calculator] Deactivate field editing for RO layers
2025-09-26 10:12:39 +02:00
Andrea Giudiceandrea
d1d6453264
Merge pull request #63336 from nyalldawson/fix_spell_check
Fix spell check
2025-09-26 10:11:11 +02:00
Andrea Giudiceandrea
caeaef5d13
Merge pull request #63259 from qgis/anitagraser-patch-1
Rename "Reproject" to "Reproject point cloud", fixes #63255
2025-09-26 09:47:01 +02:00
qgis-bot
a0368b52bd auto sipify 🍺 2025-09-26 04:22:11 +00:00
Alexander Bruy
9609c3fc2c
Merge pull request #63342 from alexbruy/identify-menu-item-names
show layer name in the identify menu if there are overlapping features from the same layer (fix #50049)
2025-09-26 05:19:36 +01:00
Alexander Bruy
6f34010834
Merge pull request #63341 from ValentinBuira/improve-doc
Small improvements to code examples in documentation
2025-09-26 05:19:07 +01:00
Alexander Bruy
68de81e852
Merge pull request #63333 from nyalldawson/cleanup_sip
Remove orphaned sip files
2025-09-26 05:17:13 +01:00
qgis-bot
5ba81679f5 auto sipify 🍺 2025-09-25 12:22:55 +00:00
Alexander Bruy
263278e429
Merge pull request #63323 from alexbruy/processing-maplayer-types
fix handling of tiled scene and vector tile layers in Processing
2025-09-25 13:20:12 +01:00
Andrea Giudiceandrea
21ebb16199 DOI for QGIS: update README.md 2025-09-25 13:58:53 +02:00
Alexander Bruy
793ad4abde show layer name in the identify menu if there are overlapping features
from the same layer (fix #50049)
2025-09-25 12:57:57 +01:00
qgis-bot
5f46c63c45 auto sipify 🍺 2025-09-25 11:49:59 +00:00
Valentin Buira
4adfec7e43
Merge branch 'qgis:master' into improve-doc 2025-09-25 13:48:47 +02:00
Denis Rouzaud
9efd6af839
[core] Introduce QgsLayerTreeCustomNode and a first use case: Custom Elevation Profile Sources (#62819)
* Introduce QgsLayerTreeCustomNode to handle items in QgsLayerTree which are not layers nor layer groups (e.g., a custom profile source from a web service to the Elevation Profile layer tree); make QgsAbstractProfileSource and its generator classes get an id in the constructor, so that subclasses don't need to deal with source ids (source ids from the generators are already in use, whereas source id from source subclasses will be used to link sources to QgsLayerTreeCustomNodes, and will be used to retrieve sources from source registry)

* [elevation] Add/remove nodes to Elevation's layer tree when registering/unregistering profile sources via QgsProfileSourceRegistry

* [elevation] Add updateCanvasSources() to Elevation Profile widget, so that after changes in the elevation layer tree, the canvas gets an updated list of profile sources, taking profile sources (i.e., from custom nodes) into account. Add QgsProfileSourceRegistry::findSourceById() for getting profile sources by id from the registry.

* [elevation] Allow for setting a display name for custom profile sources (to be displayed as layer tree node name)

* [elevation] Refactor profile source handling in Layout Elevation Profile widget, so that after changes in the elevation layer tree, the canvas gets an updated list of profile sources, taking profile sources (i.e., from custom nodes) into account. Adjust QgsLayerTreeGroup to be able to find layers and custom nodes, as well as order layer and custom nodes inside a group (only direct children).

* [elevation] Profile Source Registry improvements:

 + Avoid registering a source if its id is already registered,
 + New method to unregister a source by id, deprecating the unregister by source object.

* [tests] Add tests for QgsLayerTreeCustomNode

* [tests] add tests for legacy Elevation Profile sources and for legacy Layout Profile items:

 + make sure we keep the API untouched and mark some stuff as legacy (e.g., pure virtual methods in QgsAbstractProfileSource need to have a default implementation and making them pure virtual is postponed until QGIS 5.0),
 + add insertCustomNode(index, node) method to QgsLayerTreeGroup, so that we can set up the custom node before adding it to the layer tree, because if we add it with no custom properties set (e.g., for the elevation profile custom node), it will trigger plot updates but it won't be found due to a still missing custom property.

* [elevation] Make sure legacy layer ordering in canvas, layout item profile, and layer tree are kept (i.e., keep API untouched). Make profile source ordering works in the most expected way: canvas, layout item profile, and layer tree are in the same order, and sources are only reversed right before passing them to renderers. Add unit tests.

* [tests] Custom node for custom Elevation profiles: make sure layout item sources are stored in and read from the project

* Address review on custom nodes for elevation profile's tree view
2025-09-25 13:47:21 +02:00
Nyall Dawson
8a8c9238e9 Add test masks 2025-09-25 19:42:51 +10:00
Jan Caha
f1da378849
PostgreSQL move raster overviews to schema (#62560)
* if tables is raster and has overviews move them as well and update constraints

* add test case

* fix test case, only select relevant overviews

* first try to move table, then get properties, this ensures fail in the expected way

* get property of table from schema where it was moved to

* move table with overviews in single transaction

* raise error if the transaction did not go trough

* update with error

* update

* use multiple args

* change message

* iterate safely

* multi arg

* Apply suggestions from code review

Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>

* update tests

* fix test fail

* add assertions

* get only tablename

* fix query

* fix lines of result

---------

Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
2025-09-25 10:33:31 +03:00
Alessandro Pasotti
1d1690869d [ux][field_calculator] Deactivate field editing for RO layers
If layer is read-only deactivate the provider field editing
functionality.

Fix #63111
2025-09-25 09:07:29 +02:00
Alexander Bruy
ee48ed8a50 fix QGIS version in since annotation 2025-09-25 06:53:15 +01:00
Nyall Dawson
3108241be9
Remove unused support for reading spell check files from pipe input
This is breaking the github workflow, and isn't used anywhere
2025-09-25 15:00:27 +10:00
Nyall Dawson
6209228ddd
Try to fix spell check workflow 2025-09-25 14:31:08 +10:00
Nyall Dawson
b79f17b056
Fix spelling 2025-09-25 14:27:22 +10:00
Alessandro Pasotti
affb5ba97c [pg][raster] Fix nodata identify
Fix #63133
2025-09-25 14:15:13 +10:00
Nyall Dawson
b26ec7384c
Remove orphaned sip files 2025-09-25 14:09:02 +10:00
Even Rouault
4a31c5af9b Use non-deprecated GDALGetDataTypeSizeBits() function 2025-09-25 00:02:38 +02:00
Alexander Bruy
3dea8531d9 fix handling of tiled scene and vector tile layers in Processing map
layer parameter and associated widget wrapper
2025-09-24 09:36:39 +01:00
Alexander Bruy
f3dc5f274c
Merge pull request #63303 from alexbruy/processing-grass-enable
always load Processing GRASS algorithms (fix #61672)
2025-09-24 08:08:03 +01:00
Malik Blesius
1bbacc7bce [themes] Fix warning text color in modeler dialog for night mapping 2025-09-24 06:40:57 +02:00
Jean Felder
e140b6ea4e cmakelists: Add WITH_INTERNAL_SPATIALINDEX variable
Related: 0b1ba631b36dc6903f3dcdf7ffe3970cdedab4dd
2025-09-24 08:43:57 +10:00
David Koňařík
96f7eedb77 Extend work done in 55235e3e to Qt6 build 2025-09-24 08:39:32 +10:00
Alexander Bruy
e290dc7629 fix typo in the OpenLayersToResolveDescriptions sublayer query flag 2025-09-24 08:36:21 +10:00
Andrea Giudiceandrea
b11c30f8fb
Merge pull request #63278 from m-kuhn/sprintf
Avoid warnings about unsecure functions
2025-09-23 16:09:50 +02:00
Andrea Giudiceandrea
7abd330254
Merge pull request #63252 from DelazJ/substr_count
Adjust substr_count expression help text
2025-09-23 16:06:35 +02:00
Alessandro Pasotti
f477e33eb9
Merge pull request #63294 from elpaso/bugfix-gh59461-raster-bin-count
[gdal] Histogram: adjust bin count according to scale
2025-09-23 07:59:02 +02:00
Juergen E. Fischer
cb16993d14 fix 0b1ba631b 2025-09-23 12:24:17 +10:00
Matthias Kuhn
9646c4677e remove duplicate check 2025-09-22 17:03:42 +02:00
Alexander Bruy
25db730b51 always load Processing GRASS algorithms (fix #61672) 2025-09-22 15:40:39 +01:00
Nicolas Godet
f21aa30e73 Update tests/src/python/test_qgspointcloudlayerprofilegenerator.py 2025-09-22 15:16:15 +02:00
Nicolas Godet
9a9ebccda1 Update test_qgspointcloudlayerprofilegenerator.py 2025-09-22 15:16:15 +02:00