Nyall Dawson
414c3a4bfe
Fix unavailable layer inputs for multi-layer inputs set to any map layer type
2018-02-11 11:00:49 +10:00
Nyall Dawson
54a99c27a3
[processing] Add multi layer outputs to Package Layers and Vector Split algorithms
2018-02-11 11:00:33 +10:00
Nyall Dawson
4bcc9df5b4
[processing] Add explicit output type for multiple layers
...
This was a missing capability in the processing API - while algorithms
could declare multiple layer input parameters, there was no corresponding
multi-layer output. This meant that algorithms (such as Package Layers,
Vector Split) which create a set of layers which cannot be determined
in advance had no way to pass these generated layers on for further model
processing steps.
It's also useful for algorithms which operate on a specified folder,
processing all layers found there, and allowing these generated
outputs to be utilised in other model steps (e.g. packaging
all of them, merging them, etc)
2018-02-11 10:57:44 +10:00
Juergen E. Fischer
9302613f28
fix #18066
2018-02-09 09:38:04 +01:00
Alexander Bruy
603d2e6364
Merge pull request #6293 from alexbruy/processing-enums
...
[processing] allow enums values to be used in description files
2018-02-09 09:08:05 +02:00
Alexander Bruy
90cc17b934
Merge pull request #6298 from nyalldawson/fix_17231
...
[processing] Allow providers to return a different helpId() vs their unique id()
2018-02-09 09:07:37 +02:00
nirvn
bcb68dda54
[processing] fix batch input selection panel for multiple layers parameter
2018-02-09 14:05:26 +07:00
nirvn
9562b9dad2
[processing] only pass needed raster entries in QgsRasterCalculator constructor
2018-02-09 14:05:26 +07:00
nirvn
e27847d383
[processing] make output crs optional in the raster calculator
2018-02-09 14:05:26 +07:00
nirvn
c4874b3161
[processing] use feedback object in raster calculator
2018-02-09 14:05:26 +07:00
nirvn
2ed225d5f4
[processing] ressurect raster calculator and add CRS parameter
2018-02-09 14:05:26 +07:00
Nyall Dawson
2d1e9188f1
[processing] Allow providers to return a different helpId() vs
...
their unique id()
This is used when generating the QgsHelp url for algorithms
attached to the providers.
Implement helpId overrides for the native and 3d providers so
that they return 'qgis' helpIds, meaning that all QGIS processing
algorithm documentation can be kept within the same url path
regardless of which QGIS provider library it sits within.
This also allows us to freely move algorithms from the Python
'qgis' provider to c++ 'native' provider in future releases
without breaking the help URLs.
Fixes #17231
2018-02-09 11:26:03 +10:00
Alexander Bruy
068d74d51a
[processing] allow enums values to be used in description files
2018-02-08 17:22:20 +02:00
Alexander Bruy
fcb50a6857
Revert "[processing] throw error if no layers selected in raster calculator"
...
This reverts commit c09c3018035eb7a4f47acbde7f3dae405ba444db.
2018-02-08 13:25:20 +02:00
Alexander Bruy
c12884cc6b
[processing] remove obsolete script tests
2018-02-06 19:25:48 +02:00
Alexander Bruy
23a5dd3197
[processing] fix file permissions
2018-02-06 19:25:48 +02:00
Denis Rouzaud
3205c96af6
Merge pull request #6275 from 3nids/messagelevel
...
unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
2018-02-06 05:28:17 -09:00
Denis Rouzaud
3dc3d9d1b2
unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
...
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Denis Rouzaud
9389be83c6
[processing] search also show children in config
2018-02-06 08:36:46 -04:00
Denis Rouzaud
3b17d5a784
processing search: also search in group items and fix return value
2018-02-05 09:31:57 -04:00
Nyall Dawson
c8d1d2d588
Fix hang in options search widget
2018-02-05 08:51:47 -04:00
Denis Rouzaud
8d55cadeb7
Allow adding custom highlight widget to custom pages in option
2018-02-05 08:51:47 -04:00
Alexander Bruy
567ebb9dd0
[processing] fixes after rebasing
2018-02-05 08:53:52 +02:00
Alexander Bruy
15a185dab0
[processing] turn keep n biggest parts script into normal algorithm
2018-02-05 08:50:44 +02:00
Alexander Bruy
54167bcaa6
fix indentation
2018-02-05 08:50:44 +02:00
Alexander Bruy
4f2a4644db
[processing] remove obsolete code and disable exporting models as script
...
until we update it so support new scripts format
2018-02-05 08:50:44 +02:00
Alexander Bruy
fa5ab81a2a
[processing] scripts also can be feature-based algorithms
2018-02-05 08:50:37 +02:00
Alexander Bruy
cd7bb16ad5
[processing] class name is not needed anymore to load scripts
2018-02-05 08:50:37 +02:00
Alexander Bruy
5ad3af592f
[processing] remove tests for old scripts
2018-02-05 08:50:37 +02:00
Alexander Bruy
f5f0399171
[processing] use custom editor class, as QgsCodeEditor is not available
...
on some platforms
2018-02-05 08:50:37 +02:00
Alexander Bruy
e1a64f6a8f
[processing] remove unused files
2018-02-05 08:50:37 +02:00
Alexander Bruy
724390c7df
[processing] completely restore support for script execution from editor
2018-02-05 08:50:37 +02:00
Alexander Bruy
263702e1f0
[processing] ressurect script execution from editor (work in progress)
2018-02-05 08:50:37 +02:00
Alexander Bruy
53ff800ff8
[processing] temporarily disable fetch actions for scripts and models
2018-02-05 08:50:37 +02:00
Alexander Bruy
472b8bf6bf
[processing] ressurect 'new script' action
2018-02-05 08:49:59 +02:00
Alexander Bruy
7115e044e3
[processing] ressurect 'add from file' action
2018-02-05 08:49:59 +02:00
Alexander Bruy
b747a6b50c
[processing] ressurect delete and edit actions for scripts
2018-02-05 08:49:59 +02:00
Alexander Bruy
422d804db1
[processing] update script provider to use QgsProcessingAlgorithm
...
subclasses instead of custom script code
2018-02-05 08:49:59 +02:00
Alexander Bruy
aee3b44909
[processing] remove not needed trAction method
2018-02-05 08:49:41 +02:00
Alexander Bruy
862b1139fa
[processing] move script provider stuff into provider directory
2018-02-05 08:49:29 +02:00
Alexander Bruy
6841c52210
Merge pull request #6257 from alexbruy/processing-sharing
...
[processing][needs-docs] remove Get scripts and models functionality
2018-02-05 08:48:00 +02:00
Nyall Dawson
5ba69ea945
[processing] Fix invalid parameter definitions for spatialite algs
2018-02-05 10:11:03 +10:00
Alexander Bruy
87e55ba3c7
[processing] remove Get scripts and models functionality
...
Users should use Resource Sharing plugin instead
2018-02-04 11:11:47 +02:00
Salvatore Larosa
68b7bf6aa8
[dbmanager] porting of dae921c to 3: fixes #16476
2018-02-03 10:53:55 +01:00
Alexander Bruy
55759a4cee
[processing] remove unused icons and use SVG icon for Heatmap algorithm
2018-02-01 07:22:12 +02:00
Alexander Bruy
3ab6e5c399
Merge pull request #6238 from alexbruy/saga-icon
...
[processing] SVG icon for SAGA provider
2018-02-01 07:18:01 +02:00
Nyall Dawson
216821c0b1
[processing] Warn on duplicate output and provider registration
...
And fix associated memory leaks
2018-02-01 13:02:59 +11:00
Nyall Dawson
2218f653ca
[processing][grass] Remove duplicate parameter from r.stats
2018-02-01 07:53:54 +11:00
Nyall Dawson
5896fb3305
[processing][grass] Fix incorrect name for i.albedo parameter
2018-02-01 07:53:54 +11:00
Alexander Bruy
c3fc560fef
[processing] SVG icon for SAGA provider
2018-01-31 16:14:32 +02:00