Nyall Dawson
60f40f066a
[processing] Fix crashes when running algs in "in place" mode
...
Fixes #35844
2020-04-20 12:01:46 +10:00
Håvard Tveite
860645ab42
Offer a per feature, as well as a global minimum distance parameter, for the Random points on lines algorithm ( #35793 )
2020-04-19 14:21:55 +10:00
Nyall Dawson
6a1a2e9af0
[processing] Fix handling of vrt, SAGA tif output file names
...
Fixes #35755 , fixes #35770
2020-04-17 16:18:09 +10:00
Nyall Dawson
05bc716827
Move model child algorithm dependencies selection widget to c++, make inline panel
2020-04-16 16:02:53 +10:00
Nyall Dawson
acc68447c3
Validate models before running from designer, showing a summary of issues
2020-04-14 20:27:21 +10:00
Nyall Dawson
2dc07ee8f7
[processing] Show warnings in model designer message bar if algorithm
...
definition is incomplete/invalid after editing a child algorithm
2020-04-14 20:27:21 +10:00
Nyall Dawson
f476fe7fc4
[processing] Don't force a child algorithm in a model to have all valid values upfront
...
This allows defered setting of parameter values, e.g. if you add an algorithm, fill in
half the parameter values, then realise you need to add a new input to the model, you
don't have to lose all your filled in values...
2020-04-14 20:27:21 +10:00
root676
4d4a7a4a08
remove old python teststring
2020-04-14 09:20:56 +10:00
Nyall Dawson
847aadfd08
Fix possible exception in processing history panel
2020-04-13 17:13:24 +10:00
Nyall Dawson
0396162d1f
[processing] De-emphasise SAGA results when searching in toolbox
...
This change "dims" the results from the SAGA provider when a search
is made in the toolbox, to visually push users towards picking alternative
algorithms instead.
The Processing implementation of SAGA algorithms are a constant source
of critical bugs for users, causing incorrect analysis results. There's
zero community interest in actively maintaining this provider, so we
need to take steps to push users to stop picking these algorithms
wherever alternative (QGIS/GRASS/GDAL based) equivalents exist.
And for 4.0, seriously re-consider dropping this provider from the
out of the box install. We are causing more harm then good by offering
it to users.
2020-04-13 17:12:14 +10:00
Alexander Bruy
6c2937fd86
[processing] set correct filter for v.in.lidar ( fix #35700 )
2020-04-11 05:22:09 +10:00
Paul Wicks
b73bd58cfb
[FEATURE][processing] New algorithm "Contour Polygons"
...
With similar functionality to the existing GDAL contour algorithm, but exporting polygon representations of the contours
2020-04-08 08:34:55 +10:00
Nyall Dawson
6326ac6b5e
Silly sip nonsense
2020-04-07 17:05:44 +10:00
Nyall Dawson
872b4640c1
Revert "fix script path on windows"
...
This reverts commit aa1c3e11e84f77584e7cd835d896379aad81b284.
The change breaks a test
2020-04-06 10:42:43 +10:00
Juergen E. Fischer
aa1c3e11e8
fix script path on windows
2020-04-05 18:26:33 +02:00
Alexander Bruy
076a0268ab
cleanup imports
2020-04-05 05:23:29 +10:00
Alexander Bruy
91229e366a
[processing] port map layer parameter definition widget to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
abe12c4cd4
[processing] port distance parameter definition widget to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
ffd21f3ceb
[processing] port scale parameter definition widget to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
bae6d214d8
[processing] port number parameter definition widget to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
7330ca8e37
[processing] port vector layer and feature source parameter definition
...
widgets to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
6f84358a9f
[processing] port multiple layers parameter defintion widget to C++
2020-04-05 05:23:29 +10:00
Alexander Bruy
ebd0a72025
[processing] port field parameter definition widget to C++, expose
...
defaultToAll option to modeler parameter definition dialog
2020-04-05 05:23:29 +10:00
Alexander Bruy
a2ed502cf5
[processing] port band parameter definition widget to C++, expose
...
option to define multiple bands parameter in modeler parameter defintion
dialog
2020-04-05 05:23:29 +10:00
Nyall Dawson
d69519a91e
Move parameter retrieval logic from dialog to ParametersPanel
...
This is cleaner, because the panel owns all the wrappers required
to evaluate the parameter values
2020-04-04 17:58:55 +10:00
Nyall Dawson
a80bdc47e5
[processing] Add API and interfaces so that widget wrappers can retrieve the
...
current set of parameters for other parameters when required
2020-04-04 17:58:55 +10:00
Alessandro Pasotti
a21800cf3e
Adress PR review + model test + QgsExpression -> QString
2020-04-03 21:21:14 +10:00
Alessandro Pasotti
4a33c75bc9
Mapping panel: fix initial loading of source fields
2020-04-03 21:21:14 +10:00
Alessandro Pasotti
e1044d87f1
Use QgsFieldMappingWigdet in processing UI
2020-04-03 21:21:14 +10:00
Nyall Dawson
a7610c5682
Give up on enum class
...
Python says no.
2020-04-02 19:20:40 +10:00
Nyall Dawson
579ef1c5c1
Fix use of enum flags in older python/sip versions
2020-04-02 19:20:40 +10:00
Nyall Dawson
d20a3bddc0
[FEATURE][processing] Port output parameter wrappers to new c++ API for modeler
...
This allows a range of new possibilities, including:
- models with static outputs for child algorithms, e.g. always saving
a child algorithm's output to a geopackage or postgres layer
- models with expression based output values for child algorithms, e.g.
generating an automatic file name based on today's date and saving
outputs to that file
2020-04-02 02:29:54 +10:00
Nyall Dawson
3976e14ae8
Refine arrow API to allow control over whether arrows join to incoming or outgoing sides
2020-04-02 02:29:54 +10:00
Nyall Dawson
c98cd8d1a8
Partial port of destination wrappers to c++ API
2020-04-02 02:29:54 +10:00
Nyall Dawson
90a0a2d6a6
Fix exception when hiding comments
2020-04-01 18:20:09 +10:00
Nyall Dawson
e788be93fa
[processing][FEATURE] Add api for setting model component colors, and expose
...
the option to set manual colors for individual model comments
2020-04-01 18:20:09 +10:00
Nyall Dawson
87f50c3633
Fix some ugly appearance of data defined buttons
2020-04-01 08:42:14 +10:00
Nyall Dawson
fb7f85efb6
Fix dialog name
2020-04-01 05:27:55 +10:00
Nyall Dawson
7a69bf39d2
Another fix for OTB widget
2020-04-01 05:27:55 +10:00
Nyall Dawson
bc659fe1fa
Adapt OTB widget use of non-stable API
...
(this is a prime example of why the sooner we can drop all this python, the better...)
2020-04-01 05:27:55 +10:00
Nyall Dawson
ed51791068
Fix spell check error
2020-04-01 05:27:55 +10:00
Nyall Dawson
fbe36f8849
Messy messy refactoring to open model parameter options using inline panels
...
The "stable" old python api is really biting us here, and causes a heap of mess
Bring on QGIS 4.0!
2020-04-01 05:27:55 +10:00
Nyall Dawson
3dfc931fad
Hide internal results from log
2020-03-31 19:35:51 +10:00
Nyall Dawson
f268b09d1b
Also show child input values
2020-03-31 19:35:51 +10:00
Nyall Dawson
cb990c69c2
Setup framework for receiving model child results after running through model designer
2020-03-31 19:35:51 +10:00
Nyall Dawson
dac7bd7272
Update test results due to different random algorithm used
2020-03-31 18:22:12 +10:00
Håvard Tveite
c774ade88f
[FEATURE][processing] Add "random points on lines" algorithm
...
The Random points on lines algorithm supplements the existing "Random points along line" algorithm, and will prove to be more useful to the majority of users than the "original".
Features:
The points are distributed randomly over the lines based on "along the line" distance, meaning that the distribution of the points will be flat over the length of the line (each place on the feature has the same probability of being "hit").
The Random points along line, on the other hand, uses a line segment based approach, meaning that the density will depend on the segment length (short segments will have a higher point density than longer ones).
2020-03-31 08:55:47 +10:00
Nyall Dawson
e386573c0c
[FEATURE][processing] Port multi-layer input parameter widget to new API
...
Allows
- expression based inputs
- rearrangement of inputs for multi-layer parameters in models, to set
specific layer orders
2020-03-31 01:06:48 +10:00
Nyall Dawson
a682405ccb
[processing] Partial port of Multi Input parameter widget (standard and batch)
2020-03-31 01:06:48 +10:00
Marco Hugentobler
4cd464059c
Revert test gpkg files
2020-03-30 08:26:16 +02:00