5575 Commits

Author SHA1 Message Date
nirvn
7cb15c08b9 Optimize extract nodes algorithm 2017-11-13 12:13:30 +07:00
Juergen E. Fischer
150a64e9ac fix warnings and translation strings 2017-11-12 21:57:15 +01:00
Even Rouault
8c6e029688
Merge pull request #5601 from rouault/unblacklist_PyQgsDBManagerGpkg
Fix DBManager + PyQgsDBManagerGpkg and unblack list it for Travis-CI
2017-11-10 22:37:45 +01:00
Even Rouault
95feb87d3b Fix DBManager + PyQgsDBManagerGpkg and unblack list it for Travis-CI 2017-11-10 22:02:19 +01:00
Nyall Dawson
fb205b1aec
Merge pull request #5589 from nyalldawson/remote_proc_exp
[processing] Remove expression buttons from parameters outside modeler
2017-11-11 07:00:16 +11:00
Nyall Dawson
2ed2248827 [processing] Add option whether to load batch output layers on completion
By always trying to load all layers, we severely limit the usefulness
of batch processing. E.g. try clipping 200 layers - and then
get ready to punch something as you wait for all the results to load.
2017-11-10 17:00:24 +10:00
Nyall Dawson
3fc90301a9 [processing] Only load layers when absolutely required
This change avoids holding onto resources and layers from earlier iterations,
and allows batch processing of many more items then is possible
if we hold on to these layers
2017-11-10 17:00:24 +10:00
Alexander Bruy
30cefca19e
Merge pull request #5593 from nyalldawson/batch_rows
[processing] Change min rows in batch processing to 1
2017-11-10 08:35:00 +02:00
Alexander Bruy
9b85e5b7f5
Merge pull request #5592 from nyalldawson/batch
[processing] Fixes for batch processing
2017-11-10 08:34:37 +02:00
Alexander Bruy
019a4d2a78
Merge pull request #5155 from alexbruy/processing-saga
[processing] port SAGA to new API
2017-11-10 08:34:08 +02:00
Nyall Dawson
bd9945ffe3 [processing] Change min rows in batch processing to 1
While no-one is likely to use the batch dialog to run a single
operation, it's a bit unexpected to see two empty rows, which
can't be removed, when first opening this dialog
2017-11-10 13:48:54 +10:00
Nyall Dawson
feacb76300 Fix python error 2017-11-10 13:43:50 +10:00
Nyall Dawson
08b189df89 Fix error when double clicking destination param in batch dialog 2017-11-10 13:40:50 +10:00
Nyall Dawson
feb66d2cd8 Fix saving/load batch processing models 2017-11-10 13:22:49 +10:00
Nyall Dawson
8526a2dd3f Remember last used folder for processing batch save/load
Fixes #16310
2017-11-10 13:17:01 +10:00
Nyall Dawson
9bac962a9e Fix batch processing progress bar never hits 100%, also fix fragile
cursor handling
2017-11-10 11:33:58 +10:00
Nyall Dawson
797437823c [processing] Fix cannot resize columns in batch dialog
Fixes #17227
2017-11-10 11:25:11 +10:00
Nyall Dawson
a23f315f39 Fix duplicate 'all files' entry in batch input file selection dialog 2017-11-10 11:23:19 +10:00
Nyall Dawson
612f51601a [processing] Remove expression buttons from parameters outside modeler
Since these expressions were only evaluated immediately, it led to
confusing behavior for users who were expecting that the expression
would be applied per-feature.

Given that expressions can be directly entered into spin boxes, we already
have a way of users evaluating simple calculations for numeric
parameters at least.

I don't think there's a strong enough use case for needing to
calculate string results to leave the confusing expression builder
option in place.

This should be re-evaluated when we add UI support for dynamic
parameters (which are already supported in the backend), where
expressions are evaluated per-feature.

Fixes #17267
2017-11-10 10:42:25 +10:00
Even Rouault
3d9ca40f4e [DB Manager / GPKG] Remove GDAL 1.x support 2017-11-09 19:18:34 +01:00
Alexander Bruy
bd0b499810 add misssed import after rebase 2017-11-09 20:15:30 +02:00
Even Rouault
4eed39b63c [DB Manager / GPKG] Fix COMMIT with GDAL 2 (fix #16174) 2017-11-09 19:11:33 +01:00
Alexander Bruy
713dc970d8 disable SAGA test until we have SAGA support on Travis 2017-11-09 18:58:19 +02:00
Alexander Bruy
4b63975eaf [processing] tests for SAGA provider and related fixes 2017-11-09 18:56:44 +02:00
Alexander Bruy
057ab170da [processing] fix input rasters check 2017-11-09 18:56:44 +02:00
Alexander Bruy
13610f6440 [processing] adopt to changes in extensions handling 2017-11-09 18:56:44 +02:00
Alexander Bruy
dc9f868e08 [processing] fix not initialized variable 2017-11-09 18:56:44 +02:00
Alexander Bruy
1b6b6cdb45 [processing] fix integer numbers handling 2017-11-09 18:56:44 +02:00
Alexander Bruy
2b218cc2b0 [processing] more raster handling fixes in SAGA provider 2017-11-09 18:56:44 +02:00
Alexander Bruy
3822efa7a5 [processing] fix rasters handling in checkParameterValues() 2017-11-09 18:56:44 +02:00
Alexander Bruy
b4214798e9 [processing] infrastructure for SAGA tests 2017-11-09 18:56:44 +02:00
Nyall Dawson
8d91f1f1eb Restore more saga functionality 2017-11-09 18:56:44 +02:00
Nyall Dawson
9ba414394d Convert SAGA ParameterTableField parameters 2017-11-09 18:56:44 +02:00
Nyall Dawson
7953936c90 Update SAGA ParameterMultipleInput parameters 2017-11-09 18:56:19 +02:00
Nyall Dawson
d9ac3772fd Update SAGA ParameterTable parameters 2017-11-09 18:56:01 +02:00
Nyall Dawson
4ac6847bc7 Update SAGA ParameterVector params 2017-11-09 18:55:41 +02:00
Nyall Dawson
6ef4557b2b Update SAGA ParameterSelection parameters 2017-11-09 18:55:12 +02:00
Nyall Dawson
ca0b7a2639 Fix SAGA boolean parameters 2017-11-09 18:54:44 +02:00
Nyall Dawson
178708590d More followups to SAGA raster parameter handling 2017-11-09 18:54:13 +02:00
Nyall Dawson
1fc395b4fa GeoAlgorithmExecutionException -> QgsProcessingException 2017-11-09 18:54:13 +02:00
Nyall Dawson
65faf542e0 Fix excepthook handling in standalone scripts 2017-11-09 18:54:13 +02:00
Nyall Dawson
85b8502444 Fix parsing of saga params 2017-11-09 18:54:13 +02:00
Nyall Dawson
b928cc61fb Update SAGA RasterOuput params 2017-11-09 18:53:02 +02:00
Nyall Dawson
640891ee58 Update SAGA ParameterNumber params 2017-11-09 18:53:02 +02:00
Nyall Dawson
a1300f3d5b Update SAGA ParameterRaster params 2017-11-09 18:53:02 +02:00
Nyall Dawson
eca9bdc3d5 Start porting saga algorithm base to new API 2017-11-09 18:53:02 +02:00
Nyall Dawson
7ad764d625 Fix bad strings in saga description file 2017-11-09 18:53:02 +02:00
Nyall Dawson
571a5ca5f8 Start bringing back saga algs - split RGB bands 2017-11-09 18:53:02 +02:00
Nyall Dawson
ba62ffce2c Make constructors for QgsVectorLayer and QgsRasterLayer more flexible
...by moving extra arguments to new LayerOptions structs. This allows
us to more easily add new layer constructor options without making
the API cumbersome to use.
2017-11-09 14:28:51 +11:00
Nyall Dawson
cab807dc30
Merge pull request #5426 from medspx/ProcessingPortGrass72
[Processing] Port GRASS 7.2 algorithm provider
2017-11-09 06:42:38 +10:00