6204 Commits

Author SHA1 Message Date
Alexander Bruy
cc416282d3
Merge pull request #43720 from nicogodet/patch-1
Add odd integer constraint on neighborhood size in r.neighbors
2021-06-17 06:22:53 +03:00
Nyall Dawson
3ae96253de [processing] Fix use of data defined parameter values when editing
features in place

Fixes #43758
2021-06-17 13:18:12 +10:00
nicogodet
b265e20bd6 add test for odd integer for neighborhood size parameter 2021-06-16 16:58:59 +02:00
nicogodet
21ed71aac9 fix test 2021-06-15 09:44:55 +02:00
nicogodet
bb3d9ad973 add test 2021-06-15 08:40:17 +02:00
nicogodet
8a0212e695
Create r_neighbors.py 2021-06-14 09:42:34 +02:00
nicogodet
9d44ebee30
Update neighborhood size name 2021-06-14 09:08:10 +02:00
Nyall Dawson
cbe2678e34 [processing] Fix broken execution of models via browser/drag and drop
Fixes #43698
Fixes #42181
2021-06-14 15:02:54 +10:00
Nyall Dawson
e70cf8da27 Fix zonal statistics does not correctly handle coordinate transforms
Fixes #26858
2021-06-11 06:16:53 +10:00
Andrea Giudiceandrea
7d57aeef22
Add test for GRASS r.proj alg 2021-06-04 16:52:57 +02:00
Andrea Giudiceandrea
57326cbb20
[processing][grass] Fix r.proj in Windows
Properly escape the equal sign in the for /f command and fix a typo in the variable name
2021-06-03 23:54:37 +02:00
AlisterH
c1c068b28b
Add tags for gdal_edit processing algorithm (#43484) 2021-06-03 07:03:23 +10:00
franc
a5402f74a7 [bugfix][ui][rastercalculator] commit for disabling translation for operators in raster calculator
fixes #42441

changed two files, unchecked the option for translation for the operators button of the calculator
2021-06-02 16:40:46 +02:00
nicogodet
2e5e6264bf fix auto populating when input param is QgsProcessingParameterMapLayer 2021-06-02 07:14:30 +10:00
Nyall Dawson
61ac64c5a1 [processing] Python entry in history dialog should be processing.run
line, not processing.execAlgorithmDialog

We want this line to be copy/pastable into a script which executes
the algorithm without user interaction, same as QGIS <= 3.18

Followup https://github.com/qgis/QGIS/pull/42541
2021-05-28 14:34:20 +10:00
Paulo van Breugel
643b42277a
Update r.clump.txt
Add missing threshold parameter. It sets a threshold to identify similar cells. Floating number, valid range: 0 = identical to < 1 = maximal difference. Default: 0
2021-05-21 08:46:32 +10:00
rldhont
5586d4c6e9 [Processing] Fix specific exception type in getParameterFromString 2021-05-13 06:51:29 +10:00
rldhont
943acfd344 [Processing] Fix getParameterFromString to get Vector Layer data types like Feature Source
In Processing parameter description QgsProcessingParameterVectorLayer multi data types does not work as QgsProcessingParameterFeatureSource.
2021-05-13 06:51:29 +10:00
rldhont
bb5871c8c6 [Processing][Test] QgsProcessingParameterVectorLayer description string - Deactivated tests
QgsProcessingParameterVectorLayer multi data types does not work as QgsProcessingParameterFeatureSource
2021-05-07 08:41:51 +10:00
rldhont
cde42b8bab [Processing][Test] QgsProcessingParameterRasterLayer description string 2021-05-07 08:41:51 +10:00
rldhont
9438291a11 [Processing][Test] QgsProcessingParameterVectorLayer description string 2021-05-07 08:41:51 +10:00
rldhont
873307fa06 [Processing][Test] QgsProcessingParameterFeatureSource description string 2021-05-07 08:41:51 +10:00
rldhont
ed37c049f4 [Processing][Test] QgsProcessingParameterFileDestination description string 2021-05-04 15:01:03 +02:00
rldhont
a30f5fe2d4 [Processing][Test] QgsProcessingParameterFolderDestination description string 2021-05-04 15:01:03 +02:00
rldhont
59ab80bb32 [Processing][Test] QgsProcessingParameterRasterDestination description string 2021-05-04 15:01:03 +02:00
rldhont
13bb8627da [Processing][Test] QgsProcessingParameterVectorDestination description string 2021-05-04 15:01:03 +02:00
rldhont
bb57221f9c [Processing][Test] QgsProcessingParameterFile description string 2021-05-04 15:01:03 +02:00
Nyall Dawson
f093c17ac7 Update python/plugins/processing/tests/ParametersTest.py 2021-05-04 10:09:47 +10:00
rldhont
d8188ec238 fix number 2021-05-04 10:09:47 +10:00
rldhont
6a3fad81ea Tests QgsProcessingParameterExtent 2021-05-04 10:09:47 +10:00
rldhont
8d232b247b Tests QgsProcessingParameterCrs 2021-05-04 10:09:47 +10:00
rldhont
2754f829dd Tests QgsProcessingParameterBoolean 2021-05-04 10:09:47 +10:00
rldhont
08947d7ba0 Fix number 2021-05-04 10:09:47 +10:00
rldhont
44a5c97324 Tests QgsProcessingParameterNumber 2021-05-04 10:09:47 +10:00
rldhont
7b97bd9ad2 fix lint 2021-05-04 10:09:47 +10:00
rldhont
b32a9ea46f [Tests][Processing] Add getParameterFromString tests
The Procesing plugins provide a method to get parameter from string.
The string can be based on the QGIS parameter `asScriptCode` / `fromScriptCode` string definition or
on the QGIS definitions used in description file.
2021-05-04 10:09:47 +10:00
David Marteau
467dd26de0
Fix 'mkdir' in python processing tools 2021-04-28 11:26:39 +02:00
Matthias Kuhn
6a83a2f676
Replace fstring 2021-04-21 07:01:44 +02:00
Matthias Kuhn
0073ab76e8 Add safety check for field name in StatisticsByCategories
So far we would only get a KeyError for -1
2021-04-20 15:13:24 +02:00
nirvn
026b8416ae [processing] Regroup executed algorithms under meaningful groups in the history dialog 2021-04-03 20:46:02 -07:00
nirvn
410f4d024f Add test, fix issue raised by test 2021-03-31 11:50:23 +07:00
David Marteau
9eb172aa8e Add multipart option for processing geometry parameter 2021-03-31 08:59:20 +10:00
nirvn
edaf49c1f5 [processing] Add a help string to tell users what they can do in the history dialog 2021-03-29 15:06:49 +07:00
nirvn
7b66ba8291 [processing] Use algorithm icon and friendly display names in the history dialog 2021-03-29 15:06:48 +07:00
nirvn
fb2240ecac [processing] Properly style the history dialog's python command string 2021-03-29 14:03:29 +07:00
nicogodet
bf9efccff2
Fix GDAL overwrite and some minor fixes (#42447)
Automatically overwrite files in some gdal algorithms, in order to match the behavior of other processing algorithms which automatically overwrite existing files

Fixes #42248
2021-03-25 09:17:41 +10:00
Nyall Dawson
286fd207c4 [processing][saga] Fix misleading 'layer could not be generated' error
after running algorithms which create raster files
2021-03-24 14:21:44 +10:00
Harrissou Sant-anna
6e20ee86ae
Use correct spelling for qgsProcessingException class
Fix typo
2021-03-16 04:49:35 +01:00
Andrea Giudiceandrea
e11b7f0230 [processing][gdal] Fix parsing of creation options for Roughness alg 2021-03-16 11:36:09 +10:00
Nyall Dawson
8240788799 [processing] When an algorithm is run in place through the 'ef' locator
filter, ensure the progress bar is removed when the algorithm
finishes

Otherwise it hangs around in the message bar until it's manually
dismissed, unlike the behavior when you run an in-place operation
through the toolbox.
2021-03-16 10:44:40 +10:00