24580 Commits

Author SHA1 Message Date
Yoann Quenach de Quivillic
6c3dc5d069 Temporary rubberband 2024-12-13 07:42:39 +10:00
Nyall Dawson
e8cbab7034 Add missing transfer annotations 2024-12-13 05:24:22 +10:00
Julien Cabieces
1f080b9a10
Merge pull request #59844 from nyalldawson/fix_blocking_process_test
Fix blocking process test
2024-12-12 17:00:05 +01:00
qgis-bot
4d47ba40af auto sipify 🍺 2024-12-12 08:42:35 +00:00
Nyall Dawson
1adfe87fe8 Add CRS group name and projection name to CRS model data 2024-12-12 18:39:46 +10:00
Nyall Dawson
0fff1f16b4 Add QgsStringUtils.containsByWord method
Given a candidate string, returns true if the candidate contains
all the individual words from another string, regardless of their order.
2024-12-12 18:39:46 +10:00
Nyall Dawson
7dbd894c8e
Ignore LC_ALL: cannot change locale when testing std output 2024-12-12 17:47: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
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
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
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
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
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
Denis Rouzaud
7306e5b170
Merge branch 'master' into more-clang 2024-12-11 07:53:23 +01:00
Matt Fisher
313873d58e Regenerate SIP files 2024-12-11 15:11:35 +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
53ceb20893
Fix coverity unchecked return value warning, improve docs 2024-12-11 06:40:14 +10:00
qgis-bot
98c5bf8bcd auto sipify 🍺 2024-12-10 15:43:17 +00:00
Denis Rouzaud
30ea619861
sipify 2024-12-10 14:52:35 +01:00
qgis-bot
2ad19b4b48 auto sipify 🍺 2024-12-09 23:59:38 +00:00
JuhoErvasti
c130eb7c3d Add \since to new functions 2024-12-10 09:56:33 +10:00
JuhoErvasti
b373c8b3aa Address review 2024-12-10 09:56:33 +10:00
Juho Ervasti
6b6a4d5549 Add unit selection for extent buffer 2024-12-10 09:56:33 +10:00
Juho Ervasti
bb737f3cac Disallow negative buffer 2024-12-10 09:56:33 +10:00
Juho Ervasti
13ee0bf5cf Apply suggestions from review 2024-12-10 09:56:33 +10:00
Juho Ervasti
e7a27d05c7 Fix style 2024-12-10 09:56:33 +10:00
JuhoErvasti
5c49205bd2 Add maximumExtentBuffer() function to QgsFeatureRenderer 2024-12-10 09:56:33 +10:00
JuhoErvasti
ccc7df5966 Add extent buffer property to QgsSymbol 2024-12-10 09:56:33 +10:00
qgis-bot
2690802179 auto sipify 🍺 2024-12-09 20:52:13 +00:00
Damiano Lombardi
84046748d9
WMS Ignore layer extent settings for default value
Allows customisation of the initial state of the "Ignore reported layer extents" checkbox
2024-12-10 06:49:08 +10:00
Florian Neukirchen
c763cf0cea Use createExpressionContext() to create context in a cleaner and safer way as suggested
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-12-10 06:45:43 +10:00
Florian Neukirchen
7b238cc931 Remove != "" as suggested in code review
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-12-10 06:45:43 +10:00
pre-commit-ci[bot]
4129a71797 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-12-10 06:45:43 +10:00
Florian Neukirchen
d552495eba Optional hover text from a expression 2024-12-10 06:45:43 +10:00
merydian
3d407300ef Align PyQt5 and PyQt6 files 2024-12-09 15:30:17 +10:00
merydian
da47ee41b7 Use geometry_type variable in else block 2024-12-09 15:30:17 +10:00
Till Frankenbach
92c0a07557 Replace wbk with wkb_type
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
2024-12-09 15:30:17 +10:00
merydian
ceff8fe727 Make Z and M values accessible in QgsGeometry.as_numpy() 2024-12-09 15:30:17 +10:00
qgis-bot
90fe3fb770 auto sipify 🍺 2024-12-09 05:01:35 +00:00
Even Rouault
0c5edad199 QgsProcessingAlgorithm::addOutput(): add a variant that accepts a unique_ptr for QgsProcessingOutputDefinition 2024-12-09 14:58:27 +10:00
Even Rouault
a389b1a568 QgsProcessingAlgorithm::addParameter(): add a variant that accepts a unique_ptr for QgsProcessingParameterDefinition 2024-12-09 14:58:27 +10:00