Matthias Kuhn
875a5d6d9d
Merge pull request #4818 from DelazJ/spelling
...
Fix some spelling issues
2017-07-08 10:20:40 +02:00
Nyall Dawson
e0915103fd
Fix folder destinations always default to temp folder ( fix #16800 )
2017-07-07 17:02:19 +10:00
Nyall Dawson
b500080a31
[processing] Use correct file filter for file output dialog
2017-07-07 16:39:19 +10:00
Nyall Dawson
3f9cfe0ce7
Fix setting number parameters to expressions
2017-07-07 11:35:31 +10:00
Nyall Dawson
82ef7d2a89
Create specific expression context scope for child algorithms
...
Contains variables for model parameters, algorithm results for
other child algorithms which are not dependent on the
algorithm.
Allows removal of final pieces of ModelerAlgorithm code
2017-07-07 11:35:31 +10:00
Nyall Dawson
d8086e549d
Use c++ method for available sources
2017-07-07 11:35:31 +10:00
Nyall Dawson
ac9a39f09a
Fix processing.runAndLoadResults
2017-07-07 09:28:20 +10:00
Nyall Dawson
e9e335a7bd
Don't set thinking cursors when running processing algorithms
...
Since now they're run in a background thread, it's not appropriate
anymore
2017-07-07 09:28:19 +10:00
Nyall Dawson
1b2086e8a6
Make algorithm dialog use background tasks to execute algorithms
2017-07-07 09:27:35 +10:00
Harrissou Sant-anna
6fab688298
Use SpatiaLite right spelling when needed
2017-07-07 01:26:38 +02:00
Harrissou Sant-anna
b57cd0deb1
[processing] align the "Iterate over layer" button ( #4796 )
2017-07-03 14:13:30 +07:00
Nyall Dawson
4f096a6f8b
Feature source parameters cannot be used for vector layer algorithm
...
parameters in models
There's not a 1:1 correlation here - vector layers can be used
as inputs for sources, but sources cannot be used when a
full vector layer is required.
2017-06-27 13:18:22 +10:00
Nyall Dawson
14347a431e
Also add results to results dock when running through algorithm dialog
2017-06-27 13:18:22 +10:00
Nyall Dawson
1e5d773e57
Fix use of temporary files for outputs
2017-06-27 13:18:22 +10:00
Nyall Dawson
0b4bb9e998
Remove manually set tab bar height in algorithm dialog
...
Breaks dialog layout on hidpi screens
2017-06-27 10:49:31 +10:00
Nyall Dawson
94619d0df3
Fix incorrect layer source from widget wrapper
2017-06-27 08:33:13 +10:00
Nyall Dawson
11d35821c0
Fix setting number inputs to algorithms in modeler
2017-06-27 08:33:13 +10:00
Nyall Dawson
8f586ef020
Move groups from QGIS (and QGIS native) provider to top level items
...
in processing toolbox
Helps aid in user discoverability of these algorithms, and
indicates to users that these should generally be the
preferred algorithm choices if duplicates exist from other
providers.
2017-06-24 12:01:16 +10:00
Nyall Dawson
d667bf595f
Move iterator exception handling to c++
2017-06-24 08:15:06 +10:00
Nyall Dawson
e7f13f5bd8
Port model help code to c++
2017-06-24 07:36:07 +10:00
Nyall Dawson
9c47e1b148
Fix errors when edit model help
2017-06-24 07:35:56 +10:00
Nyall Dawson
81855a715b
Use FastInsert when adding features from processing
2017-06-23 14:34:38 +10:00
Nyall Dawson
4ea85362f4
Transform errors encountered while iterating features in
...
processing are non-fatal. We report them to users, and treat the
feature as having no geometry, but don't stop execution.
2017-06-23 12:08:54 +10:00
Nyall Dawson
98617c90bd
Report errors when executing algs within dialogs
2017-06-23 12:08:54 +10:00
Nyall Dawson
93b7c2809e
Report success or failure after running algs
...
And auto catch python exceptions and report failure of model
2017-06-23 12:08:54 +10:00
Nyall Dawson
9d8118c995
Fix dest selection panel when used in folder mode
...
Also fix some UX issues with the panel in folder, such as
correctly remembering/restoring last used folders, defaulting
to home dir, don't clear value when canceling while browsing
2017-06-22 18:21:51 +10:00
Nyall Dawson
76a9844949
Add folder output type
2017-06-22 18:21:33 +10:00
Nyall Dawson
22246dc332
Upgrade postgis widget wrappers to new API
2017-06-22 18:19:50 +10:00
Nyall Dawson
8af308d277
Fix creation of widget wrappers via metadata parameters
2017-06-22 18:19:26 +10:00
Nyall Dawson
d1ed7d158e
Steps towards executing models
2017-06-22 06:47:11 +10:00
Nyall Dawson
a9f97fc478
Port create attribute index alg to new api
2017-06-21 22:22:37 +10:00
Nyall Dawson
0da3652257
Rename some parameter classes for consistency
2017-06-21 22:13:16 +10:00
Nyall Dawson
f6358b2118
Begin port of modeler algorithm to c++
2017-06-20 14:45:13 +10:00
Nyall Dawson
efe8bba006
Work on resurrecting modeler
2017-06-20 14:45:13 +10:00
Nyall Dawson
bdc5e224a3
Small cleanups
2017-06-20 14:45:13 +10:00
Nyall Dawson
54124bd0aa
Restore batch algorithm mode following new processing API
2017-06-13 12:32:30 +10:00
Nyall Dawson
df73a0f4fc
Remove outdated TODO
2017-06-13 10:26:35 +10:00
Nyall Dawson
63611b1d8f
Port script code functions to c++ classes
...
Restore logging executed algorithms
2017-06-12 15:59:56 +10:00
Nyall Dawson
5177c7d181
Add a more descriptive tooltip for iterate mode button
2017-06-12 13:39:42 +10:00
Nyall Dawson
4b81630aa6
More responsive feedback when using iterate mode
2017-06-12 13:39:33 +10:00
Nyall Dawson
b9e0b46f9f
Fix running algorithms in iterating mode
2017-06-12 13:35:31 +10:00
Nyall Dawson
d8302a26f2
Fix feature source widget returns source even when not set
2017-06-12 10:38:40 +10:00
Nyall Dawson
c52e6a72ba
Fix raster layers showing as input choices for vector algs
2017-06-12 10:35:22 +10:00
Nyall Dawson
b40f409de2
Nicer formatting for log in algorithm dialog
2017-06-12 08:31:37 +10:00
Nyall Dawson
e49cc78674
Make html output in basic stats algorithm optional
2017-06-12 07:26:02 +10:00
Nyall Dawson
cb41ef1adc
Output useful logging when running algorithms from toolbox
...
Now outputs the input parameters, execution time, and results
2017-06-12 07:26:02 +10:00
Nyall Dawson
1d6d4be556
Correctly reject algorithm dialog
...
Algorithm dialog was not being rejected when close button was
called (only hidden), leading to old dialogs and widgets
hanging around forever...
2017-06-12 07:26:02 +10:00
Nyall Dawson
aa544a14c0
Only use a temporary feedback object when running algorithms
...
Otherwise canceling a run causes all future runs to be canceled
2017-06-12 07:26:02 +10:00
Nyall Dawson
2d2c229332
Port checkInputCRS to c++, and allow algorithms to flag when they
...
require all input layers to be in the same CRS
The default behaviour is to assume that algorithms are well behaved
and can handle multi-CRS inputs, but algs have the option to
flag that they do not allow this and require the input CRS check.
Those algs should document that they require all inputs to have
matching CRS - processing 3.0 behaviour is to assume that algs
can handle this.
2017-06-12 07:26:02 +10:00
Nyall Dawson
ea18e8e9db
Resurrect grid polygon algorithm
2017-06-12 07:26:02 +10:00