Nyall Dawson
933559b655
[processing] Report provider version string alongside QGIS version in log
...
Helpful for debugging and reproducability of results
2019-04-08 16:59:15 +10:00
Nyall Dawson
7674e1657b
[processing] Include version information at start of log
...
Start the log text with QGIS/Qt/GEOS/GDAL version information strings.
This is helpful for debugging and accountability.
2019-04-02 06:16:45 +10:00
Nyall Dawson
f5a3485eae
Fix some Python warnings, avoid accidently hiding all deprecation warnings
2019-03-28 11:47:23 +10:00
Nyall Dawson
234c1718c4
Mark some Processing methods as deprecated
2019-03-28 11:47:23 +10:00
Nyall Dawson
ef8d893393
More QgsMapLayer python fixes
2019-03-27 09:11:15 +10:00
Nyall Dawson
ac651ee0d9
Followup 8d51a693, fix broken plugins
2019-03-27 07:20:43 +10:00
Denis Rouzaud
8d51a693a1
missing changes of QgsMapLayer::Type => QgsMapLayerType
2019-03-26 14:09:19 -05:00
Nyall Dawson
af06cf0cd2
[processing] Fix exception when creating unit tests
2019-03-21 16:08:42 +10:00
Nyall Dawson
c66159bd2d
[processing] Fix warning when loading algorithm dialog and no layers
...
are present
Fixes #21631
2019-03-21 15:10:30 +10:00
Rashad Kanavath
46da10a1e8
Revert "fixes #21374 : ignore optional output parameters"
...
This reverts commit af2421541c78742a233b3c5a00cbbd6c11ceaaab.
2019-03-21 04:44:59 +10:00
Rashad Kanavath
f6ad4745bd
fixes #21374 : ignore optional output parameters
2019-03-21 04:44:59 +10:00
Nyall Dawson
719a225bca
[processing] Port point widget wrapper to new API
...
And switch to a snapping canvas tool when selecting points from canvas
2019-03-17 16:19:40 +10:00
Nyall Dawson
db1645cf12
[processing] Fix processing.runAndLoadResults
...
Fixes #21551
2019-03-15 08:37:43 +10:00
Nyall Dawson
5ec43cfdc1
[processing] Add project to QgsProcessingParameterWidgetContext
2019-03-12 08:16:52 +10:00
Alexander Bruy
0fcf567fb0
[processing] fix handling of the multiple layers parameter when inputs
...
are plain files
2019-03-11 08:29:03 +10:00
Alexander Bruy
80dd6d5203
[processing] add missed imports to batch panel ( fix #21486 )
2019-03-09 20:34:15 +02:00
Nyall Dawson
63d648738d
[processing][needs-docs] By default, hide algorithms with known issues from toolbox
...
And add a Processing setting to allow these to be shown. When shown, they
are highlighted in red with a tooltip explaining that the algorithm
has known issues
2019-03-06 06:33:06 +10:00
Nyall Dawson
e09b97f91e
[processing] Fix missing vector polygon to lines menu item
...
Fixes #21475
2019-03-05 14:34:42 +10:00
Alessandro Pasotti
a9652316af
Tiny cosmetic fix: error by 1 on iteration counter text
2019-02-23 15:30:57 +01:00
Víctor Olaya
13bff9620c
[processing] do not allow using unsupported file formats
...
Show warning message if user selects incompatible output file format
fixes #21089
2019-02-23 05:24:56 +10:00
Alessandro Pasotti
ff9a65c1b4
Merge pull request #9193 from elpaso/bugfix-21270-processing-algrunner-crash
...
Processing: fix crash in alg runner task with bad scripts
2019-02-20 07:43:50 +01:00
Nyall Dawson
7acfefadad
Fix infinite progress when an algorithm could not be created
2019-02-20 13:05:13 +10:00
Nyall Dawson
521ebdc973
[processing] Wrappers built off old API can still take advantage of the full widget context
2019-02-20 05:39:04 +10:00
Nyall Dawson
29fa7b6e7b
Fix build, indentation
2019-02-13 07:59:30 +10:00
Nyall Dawson
60a1d6306f
Fix some missing expression context variables in processing expression based widgets
2019-02-13 07:59:30 +10:00
Nyall Dawson
7f3640d8a1
[processing] Fix evaluation of linked parameters in batch mode
...
e.g. missing fields after selecting a layer parameter
2019-02-08 06:38:49 +11:00
Nyall Dawson
f77cf4fae4
[processing] Formalise object design for ContextAction, allow icons to be set
2019-02-01 17:54:28 +11:00
Nyall Dawson
5bfec27938
[processing] do not show geometryless layers in extent selector
...
Fixes #21129
2019-01-31 17:52:29 +11:00
Víctor Olaya
6eaa511eed
[processing] show warning when file-based layer could not be loaded and dependent params updated
...
For algorithms with multiple parameters depending on a vector layer parameter, the code that loads the layer in the background is called repeatedly, impacting performance. A small layer cache is implemented with these changes, so the dialog only tries to load the layer once.
2019-01-29 11:12:23 +11:00
Nyall Dawson
431861a468
[processing] Add a better API for specifying that outputs are temporary
...
Instead of requiring clients to generate temporary file names themselves,
(or use the cryptic "memory:" string!), this PR adds a static constant
QgsProcessing.TEMPORARY_OUTPUT
If a layer/sink output parameter is set to QgsProcessing.TEMPORARY_OUTPUT,
then the temporary output filename will be generated automatically at
algorithm run time. This means callers don't need to mess around with
finding appropriate temporary folders and paths.
Another benefit is that TEMPORARY_OUTPUT is stored in the processing
history, so if you re-run a previous algorithm which was set to
output to a temporary file, it no longer tries to use that same
previous temporary path and instead generates a new one.
2019-01-25 23:27:08 +11:00
Nyall Dawson
db3b9aeb6b
Revert "[processing] hide 'select file' button for vector layers when there are dependent params"
...
This reverts commit f2044528951bbb09a70b9c696d79d8cd5b756214.
It's a contentious fix, which needs discussion
2019-01-23 17:30:47 +10:00
volaya
eb47288fac
[processing] correctly set output styles for models
...
fixes #20573
2019-01-23 08:02:19 +01:00
volaya
f204452895
[processing] hide 'select file' button for vector layers when there are dependent params
...
fixes #21055
2019-01-23 08:02:18 +01:00
Alexander Bruy
37f14f8b3f
add value changed signal for extent parameter widget wrapper
2018-12-30 06:44:09 +02:00
Alessandro Pasotti
40fb2ce93d
Drop the ugly hack in favor of sourceFlags
2018-12-21 13:20:41 +01:00
Alessandro Pasotti
f4d7506e73
Processing in-place do not check validity when fixing geometries
...
Fixes #20812
2018-12-21 11:47:36 +01:00
Peter Petrik
9ce7e54fb1
allow selection of file paths for mesh layers [processings] ( #8702 )
...
allow selection of file paths for mesh layers
2018-12-20 15:04:02 +01:00
Peter Petrik
e71660215c
[processing] add QgsProcessingParameterMeshLayer parameter
2018-12-17 11:50:53 +01:00
Nyall Dawson
9c1653f00a
[processing] Fix exception on launching refactor fields
...
(The logic with parameter widget_wrapper metadata is very gross -
but there's nothing we can do about it till 4.0!)
Fixes #20707
2018-12-05 04:47:55 +10:00
volaya
e546129f5c
[processing] fixed update of MultipleInputPanel after alg is run
...
Fixes #20670
2018-11-30 09:17:07 +01:00
Nyall Dawson
59d2c5301f
[processing] Fix exception when parameter metadata is set to extend inbuilt wrapper type
2018-11-30 05:02:59 +10:00
Nyall Dawson
f10b62c380
[processing] Fix crash on closing batch processing dialog
...
Refs #20650
2018-11-29 10:57:07 +10:00
Nyall Dawson
d207251251
[processing] Fix run as batch mode doesn't execute
...
Fixes #20650
2018-11-29 10:57:07 +10:00
Nyall Dawson
2c425c7bf0
Fix unit test
2018-11-23 20:32:16 +11:00
Nyall Dawson
0e928e8191
[processing] Correctly set parent widgets for algorithm dialogs
...
to avoid dialogs immediately going out of scope and being garbage
collected
2018-11-23 20:32:16 +11:00
Nyall Dawson
2617fd56f7
Fix context going out of scope
2018-11-23 20:32:16 +11:00
Nyall Dawson
6fff62e668
Fix confusing override of accept method for non-dialog acceptance
2018-11-23 20:32:16 +11:00
Håvard Tveite
ce313755d7
GDAL extractreprojection missing from the raster menu
...
This was missed in #8378 .
2018-11-18 08:59:24 +10:00
Nyall Dawson
0d5a8ddd8e
[processing] Fix exceptions due to closed algorithm dialogs when
...
opened from toolbox and closed before task completes
2018-10-29 10:49:46 +10:00
Borys Jurgiel
d0813a8822
Introduce QgsGui::HigFlags and don't capitalize menu entries and dialog titles in languages other than English. Fixes #19724
2018-10-25 18:11:36 +10:00