Alex
b3794cef32
Don't save defaults
2021-01-05 18:24:06 +10:00
Nyall Dawson
b740bf201a
[processing] Fix exception when calling "Select from Files" in batch mode
...
on a file parameter
Fixes #40705
2021-01-05 08:32:10 +10:00
Alex
b686336513
[bugfix] PTP check for output folder. ( #40488 )
...
Fixes #40486
2020-12-22 13:47:03 +10:00
Julien Cabieces
c66d36c16f
[processing][OTB] Don't remove parameter if its value is 0
2020-12-07 10:08:02 +10:00
Alex
50696f9936
[processing] fix exception when clicking help button in modeler
...
Fixes #40453
2020-12-07 09:26:17 +10:00
Alexander Bruy
7c1d29c363
override default value only when tool executed from GUI
2020-11-27 16:45:59 +02:00
Alexander Bruy
fe58d4956c
[processing] don't set any default value for optional NODATA parameter
...
in GDAL rastrize algorithm (fix #39752 ).
As this is optional parameter better to have it not set by default to
avoid unexpected conversion of valid values to nodata values.
2020-11-27 06:51:01 +02:00
Nyall Dawson
c0a579c719
Merge pull request #40223 from nyalldawson/vrt_separate
...
Don't default to placing each input file in a separate band in build vrt algorithm
2020-11-27 14:45:57 +10:00
Alexander Bruy
220cb56421
fix row number calculation when reporting errors in the Processing batch
...
mode (fix #39326 )
2020-11-26 11:27:48 +02:00
Nyall Dawson
347885b58c
Astyle
2020-11-24 13:14:08 +10:00
Nyall Dawson
b89d7fd088
[processing][gdal] Don't default to placing each input file in a separate
...
band in build vrt algorithm
Creating a multi-band vrt is much less common vs creating a mosaic
style vrt, so set the default to the most common use case
and most predictable outcome.
2020-11-24 13:11:37 +10:00
Nyall Dawson
b6ee3e66a3
[feature][processing] Add new algorithm to retain only selected fields
...
Allows users to select a list of fields to keep, and all other fields
will be dropped from the layer. Helps with making flexible models where
input datasets may have a range of different fields and you need to drop
all but a certain subset of these
2020-11-23 19:20:40 +10:00
Nyall Dawson
b07a58c028
[processing] Port delete fields algorithm to c++
...
1:1 port for speed/compile time safety, no user-facing changes
Also add tests
2020-11-23 19:20:40 +10:00
uclaros
72fea560ee
Add edit-in-place algorithms to locator fuzzy search
2020-11-15 15:02:15 +10:00
Giovanni Manghi
49f3fbded4
Fix SAGA Random Terrain tool
...
Fixes #39945
2020-11-13 05:53:56 +10:00
Andrea Giudiceandrea
40569f414e
Fix importlib util module import
...
to avoid "module 'importlib' has no attribute 'util'" error that prevent the load of user scripts in some circumstances
2020-11-12 10:18:04 +10:00
Denis Rouzaud
eddf6feb45
modernize CMakeLists.txt files
2020-11-12 07:14:46 +10:00
Vincent Cloarec
1fbba79a0f
Mesh export processes, first part : infrastructure and export vertices ( #39664 )
...
[processing] Infrastructure for QgsMeshLayer to add processing algorithms, dataset group paramater and dataset time parameter to allow the user to easily choose a dataset.
2020-11-03 06:05:28 +01:00
Alexander Bruy
bdce38bc0b
drop useless test
2020-11-02 09:47:29 +02:00
Alexander Bruy
9414e3f54a
test for DXF export algorithm
2020-11-02 09:47:29 +02:00
nirvn
f36701c4f8
[processing] Fix add (single) row tool button broken
2020-11-02 07:47:39 +10:00
Andrea Giudiceandrea
fa1b704a5c
[processing] fix method name in GUI wrapper
2020-11-02 07:44:51 +10:00
Alexander Bruy
554ce82c32
[processing] test for newly added parameter in Clip Raster by Extent
...
(followup 41dc20c2c1)
2020-10-28 18:35:29 +02:00
Alexander Bruy
41dc20c2c1
Merge pull request #38841 from rldhont/processing-gdal-clipbyextent
...
[Processing][GDAL] Clip Raster by extent - override CRS
2020-10-28 18:18:14 +02:00
Julien Cabieces
912dd770c0
[processing] Add missing parameter when reading QgsProcessingParameterField from string
2020-10-28 13:39:26 +10:00
Alexander Bruy
bfdb99fe65
[processing] correctly escape parentheses in GDAL command ( fix #39525 )
2020-10-28 06:07:27 +10:00
rldhont
90e9eda818
Processing - GDAL - Raster clip by extent - override CRS
2020-10-27 14:34:44 +01:00
Juergen E. Fischer
5a2757729a
translation string fix
2020-10-25 22:00:42 +01:00
Matthias Kuhn
ae565f180a
Fix field type
2020-10-25 07:30:02 +10:00
Matthias Kuhn
be8a69fd9c
Ad hoc check for ORDER_EXPRESSION parameter
2020-10-25 07:30:02 +10:00
Matthias Kuhn
84e2d78d7d
[processing] Clean migration path to new order_expression parameter
2020-10-25 07:30:02 +10:00
Matthias Kuhn
e95b62d9fa
[processing] PointsToPath allow expression for order fields
...
Allows using `$id` as expression for a csv with ordered values
2020-10-25 07:30:02 +10:00
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