5591 Commits

Author SHA1 Message Date
Nyall Dawson
d0c2a41c6c Fix error when running postgis algs 2017-11-16 13:38:42 +10:00
Salvatore Larosa
f1c3692f6a [dbmanager] Fixes #16533 and #16506 2017-11-15 18:26:21 +01:00
Nyall Dawson
75885d70d5 Rename various WKT/WKB/GeoJSON/GML methods for consistency
and consistent capitalisation
2017-11-15 20:51:05 +10:00
Alessandro Pasotti
0c2e226efe
Merge pull request #5633 from slarosa/fix_17466
Fixes #17466: DB Manager does not refresh correctly map in layer preview
2017-11-15 10:57:02 +01:00
Salvatore Larosa
5a4ace10e9 [dbmanager] defines correctly super class 2017-11-15 08:30:58 +01:00
Alexander Bruy
b95588cf58
Merge pull request #5603 from medspx/ProcessingGrassFixDescR
[processing] GRASS7 provider: review and update all r.* description files.
2017-11-15 08:31:49 +02:00
matteo
c321700ada [processing] test for union algorithm 2017-11-15 11:27:30 +11:00
matteo
2d188e95cd processing Union fix 2017-11-15 11:27:30 +11:00
Nyall Dawson
b0c13da854 Fix exception in find projection algorithm 2017-11-15 11:27:30 +11:00
Salvatore Larosa
5d8963a4a8 Fixes #17466: DB Manager does not refresh correctly map in layer preview 2017-11-14 22:46:58 +01:00
Nyall Dawson
fc6c69bedf Fix calculation of distance to vertex for multi part, multi ring
and curved geometries
2017-11-14 21:52:28 +11:00
Alexander Bruy
662c2cf801
another typo 2017-11-14 08:39:25 +02:00
Alexander Bruy
c65ed15db8
Fix typo 2017-11-14 08:38:24 +02:00
nirvn
b7d05829ce try to make travis happy 2017-11-13 17:36:36 +07:00
nirvn
66b27dcd50 Use vertex iterator 2017-11-13 17:12:57 +07:00
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
Médéric RIBREUX
c3b97827df Review all r.* description files 2017-11-11 14:31:58 +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