6012 Commits

Author SHA1 Message Date
admire
2bcddfb4e1 Allow importing vector dimensions greater than 3 and other geometry types 2020-10-24 10:59:06 +10:00
Ivan Ivanov
6237ec0d41 Remove irrelevant test 2020-10-22 09:13:11 +10:00
Nyall Dawson
db7b977059 [processing] Correctly discard fid field values when running
algorithms with the RegeneratePrimaryKey flag in in-place mode

Fixes #37761, fixes #33816
2020-10-16 05:04:08 +10:00
Nyall Dawson
ab6e615c3e Update test 2020-10-15 12:40:30 +10:00
Nyall Dawson
2207c30a24 When calling processing.run() and an QgsProcessingExpection occurs,
don't raise a generic "something went wrong" exception but instead
ensure that the original exception with the proper error message
is raised for catching in Python instead
2020-10-09 05:17:49 +10:00
Nyall Dawson
ee7bea2305 [processing] Fix execution of "Eliminate selection" through Python
Fixes #38808
2020-10-09 05:17:21 +10:00
Nyall Dawson
5243a8594c [processing] Fix error reporting from batch dialog
Fixes #39197
2020-10-07 05:59:11 +10:00
Nyall Dawson
011f773d49 Use standard QgsCodeEditorPython widget in Processing script editor 2020-10-06 03:57:50 +10:00
Andrea Giudiceandrea
e7e08fd504 Fix grassname of raster layer bands in r_rgb.py 2020-09-24 18:45:59 +10:00
Mathieu Pellerin
931136879c
[processing] Make batch process faster (#38989) 2020-09-24 12:34:59 +07:00
zhanggaolei
3119eb7de2 fixed #38938 Wrong GRASS processing description files 2020-09-23 18:26:40 +10:00
Nyall Dawson
772181bc16 [processing] Don't assume iface is available
E.g. in qgis_process iface is None

Fixes #38862
2020-09-21 12:05:34 +10:00
Etienne Trimaille
6076950c68 Add help string for parameters in Processing 2020-09-21 11:05:34 +10:00
Peter Petrik
24cfedf03f fix #32511 always detect GRASS installation folder on MacOS 2020-09-18 10:56:44 +10:00
Even Rouault
53c5c337ec [Algorithms] JoinByNearest: accept max_distance == 0.0 (fixes #38761) 2020-09-16 06:15:11 +10:00
David Marteau
aa0a8ab628 Add geometry filter for processing geometry parameter 2020-09-15 07:39:10 +10:00
David Marteau
4eb931e890 Add geometry processing parameter 2020-09-15 07:39:10 +10:00
Even Rouault
c6fe79b60d [Processing] GdalUtils: fix quoting of arguments with '&' (fixes #38674) 2020-09-15 07:38:01 +10:00
Matthias Kuhn
d41e8e1d40 Rename count to __count 2020-09-15 06:48:37 +10:00
Matthias Kuhn
d2c60cca30 Add count to "tradition run in place execution" 2020-09-15 06:48:37 +10:00
Matthias Kuhn
656c533fa2 Show number of features affected by in place editing
Fixes #38680
2020-09-15 06:48:37 +10:00
Henry Walshaw
1312cfe599 Add square brackets around the saved expression
When saving a raster expression the generated expression didn't contain square brackets around the letters used for band identifiers. Sticking with the NDVI example:

```
("NIR@1" - "Red@1") / ("NIR@1" + "Red@1")
```

becomes

```
(a - b) / (a + b)
```

Due to the way the expression is parsed these would not be interactie parameters for the user to set as the parameters requre square brackets around the layer tags. This change simply updates the string replacement to include the square brackets so you would get instead:

```
([a] - [b]) / ([a] + [b])
```
2020-09-14 15:58:38 +10:00
Matthias Kuhn
d5350c618c
Merge pull request #37602 from rduivenvoorde/console_base_class
Add/use simple BaseClass to Python Console classes
2020-09-12 08:53:15 +02:00
Matthias Kuhn
3bea2e702e
Merge pull request #38695 from suricactus/alg_fieldcalc_cpp_simple
Translate qgis::fieldcalculator to C++
2020-09-11 15:41:24 +02:00
Ivan Ivanov
bd81e2f1ff Add tests and fix backwards compatibility 2020-09-11 12:27:41 +03:00
Ivan Ivanov
d32369f5ce Translate qgis::fieldcalculator to C++ (simplistic UI) 2020-09-11 10:55:12 +03:00
vcloarec
07714f3931 port alg to c++
and minor fixes
2020-09-10 14:03:11 -04:00
vcloarec
a95a40bfdd fixe typo and doc 2020-09-10 14:03:11 -04:00
vcloarec
d2f4c40f8a TIN Mesh creation 2020-09-10 14:03:11 -04:00
Matthias Kuhn
7fb1740725 Add test 2020-09-09 21:21:34 +02:00
Mathieu Pellerin
af81515831
[processing] Add a cluster size attribute to the kmean cluster algorithm 2020-08-27 13:08:42 +07:00
Mathieu Pellerin
5e25c06de5
[processing] Add a cluster size attribute to the dbscan cluster algorithm 2020-08-26 08:48:57 +07:00
DiGro
4aefe0d65b Typo corrected. Added one space
Line 120 :  "FieldPyculator code execute error.Global code block can't be executed!\n{0}\n{1}" " should probably be
                  "FieldPyculator code execute error. Global code block can't be executed!\n{0}\n{1}" "
Added one space bewteen "error." and "Gobal"
2020-08-20 06:59:48 +10:00
Alexander Bruy
476ac55a60
Merge pull request #38312 from alexbruy/ux-fixes
Various UX fixes
2020-08-17 10:51:29 +03:00
nirvn
d827faa2c8 [processing] Upgrade the sample raster value algorithm to native C++ 2020-08-17 12:59:34 +07:00
Alexander Bruy
de7de1e28e raise an assert if algorithm which should be added to the toolbar is not found 2020-08-17 08:44:41 +03:00
MrChebur
a9a850caf2
Add files via upload 2020-08-16 16:25:21 +05:00
MrChebur
f5e1abfe0f
Update qgis_algorithm_tests2.yaml 2020-08-16 16:24:28 +05:00
Alexander Bruy
1a76a0963e add Select By Location to the Selection toolbar (fix #20350) 2020-08-16 12:15:22 +03:00
Alexander Bruy
bacf779236 pick Vector menu title from the main QGIS window instead of using own
translation (fix #35028, #28474)
2020-08-16 12:15:22 +03:00
Matthias Kuhn
6124b5c01f
Apply suggestions from code review 2020-08-15 18:59:50 +02:00
Matthias Kuhn
1c6a0a8f6f
Apply suggestions from code review 2020-08-15 18:59:28 +02:00
MrChebur
92914c5339
Apply suggestions from code review
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2020-08-15 21:56:43 +05:00
Matthias Kuhn
a3c8d6dc29
Update python/plugins/processing/algs/qgis/PointsToPaths.py 2020-08-15 18:55:54 +02:00
MrChebur
e5246da109
Update PointsToPaths.py
spaces deleted
2020-08-15 21:50:47 +05:00
MrChebur
660703d696
Apply suggestions from code review
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2020-08-15 21:31:53 +05:00
MrChebur
be613409b4
Update PointsToPaths.py
"line" is replaced by "path"
2020-08-15 21:27:30 +05:00
MrChebur
a30635d71e
Update PointsToPaths.py
Returned missing spaces
2020-08-15 21:20:51 +05:00
MrChebur
dcc7ff921a
New option added: "Close line"
Now this algorithm can check and close the line if necessary.
2020-08-14 18:08:25 +05:00
nirvn
8fe4d3e793 [processing] Allow merging layers with mixed attribute type 2020-08-11 15:03:38 +07:00