93270 Commits

Author SHA1 Message Date
Trex
5743ee9c95 Follow-up to Fix #40120: Setting shortcut moved from console_editor.py to console.py 2025-09-30 07:51:07 +10:00
Trex
3d316b1bb1 Follow-up to Fix #40120: Setting shortcut moved from console_editor.py to console.py 2025-09-30 07:51:07 +10:00
Trex
652159f079 Fix #40120: Added Run Selected button to python console editor toolbar. 2025-09-30 07:51:07 +10:00
Trex
81e9b9ad47 Fix #40120: Added Run Selected button to python console editor toolbar. 2025-09-30 07:51:07 +10:00
Alexander Bruy
42feace4f9
Merge pull request #63298 from elpaso/bugfix-gh63277-fixed-interval-single-class
Symbol renderer: special case for fixed interval single class
2025-09-29 13:02:30 +01:00
Alexander Bruy
c6578b7986
Merge pull request #63279 from nirvn/vector_tile_style_url_fix
[vector tiles] Fix relative path handling of "url" sources on a different domain
2025-09-29 13:01:13 +01:00
Alexander Bruy
a71ed7cb77
Merge pull request #63240 from nyalldawson/aleixpol-work/apol/fix-gdalmerge-deprecation
processing: Call gdal_merge instead of gdal_merge.py
2025-09-29 13:00:33 +01:00
Alessandro Pasotti
b2ccee0990
Apply suggestion from @nyalldawson
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2025-09-29 09:22:17 +02:00
Alessandro Pasotti
091e072c22
Apply suggestion from @nyalldawson
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2025-09-29 09:22:08 +02:00
Alessandro Pasotti
85437bccd9
Apply suggestion from @nyalldawson
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2025-09-29 09:21:56 +02:00
Alessandro Pasotti
5f9c6ffaff
Apply suggestion from @nyalldawson
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2025-09-29 09:21:38 +02:00
Alexander Bruy
8525448b2a add tests 2025-09-29 14:05:03 +10:00
Alexander Bruy
4b5129f940 assign correct raster type to the paletted raster with alpha band (fix #61283) 2025-09-29 14:05:03 +10:00
Nyall Dawson
833aace899
Use gdal_merge.py for GDAL < 3.9 2025-09-29 10:59:13 +10:00
Nyall Dawson
e2a955eee2
Update tests 2025-09-29 10:56:00 +10:00
Aleix Pol
9ede69b396
processing: Call gdal_merge instead of gdal_merge.py
The latter is deprecated by gdal and it has a bogus shebang.
2025-09-29 10:55:59 +10:00
Nyall Dawson
127ff85935 Fix warnings 2025-09-29 10:51:43 +10:00
Nyall Dawson
bc9689d09f Fix internal spatialindex build 2025-09-29 10:51:43 +10:00
Nyall Dawson
bd0ebbfe7d Use internal spatialindex for Ubuntu CI 2025-09-29 10:51:43 +10:00
qgis-bot
bd320e3f29 auto sipify 🍺 2025-09-28 22:19:36 +00:00
Nyall Dawson
82136d0c6e Sipify 2025-09-29 08:16:55 +10:00
Nyall Dawson
15d89d273a Rework API 2025-09-29 08:16:55 +10:00
Nyall Dawson
131e12668c Fix typo 2025-09-29 08:16:55 +10:00
Nyall Dawson
e9ed10a2a5 Use Format_ARGB32_Premultiplied 2025-09-29 08:16:55 +10:00
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