89216 Commits

Author SHA1 Message Date
t0b3
354f9358ee yarn upgrade 2024-12-12 09:43:43 +10:00
t0b3
85dc8b0cfc CI: upgrade to nodejs v22 2024-12-12 09:43:43 +10:00
Harrissou Sant-anna
3ff6ca6556 Remove optional flag next to Processing algs Boolean parameters - fixes #59794 2024-12-12 09:40:29 +10:00
Julien Cabieces
f5447dc61b license(CMYK): Add CMYK ICC profile test file 2024-12-12 08:31:07 +10:00
Julien Cabieces
3474706d39 fix(CMYK): add missing test file
Regarding the license, the file can be used, embedded, exchanged, and
shared without restriction. see
https://www.color.org/registry/CGATS21_CRPC6.xalter.
2024-12-12 08:31:07 +10:00
Matthias Kuhn
2f93be8f86
Merge pull request #59831 from m-kuhn/polynameoursity
[relations] Show polymorphic relation name in config dialog
2024-12-11 21:00:35 +01:00
Julien Cabieces
c919edc87c
Merge pull request #59829 from lindacamathias/patch-1
Fix table of content in readme
2024-12-11 19:12:26 +01:00
Nyall Dawson
2601265871 Fix an instance where the status bar coordinates are incorrectly transformed
This can happen immediately after a project CRS change, as the last
mouse coordinates are incorrectly considered to be in the new
project CRS.
2024-12-12 03:51:10 +10:00
Nyall Dawson
53c4089553 When an error in a fallback operation occurs, ensure exception has correct input coordinates
It was showing the inf/inf values from the failed transform, not the
input coordinate
2024-12-12 03:51:10 +10:00
Damiano Lombardi
fdc24b26ed
Set additional HTTP headers for WCS provider (#59635)
* Set additional HTTP headers for WCS provider

Same way as done for WMS
Fixes partially #17823 (WFS still missing)

* Move qgsauthorizationsettings.h to core/auth

* qgsauthorizationsettings.h SIP_NO_FILE

* Add class documentation

* Add CORE_EXPORT

* switcht to class

* Move implementation to cpp file

* fix indentation

---------

Co-authored-by: Denis Rouzaud <denis.rouzaud@gmail.com>
2024-12-11 17:07:27 +01:00
pre-commit-ci[bot]
3cbabfcc1e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-12-11 15:32:39 +00:00
Matthias Kuhn
79e1996f22 [relations] Show polymorphic relation name in config dialog 2024-12-11 16:25:40 +01:00
qgis-bot
b6e18bbff7 auto sipify 🍺 2024-12-11 14:57:52 +00:00
Julien Cabieces
ea95dfafda
Merge pull request #59809 from ptitjano/elevation-profile-raster-load
[elevation Profile] Correcly add a raster layer to an existing elevation profile widget
2024-12-11 15:55:09 +01:00
Linda Camathias
8d23d9f54b
Fix table of content in readme 2024-12-11 15:19:20 +01:00
qgis-bot
5e4ff38a82 auto sipify 🍺 2024-12-11 14:09:01 +00:00
Jan Caha
254614b393
Mesh layer remove datasetgroup (#59382)
* add removeDatasetGroup() function for mesh data provider and mesh layer

* make dataset group names unique

* fix typo

* add mesh removing to the widget

* fix icon

* add check that added dataset group path is unique to avoid duplicate data and emit message if it is not

* sipify

* fix mistake

* check if uri is correct - just for case

* add tests

* add tests

* fix docstring

* add docstring

* add missing override

* explicitly convert number to string

* update tests to reflect that you cannot add same file as dataset group twice

* fix docstring

* pass by value

* fix docstrings

* const variables

* rename signal

* drop include

* simplify regex

* make test better

* sipify

* add docstring

* fix styling and typo

* fix tests

* fix precommit issues

* fix issue

* Update src/core/mesh/qgsmeshlayer.h

fix docstring

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* const stuff

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* sipify

---------

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-11 16:06:17 +02:00
Jan Caha
f593da593a
New Algorithm - Mesh Surface to Polygon (#58941)
* new algorithm

* update feedback

* allow cancel during mesh face processing

* allow cancel during mesh faces processing

* fix file names

* fix the speed of the algorithm

* drop not needed imports

* fix issues

* more readable

* add mesh layer

* test case

* simplify to avoid warning

* fix issue

* fix data call

* fix call

* fix expected data

* handle meshes with holes

* add test case

* merge from master

* Update src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp

fix translation

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* Update src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp

fix translation

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* Update src/analysis/processing/qgsalgorithmmeshsurfacetopolygon.cpp

fix translation

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix translation

* typo

* clone

* delete to avoid memory leak

---------

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-11 16:04:48 +02:00
Jan Caha
baed5b01d6
Mesh point add elevation (#58877)
* select separate mesh point after adding it

* applyZValueFromProjectTerrainOnSelectedVertices function

* add stuff to widget and connect with the tool

* if the transform fails use original coordinates

* rename function

* review suggestions

* styling fixes

* fix clang-tidy issues

* add tests

* if terrain provider value is NaN, default value should be set, using currentZValue() would set up last added Z value (from previous point for example)

* more test cases

* one more test

* add message bar warning if default value is used

* move from z widget to separate settings and offer more flexibility

* move from z value widget to QgsMeshTransformCoordinatesDockWidget

* update tests to reflect changes

* fix tests

* revert QgsZValueWidget back to its original state

* avoid issue

* move currentZValue() up in the logic to avoid clang error

* release terrain providers to avoid SEGFAULT

* fix precommit issues

* fix precommit issue

* drop empty line

* Update src/app/mesh/qgsmaptooleditmeshframe.cpp

add tooltips, change names

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* rename enum

* rename setting

* drop leftover

* use default timing

* rename function

* change setting value, to work with changed order

* update tests

---------

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-11 16:03:36 +02:00
qgis-bot
21450c1223 auto sipify 🍺 2024-12-11 13:57:37 +00:00
Alexander Bruy
0baab445c0
Merge pull request #59813 from nyalldawson/coverity
Coverity scan fixes
2024-12-11 13:54:56 +00:00
Jean Felder
cfc2418675
qgslayertreemodel: Fix layerFlagsChanged docstring 2024-12-11 11:02:35 +01:00
Jean Felder
0fb39fe99d
qgslayertreemodel: Ensure to refresh when elevation properties change
If an elevation profile widget is already open, when a new raster
layer is added, it is not added to the elevation widget
treeview. Indeed, when a new raster is added,
`QgsRasterLayer::elevationProperties::hasElevation()` returns `False`
by default and the proxy model of the elevation filters out the layers
which do not have an elevation.

Later on, `QgsAppLayerHandling::postProcessAddedLayer` is called on
this raster and it sets the elevation to `True` if it looks like a
DEM (See
`QgsRasterLayerElevationProperties::layerLooksLikeDem()`). However,
the layer tree of the elevation widget has already been populated and
it is not updated.

This issue is fixed by emitting the the `dataChanged` signal every
time the elevation properties of a layer changes. Indeed, this forces
a full refresh of the model and displays the raster in that case.
2024-12-11 11:02:07 +01:00
qgis-bot
992ccc9293 auto sipify 🍺 2024-12-11 09:42:27 +00:00
Denis Rouzaud
2b055eb807
add an option to define locator tree height (#59825)
* add an option to define locator tree height

* add comment that it requires a restart
2024-12-11 10:39:45 +01:00
qgis-bot
f4975103b6 auto sipify 🍺 2024-12-11 09:22:49 +00:00
Denis Rouzaud
7672b3509b
Update .git-blame-ignore-revs with clang-format 3d/server 2024-12-11 10:20:06 +01:00
Denis Rouzaud
17574346e1
Merge pull request #59805 from 3nids/more-clang
clang-format on 3d and server
2024-12-11 10:19:05 +01:00
qgis-bot
2fc40b845c auto sipify 🍺 2024-12-11 09:14:31 +00:00
Matej Bagar
22fe235648
Virtual point clouds - Tile Labels (#59726)
* Add label rendering into VPC tiles

* Move tile labels rendering into QgsPointCloudExtentRenderer

* Rework showLabels flag once more & connect it to widget

* Add widget for label TextFormat WIP

* Rework and fix text format widget issues

* Improve default text format used in VPC labels

* Fix banned keywords issue

* Fix QgsTextFormat review issue

* Fix labels drawing efficiency issue

* Fix formating issues

* Fix review issues
2024-12-11 10:11:44 +01:00
pre-commit-ci[bot]
76c6fff98f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-12-11 06:56:22 +00:00
Denis Rouzaud
7306e5b170
Merge branch 'master' into more-clang 2024-12-11 07:53:23 +01:00
Alessandro Pasotti
62034dfe30
Merge pull request #59477 from elpaso/bugfix-gh59408-partial-fix-for-overlay_intersects_details
overlay_intersects: flatten collections and filter by type
2024-12-11 07:44:01 +01:00
Nyall Dawson
99fc870dad Don't allow "fixed time range per band" when raster has multi-band symbology
Fixes #59777

Just like the equivalent fixed-elevation-range per band mode for
elevation, this temporal setting ONLY makes sense when the renderer
is a single-band renderer.
2024-12-11 16:43:28 +10:00
Matthias Kuhn
1dd6a4ac72
Merge pull request #59769 from sebastic/appstream
Fix AppStream metadata.
2024-12-11 07:34:21 +01:00
Matthias Kuhn
ab1fba8ce1
Merge pull request #59800 from m-kuhn/external_o2
Use o2 library from https://github.com/qgis/o2/
2024-12-11 07:01:11 +01:00
Matt Fisher
313873d58e Regenerate SIP files 2024-12-11 15:11:35 +10:00
Matt Fisher
bcf3bb4c96 Fix mistake in docstring for QgsProjectMetadata
I believe the first sentence here was copied from `QgsLayerMetadata`.
2024-12-11 15:11:35 +10:00
Etienne Trimaille
0811b32696 Model to Python script - Add annotations 2024-12-11 11:13:40 +10:00
Etienne Trimaille
6f4304bc0e Review the Processing script template : add annotations, remove self.tr 2024-12-11 10:59:00 +10:00
Nyall Dawson
0369b04aff Test masks for Ubuntu 24.04 2024-12-11 10:49:18 +10:00
Nyall Dawson
737db66248
Add missing docs 2024-12-11 07:53:04 +10:00
Nyall Dawson
53ceb20893
Fix coverity unchecked return value warning, improve docs 2024-12-11 06:40:14 +10:00
Nyall Dawson
cadf4ae455
Pass by const ref 2024-12-11 06:37:43 +10:00
Nyall Dawson
351f2c26e5
Fix some coverity unchecked return value warnings 2024-12-11 06:35:20 +10:00
Nyall Dawson
1070f7544b
Fix coverity COPY_INSTEAD_OF_MOVE warning 2024-12-11 06:26:49 +10:00
Nyall Dawson
54c25b0791
Use const ref 2024-12-11 06:25:12 +10:00
Nyall Dawson
785a968f47
Fix coverity issues in QgsStacSourceSelect::showItemsContextMenu
- Unchecked dynamic_cast
- Fix access to temporary reference from lambda slot
2024-12-11 06:21:58 +10:00
qgis-bot
98c5bf8bcd auto sipify 🍺 2024-12-10 15:43:17 +00:00
uclaros
2391d895f2 address review issues 2024-12-10 16:39:54 +01:00